- Timestamp:
- Jul 30, 2014, 11:22:10 AM (10 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppwidgets.cpp
r5702 r5703 68 68 _sigmaL1 = new QLineEdit(); _sigmaL1 ->setObjectName("PPP/sigmaL1"); _widgets << _sigmaL1; 69 69 _corrWaitTime = new QSpinBox(); _corrWaitTime->setObjectName("PPP/corrWaitTime"); _widgets << _corrWaitTime; 70 _addStaButton = new QPushButton("Add Station"); _widgets << _addStaButton; 71 _delStaButton = new QPushButton("Delete Station"); _widgets << _delStaButton; 70 72 71 73 _dataSource->setEditable(false); … … 89 91 90 92 _staTable->setColumnCount(9); 91 _staTable->setRowCount( 10);93 _staTable->setRowCount(0); 92 94 _staTable->setHorizontalHeaderLabels( 93 95 QString("Station,Sigma N,Sigma E,Sigma H,Noise N,Noise E,Noise H,Tropo Sigma,Tropo Noise").split(",")); 94 96 _staTable->setSelectionMode(QAbstractItemView::ExtendedSelection); 97 _staTable->setSelectionBehavior(QAbstractItemView::SelectRows); 98 _staTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive); 99 /// _staTable->horizontalHeader()->setStretchLastSection(true); 100 _staTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft); 101 102 connect(_addStaButton, SIGNAL(clicked()), this, SLOT(slotAddStation())); 103 connect(_delStaButton, SIGNAL(clicked()), this, SLOT(slotDelStation())); 95 104 96 105 readOptions(); … … 200 209 } 201 210 } 211 212 // 213 //////////////////////////////////////////////////////////////////////////// 214 void t_pppWidgets::slotAddStation() { 215 216 } 217 218 // 219 //////////////////////////////////////////////////////////////////////////// 220 void t_pppWidgets::slotDelStation() { 221 222 } -
trunk/BNC/src/PPP/pppwidgets.h
r5701 r5703 54 54 QLineEdit* _sigmaL1; 55 55 QSpinBox* _corrWaitTime; 56 QPushButton* _addStaButton; 57 QPushButton* _delStaButton; 56 58 57 59 private slots: 58 60 void slotEnableWidgets(); 61 void slotAddStation(); 62 void slotDelStation(); 59 63 60 64 private:
Note:
See TracChangeset
for help on using the changeset viewer.