Changeset 4337 in ntrip for trunk/BNC/src/rinex/graphwin.cpp
- Timestamp:
- Jun 24, 2012, 11:12:20 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/graphwin.cpp
r4330 r4337 59 59 // Buttons 60 60 // ------- 61 _button OK = new QPushButton(tr("OK"), this);62 _button OK->setMaximumWidth(10*ww);63 connect(_button OK, SIGNAL(clicked()), this, SLOT(slotOK()));61 _buttonClose = new QPushButton(tr("Close"), this); 62 _buttonClose->setMaximumWidth(10*ww); 63 connect(_buttonClose, SIGNAL(clicked()), this, SLOT(slotClose())); 64 64 65 65 // Color Scale … … 91 91 92 92 QHBoxLayout* buttonLayout = new QHBoxLayout; 93 buttonLayout->addWidget(_button OK);93 buttonLayout->addWidget(_buttonClose); 94 94 95 95 QVBoxLayout* mainLayout = new QVBoxLayout(this); … … 101 101 //////////////////////////////////////////////////////////////////////////// 102 102 t_graphWin::~t_graphWin() { 103 delete _buttonOK;104 103 } 105 104 106 105 // Accept the Options 107 106 //////////////////////////////////////////////////////////////////////////// 108 void t_graphWin::slot OK() {107 void t_graphWin::slotClose() { 109 108 done(0); 110 109 }
Note:
See TracChangeset
for help on using the changeset viewer.