UIGChooser::UIGChooser(QWidget *pParent) : QWidget(pParent) , m_pMainLayout(0) , m_pChooserModel(0) , m_pChooserView(0) , m_pStatusBar(0) { /* Prepare palette: */ preparePalette(); /* Prepare layout: */ prepareLayout(); /* Prepare model: */ prepareModel(); /* Prepare view: */ prepareView(); /* Prepare connections: */ prepareConnections(); /* Load: */ load(); }
Application::Application() { auto app = Gtk::Application::create("org.domag"); builder = std::make_unique<Builder>(); prepareView(); auto addContainerMenuItem = builder->getAddTopLevelContainerMenuItem(); addContainerMenuItem->signal_activate().connect(sigc::mem_fun(*this, &Application::openNewContainerDialog)); app->run(*builder->getMainWindow()); }
MainWindow::MainWindow(QWidget *parent) :QMainWindow(parent), m_ui(new Ui::MainWindow){ readIni(); m_bTCPErr=true; m_userCntr=new UserDBController(this,m_strDBPath,m_strDBHost); prepareView(); prepareSiSlo(); prepareUsersData(); startListenTcp(); prepareTbl(); }
void Dialog::showView() { prepareView(); QWidget * w = asQWidget(); if (w->isVisible()) { w->raise(); w->activateWindow(); } else w->show(); if (wantInitialFocus()) w->setFocus(); else { lyxview_->raise(); lyxview_->activateWindow(); lyxview_->setFocus(); } }
UIGRuntimeInformation::UIGRuntimeInformation(QWidget *pParent) : QWidget(pParent) , m_pMainLayout(0) , m_pDetailsModel(0) , m_pDetailsView(0) { /* Prepare palette: */ preparePalette(); /* Prepare layout: */ prepareLayout(); /* Prepare model: */ prepareModel(); /* Prepare view: */ prepareView(); /* Prepare connections: */ prepareConnections(); }