Changeset 5464 in ntrip
- Timestamp:
- Sep 15, 2013, 10:56:29 AM (11 years ago)
- Location:
- trunk/GnssCenter/monitor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/monitor/dlgconf.cpp
r5463 r5464 36 36 37 37 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 39 43 QHBoxLayout* buttonLayout = new QHBoxLayout; 40 44 buttonLayout->addWidget(cancelButton); … … 58 62 } 59 63 64 // Accept (virtual slot) 65 ///////////////////////////////////////////////////////////////////////////// 66 void t_dlgConf::accept() { 67 qDebug() << "accept hovno"; 68 } 69 -
trunk/GnssCenter/monitor/dlgconf.h
r5461 r5464 12 12 t_dlgConf(QWidget* parent); 13 13 ~t_dlgConf(); 14 public slots: 15 virtual void accept(); 14 16 private: 15 17 QLineEdit* _hostLineEdit;
Note:
See TracChangeset
for help on using the changeset viewer.