Changeset 5455 in ntrip
- Timestamp:
- Sep 15, 2013, 9:58:01 AM (11 years ago)
- Location:
- trunk/GnssCenter/monitor
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/monitor/dlgconf.cpp
r5454 r5455 24 24 // Constructor 25 25 ///////////////////////////////////////////////////////////////////////////// 26 t_dlgConf::t_dlgConf( ) : QDialog() {26 t_dlgConf::t_dlgConf(QWidget* parent) : QDialog(parent) { 27 27 } 28 28 -
trunk/GnssCenter/monitor/dlgconf.h
r5454 r5455 9 9 Q_OBJECT 10 10 public: 11 t_dlgConf( );11 t_dlgConf(QWidget* parent); 12 12 ~t_dlgConf(); 13 13 private: -
trunk/GnssCenter/monitor/monitor.cpp
r5453 r5455 29 29 30 30 #include "monitor.h" 31 #include "dlgconf.h" 31 32 #include "utils.h" 32 33 #include "worldplot.h" … … 56 57 addToolBar(Qt::BottomToolBarArea, toolBar); 57 58 58 QAction* actStartThrift = new QAction("Start Thrift", 0);59 toolBar->addAction( actStartThrift);60 connect( actStartThrift, SIGNAL(triggered()), this, SLOT(slotStartThrift()));59 _actConfig = new QAction("Config", 0); 60 toolBar->addAction(_actConfig); 61 connect(_actConfig, SIGNAL(triggered()), this, SLOT(slotConfig())); 61 62 62 QAction* actStopThrift = new QAction("Stop Thrift", 0); 63 toolBar->addAction(actStopThrift); 64 connect(actStopThrift, SIGNAL(triggered()), this, SLOT(slotStopThrift())); 63 _actStartThrift = new QAction("Start", 0); 64 toolBar->addAction(_actStartThrift); 65 connect(_actStartThrift, SIGNAL(triggered()), this, SLOT(slotStartThrift())); 66 67 _actStopThrift = new QAction("Stop", 0); 68 toolBar->addAction(_actStopThrift); 69 connect(_actStopThrift, SIGNAL(triggered()), this, SLOT(slotStopThrift())); 65 70 66 71 // Host and Port … … 88 93 delete _results; 89 94 } 95 } 96 97 // 98 ///////////////////////////////////////////////////////////////////////////// 99 void t_monitor::slotConfig() { 100 t_dlgConf dlg(this); 101 dlg.exec(); 90 102 } 91 103 -
trunk/GnssCenter/monitor/monitor.h
r5452 r5455 25 25 26 26 private slots: 27 void slotConfig(); 27 28 void slotStartThrift(); 28 29 void slotStopThrift(); … … 33 34 QMutex _mutex; 34 35 QTabWidget* _tabWidget; 36 QAction* _actConfig; 37 QAction* _actStartThrift; 38 QAction* _actStopThrift; 35 39 t_worldPlot* _plot; 36 40 t_thriftClient* _thriftClient;
Note:
See TracChangeset
for help on using the changeset viewer.