/******************************************************************************* * Gui.cc DataLogger Gui * T.Barnaby, BEAM Ltd, 2005-09-29 ******************************************************************************* */ #include #include #include #include Gui::Gui(Control& control) : ocontrol(control){ } Gui::~Gui(){ } BError Gui::init(int argc, char** argv){ BError err; oapp = new QApplication(argc,argv); oappGui = new TmsControlMainWin(ocontrol); oapp->setMainWidget(oappGui); oappGui->init("tmsControlGui"); oappGui->show(); return err; } void Gui::run(){ oapp->exec(); }