MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow), plotArea(new Ui::PlotArea) { ui->setupUi(this); this->setWindowTitle("likwid-fe"); connect(ui->selectAppButton, SIGNAL(clicked()), this, SLOT(selectApp())); connect(ui->runAppButton, SIGNAL(clicked()), this, SLOT(runApp())); /* create render area */ }
void VisAEExtProgramAdd::initSignSlots(){ connect(m_btnOk ,SIGNAL(clicked()),this,SLOT(accptPressed())); connect(m_btnCancel ,SIGNAL(clicked()),this,SLOT(reject())); connect(m_btnCheckFile ,SIGNAL(clicked()),this,SLOT(selectApp())); }