Changeset 3828 in ntrip
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnc.pro
r3826 r3828 2 2 # Switch to debug configuration 3 3 # ----------------------------- 4 CONFIG -= debug5 CONFIG += release4 CONFIG -= release 5 CONFIG += debug 6 6 7 7 -
trunk/BNC/teqcdlg.cpp
r3745 r3828 105 105 connect(_buttonWhatsThis, SIGNAL(clicked()), this, SLOT(slotWhatsThis())); 106 106 107 _buttonOK = new QPushButton(tr("OK "), this);107 _buttonOK = new QPushButton(tr("OK / Save"), this); 108 108 connect(_buttonOK, SIGNAL(clicked()), this, SLOT(slotOK())); 109 109 … … 133 133 //////////////////////////////////////////////////////////////////////////// 134 134 void teqcDlg::slotOK() { 135 135 // saveOptions(); 136 done(0); 136 137 } 137 138 … … 141 142 QWhatsThis::enterWhatsThisMode(); 142 143 } 144 145 // Close Dialog gracefully 146 //////////////////////////////////////////////////////////////////////////// 147 void teqcDlg::closeEvent(QCloseEvent* event) { 148 149 int iRet = QMessageBox::question(this, "Close", "Save Options?", 150 QMessageBox::Yes, QMessageBox::No, 151 QMessageBox::Cancel); 152 153 if (iRet == QMessageBox::Cancel) { 154 event->ignore(); 155 return; 156 } 157 else if (iRet == QMessageBox::Yes) { 158 // saveOptions(); 159 } 160 161 QDialog::closeEvent(event); 162 } -
trunk/BNC/teqcdlg.h
r3743 r3828 45 45 void slotWhatsThis(); 46 46 47 protected: 48 virtual void closeEvent(QCloseEvent *); 49 47 50 private: 48 51 QComboBox* _teqcRnxVersion;
Note:
See TracChangeset
for help on using the changeset viewer.