- Timestamp:
- Sep 8, 2006, 7:16:45 PM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r142 r143 28 28 int ww = QFontMetrics(this->font()).width('w'); 29 29 30 setMinimumSize( 90*ww, 80*ww);30 setMinimumSize(60*ww, 80*ww); 31 31 32 32 // Create Actions … … 121 121 _rnxSamplSpinBox->setValue(settings.value("rnxSampl").toInt()); 122 122 _rnxSamplSpinBox->setSuffix(" sec"); 123 _logFileLineEdit = new QLineEdit(settings.value("logFile").toString()); 123 124 _mountPointsTable = new QTableWidget(0,3); 124 _mountPointsTable->setMinimumWidth(60*ww);125 _mountPointsTable->setMaximumHeight(20*ww);126 125 _mountPointsTable->horizontalHeader()->setResizeMode(QHeaderView::Stretch); 127 126 _mountPointsTable->horizontalHeader()->hide(); … … 166 165 167 166 _log = new QTextEdit(); 168 _log->setMaximumHeight(120);169 167 _log->setReadOnly(true); 170 168 … … 173 171 layout->addWidget(new QLabel("Proxy port"), 0, 2); 174 172 layout->addWidget(_proxyPortLineEdit, 0, 3); 175 layout->addWidget(new QLabel("Wait for full epoch"), 1, 1); 173 174 layout->addWidget(new QLabel("Wait for full epoch"), 1, 0, 1, 2); 176 175 layout->addWidget(_waitTimeSpinBox, 1, 2); 177 layout->addWidget(new QLabel("ASCII output file (full path)"), 2, 1); 176 177 layout->addWidget(new QLabel("ASCII output file (full path)"), 2, 0, 1, 2); 178 178 layout->addWidget(_outFileLineEdit, 2, 2, 1, 3); 179 layout->addWidget(new QLabel("port for binary output"), 3, 1); 179 180 layout->addWidget(new QLabel("Port for binary output"), 3, 0, 1, 2); 180 181 layout->addWidget(_outPortLineEdit, 3, 2); 181 layout->addWidget(new QLabel("RINEX path"), 4, 1); 182 183 layout->addWidget(new QLabel("RINEX path"), 4, 0, 1, 2); 182 184 layout->addWidget(_rnxPathLineEdit, 4, 2, 1, 3); 183 layout->addWidget(new QLabel("RINEX script (full path)"), 5, 1); 185 186 layout->addWidget(new QLabel("RINEX script (full path)"), 5, 0, 1, 2); 184 187 layout->addWidget(_rnxScrpLineEdit, 5, 2, 1, 3); 185 layout->addWidget(new QLabel("RINEX file interval"), 6, 1); 188 189 layout->addWidget(new QLabel("RINEX file interval"), 6, 0, 1, 2); 186 190 layout->addWidget(_rnxIntrComboBox, 6, 2); 187 188 layout->addWidget(new QLabel("sampling"), 6, 3); 191 layout->addWidget(new QLabel("Sampling"), 6, 3); 189 192 layout->addWidget(_rnxSamplSpinBox, 6, 4); 190 193 191 192 layout->addWidget(new QLabel("RINEX skeleton extension"), 7, 1); 194 layout->addWidget(new QLabel("RINEX skeleton extension"), 7, 0, 1, 2); 193 195 layout->addWidget(_rnxSkelLineEdit, 7, 2); 194 layout->addWidget(new QLabel("Mountpoints"), 8, 0); 195 layout->addWidget(_mountPointsTable, 8, 1, 1, 4); 196 layout->addWidget(new QLabel("Log"), 9, 0); 197 layout->addWidget(_log, 9, 1, 1, 4); 196 197 layout->addWidget(new QLabel("Mountpoints"), 8, 0, 1, 2); 198 layout->addWidget(_mountPointsTable, 9, 0, 1, 5); 199 200 layout->addWidget(new QLabel("Log (full path)"), 10, 0, 1, 2); 201 layout->addWidget(_logFileLineEdit, 10, 2, 1, 3); 202 layout->addWidget(_log, 11, 0, 1, 5); 198 203 199 204 _bncCaster = 0; … … 303 308 settings.setValue("rnxSampl", _rnxSamplSpinBox->value()); 304 309 settings.setValue("rnxSkel", _rnxSkelLineEdit->text()); 310 settings.setValue("logFile", _logFileLineEdit->text()); 305 311 306 312 QStringList mountPoints; -
trunk/BNC/bncwindow.h
r135 r143 53 53 QLineEdit* _rnxSkelLineEdit; 54 54 QLineEdit* _rnxScrpLineEdit; 55 QLineEdit* _logFileLineEdit; 55 56 QComboBox* _rnxIntrComboBox; 56 57 QSpinBox* _rnxSamplSpinBox;
Note:
See TracChangeset
for help on using the changeset viewer.