ProgramMain::ProgramMain() {
ui.setupUi(this);
ui.zipField->setText("");
readSettings(); //read previously saved QSettings
//connect form item signals to slots that arent in the UI file here:
connect( ui.execButton, SIGNAL( clicked() ), this, SLOT( popupLogin() ) );
connect(ui.dataSrc, SIGNAL(activated(int)), ui.srcStack, SLOT(setCurrentIndex(int)));
connect(ui.dataDest, SIGNAL(activated(int)), ui.destStack, SLOT(setCurrentIndex(int)));
connect(ui.csvDestbrowse, SIGNAL( clicked() ), this, SLOT( setOpenFileName() ) );
}
ProgramMain::ProgramMain() {
ui.setupUi(this);
ui.zipField->setText("");
readSettings(); //read previously saved QSettings
//connect form item signals to slots that arent in the UI file here:
connect( ui.execButton, SIGNAL( clicked() ), this, SLOT( popupLogin() ) );
connect(ui.dataSrc, SIGNAL(activated(int)), ui.srcStack, SLOT(setCurrentIndex(int)));
connect(ui.dataDest, SIGNAL(activated(int)), ui.destStack, SLOT(setCurrentIndex(int)));
connect(ui.csvDestbrowse, SIGNAL( clicked() ), this, SLOT( setOpenFileName() ) );
}
To copy to clipboard, switch view to plain text mode
Bookmarks