Changeset 5457 in ntrip for trunk/GnssCenter/monitor
- Timestamp:
- Sep 15, 2013, 10:12:32 AM (11 years ago)
- Location:
- trunk/GnssCenter/monitor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/monitor/monitor.cpp
r5456 r5457 69 69 connect(_actStopThrift, SIGNAL(triggered()), this, SLOT(slotStopThrift())); 70 70 71 // Host and Port72 // ------------ -73 t_settings settings(pluginName);71 // Window title 72 // ------------ 73 setTitle(); 74 74 75 75 // Thrift Client; … … 92 92 } 93 93 94 // Set title 95 ///////////////////////////////////////////////////////////////////////////// 96 void t_monitor::setTitle() { 97 t_settings settings(pluginName); 98 QString host = settings.value("host").toString(); 99 QString port = settings.value("port").toString(); 100 setWindowTitle(QString(pluginName) + ": " + host + ':' + port); 101 } 102 94 103 // 95 104 ///////////////////////////////////////////////////////////////////////////// … … 97 106 t_dlgConf dlg(this); 98 107 dlg.exec(); 108 setTitle(); 99 109 } 100 110 -
trunk/GnssCenter/monitor/monitor.h
r5456 r5457 31 31 32 32 private: 33 void setTitle(); 33 34 QMutex _mutex; 34 35 QTabWidget* _tabWidget;
Note:
See TracChangeset
for help on using the changeset viewer.