Changeset 5464 in ntrip


Ignore:
Timestamp:
Sep 15, 2013, 10:56:29 AM (8 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/monitor
Files:
2 edited

Legend:

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

    r5463 r5464  
    3636
    3737  QPushButton* cancelButton = new QPushButton("Cancel", this);
    38   QPushButton* okButton     = new QPushButton("OK", this);
     38  connect(cancelButton, SIGNAL(clicked()), this, SLOT(reject()));
     39
     40  QPushButton* okButton = new QPushButton("OK", this);
     41  connect(okButton, SIGNAL(clicked()), this, SLOT(accept()));
     42
    3943  QHBoxLayout* buttonLayout = new QHBoxLayout;
    4044  buttonLayout->addWidget(cancelButton);
     
    5862}
    5963
     64// Accept (virtual slot)
     65/////////////////////////////////////////////////////////////////////////////
     66void t_dlgConf::accept() {
     67  qDebug() << "accept hovno";
     68}
     69
  • trunk/GnssCenter/monitor/dlgconf.h

    r5461 r5464  
    1212  t_dlgConf(QWidget* parent);
    1313  ~t_dlgConf();
     14 public slots:
     15  virtual void accept();
    1416 private:
    1517  QLineEdit* _hostLineEdit;
Note: See TracChangeset for help on using the changeset viewer.