Exemplo n.º 1
0
MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent) {
    createObjects();
    createUI();
    createConnects();
    resize(800,600);
}
Exemplo n.º 2
0
ScreenShoter::ScreenShoter(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::ScreenShoter)
{
    ui->setupUi(this);
    createWidgets();
    createConnects();
    createEventFilter();
}
Exemplo n.º 3
0
Widget::Widget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Widget)
{
    ui->setupUi(this);
    createWidgets();
    createConnects();
    createEventFilter();
}
Exemplo n.º 4
0
void
MainWindow::init()
{
	makeUI();
	createActions();
	createConnects();
	setStatusBar(statusBar());
	attachWidget();
}
Exemplo n.º 5
0
tab::tab(QWidget *parent, ConfigManager *configM, QAction *cloudAction, MyWebPage *page):  QWidget(parent)
{
    configLoader = configM;
    webPage = page;
    this->cloudAction = cloudAction;

    createUi();
    createSettings();
    createConnects();
}
Exemplo n.º 6
0
void
MainWindow::init()
{
	makeUI();
	createActions();
	createConnects();
	createToolbars();

//	attachAllWidget();

}
Exemplo n.º 7
0
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());
}
Exemplo n.º 8
0
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
}
Exemplo n.º 9
0
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();

}
Exemplo n.º 10
0
void
MainWindow::init()
{
	displayDocklist
	<<"ECH_Status"
	<<"ECH_Fault_List"
	<<"ECH_NIDAQcontrol"
	<<"";

	passWord
	<<""
	<<""
	<<""
	<<"";

	makeUI();
	createActions();
	createConnects();
	registerPushButtonsEvent();
	attachAllWidget();
   	tabWidget->setCurrentIndex(0);

	setIndex(0);
}