void MultiTrackPlotter::setColor( const QColor & color ) { for (int idx = 0; idx < m_channel_count; ++idx) { setChannelColor(idx, color); } }
); connect( ui->channelList, SIGNAL(currentTextChanged(QString)), this, SLOT(channelPortChanged(QString)) ); connect( ui->horizontalScrollBar, SIGNAL(valueChanged(int)), this, SLOT(scrollData(int))); connect( ui->label, SIGNAL(newSize(QSize)), this, SLOT(labelResized()) ); connect( ui->addChannel, SIGNAL(clicked()), this, SLOT(addChannel()) ); connect( ui->deleteChannel, SIGNAL(clicked()), this, SLOT(deleteChannel())); connect( ui->channelEnable, SIGNAL(toggled(bool)), this, SLOT(toggleChannel())); connect( ui->channelSetColor, SIGNAL(clicked()), this, SLOT(setChannelColor()) ); connect( ui->snifferStart, SIGNAL(clicked()), this, SLOT(startSniffingButt()) ); connect( ui->retrStart, SIGNAL(clicked()), this, SLOT(startRetranslatingButt()) ); connect( ui->parserEditDummy, SIGNAL(gotFocus()), this, SLOT(dummyParseLineEditClicked()) ); connect( ui->showPreprocessedButt,SIGNAL(clicked()), this, SLOT(showPreprocessed()) ); connect( ui->parserSetButt, SIGNAL(clicked()), this, SLOT(setParser()) ); connect( ui->parserSetReparseButt,SIGNAL(clicked()), this, SLOT(setParserAndReparse()) ); connect( ui->hideParseEditButt, SIGNAL(clicked()), this, SLOT(parseEditorClosed()) ); connect( &sorter, SIGNAL(gotByte(timestamped_data)), &data_holder, SLOT(receiveByte(timestamped_data)) ); addTestData(); ui->expandedParserCont->hide();