Changeset 5455 in ntrip


Ignore:
Timestamp:
Sep 15, 2013, 9:58:01 AM (11 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/monitor
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/monitor/dlgconf.cpp

    r5454 r5455  
    2424// Constructor
    2525/////////////////////////////////////////////////////////////////////////////
    26 t_dlgConf::t_dlgConf() : QDialog() {
     26t_dlgConf::t_dlgConf(QWidget* parent) : QDialog(parent) {
    2727}
    2828
  • trunk/GnssCenter/monitor/dlgconf.h

    r5454 r5455  
    99 Q_OBJECT
    1010 public:
    11   t_dlgConf();
     11  t_dlgConf(QWidget* parent);
    1212  ~t_dlgConf();
    1313 private:
  • trunk/GnssCenter/monitor/monitor.cpp

    r5453 r5455  
    2929
    3030#include "monitor.h"
     31#include "dlgconf.h"
    3132#include "utils.h"
    3233#include "worldplot.h"
     
    5657  addToolBar(Qt::BottomToolBarArea, toolBar);
    5758
    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()));
    6162
    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()));
    6570
    6671  // Host and Port
     
    8893    delete _results;
    8994  }
     95}
     96
     97//
     98/////////////////////////////////////////////////////////////////////////////
     99void t_monitor::slotConfig() {
     100  t_dlgConf dlg(this);
     101  dlg.exec();
    90102}
    91103
  • trunk/GnssCenter/monitor/monitor.h

    r5452 r5455  
    2525
    2626 private slots:
     27  void slotConfig();
    2728  void slotStartThrift();
    2829  void slotStopThrift();
     
    3334  QMutex                        _mutex;
    3435  QTabWidget*                   _tabWidget;
     36  QAction*                      _actConfig;
     37  QAction*                      _actStartThrift;
     38  QAction*                      _actStopThrift;
    3539  t_worldPlot*                  _plot;
    3640  t_thriftClient*               _thriftClient;
Note: See TracChangeset for help on using the changeset viewer.