MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { createObjects(); createUI(); createConnects(); resize(800,600); }
ScreenShoter::ScreenShoter(QWidget *parent) : QWidget(parent), ui(new Ui::ScreenShoter) { ui->setupUi(this); createWidgets(); createConnects(); createEventFilter(); }
Widget::Widget(QWidget *parent) : QWidget(parent), ui(new Ui::Widget) { ui->setupUi(this); createWidgets(); createConnects(); createEventFilter(); }
void MainWindow::init() { makeUI(); createActions(); createConnects(); setStatusBar(statusBar()); attachWidget(); }
tab::tab(QWidget *parent, ConfigManager *configM, QAction *cloudAction, MyWebPage *page): QWidget(parent) { configLoader = configM; webPage = page; this->cloudAction = cloudAction; createUi(); createSettings(); createConnects(); }
void MainWindow::init() { makeUI(); createActions(); createConnects(); createToolbars(); // attachAllWidget(); }
void MainWindow::init() { makeUI(); createActions(); createConnects(); createToolbars(); //setStatusBar(statusBar()); #if 0 QMainWindow *qm = new QMainWindow(); qm = (QMainWindow *) stackedWidget->currentWidget(); setStatusBar(qm->statusBar()); #endif setStatusBar(((QMainWindow *) stackedWidget->currentWidget())->statusBar()); }
void MainWindow::init() { displayDocklist<<"PMS_In_Board_Archive"<<"PMS_Out_Board_Archive"; //page1index = page2index = 0; makeUI(); createConnects(); registerPushButtonsEvent(); #if 1 attachAllWidget(); setDefaultIndex(0) ; connectToArchiver(); #endif }
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow), about(new AboutDialog(this)) { ui->setupUi(this); createActions(); // create action for tray createTrayIcon(); // add actionts to tray menu createConnects(); // moved func trIcon->show(); //display tray /// moved to center desktop QRect rect = QApplication::desktop()->availableGeometry(this); this->move(rect.width() / 2 - this->width() / 2, rect.height() / 2 - this->height() / 2); /// maximized // this->showMaximized(); // debug(); }
void MainWindow::init() { displayDocklist <<"ECH_Status" <<"ECH_Fault_List" <<"ECH_NIDAQcontrol" <<""; passWord <<"" <<"" <<"" <<""; makeUI(); createActions(); createConnects(); registerPushButtonsEvent(); attachAllWidget(); tabWidget->setCurrentIndex(0); setIndex(0); }