Changeset 199 in ntrip for trunk/BNC/bncwindow.cpp
- Timestamp:
- Oct 5, 2006, 5:32:52 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r189 r199 31 31 32 32 int ww = QFontMetrics(this->font()).width('w'); 33 34 static const QStringList labels = QString("account,mountpoint," 35 "decoder,bytes").split(","); 33 36 34 37 setMinimumSize(60*ww, 80*ww); … … 118 121 _rnxIntrComboBox->setMaximumWidth(9*ww); 119 122 _rnxIntrComboBox->setEditable(false); 120 _rnxIntrComboBox->addItems(QString(" 15min,1 hour,1 day").split(","));123 _rnxIntrComboBox->addItems(QString("5 min,10 min,15 min,30 min,1 hour,1 day").split(",")); 121 124 int ii = _rnxIntrComboBox->findText(settings.value("rnxIntr").toString()); 122 125 if (ii != -1) { … … 132 135 _logFileLineEdit = new QLineEdit(settings.value("logFile").toString()); 133 136 _mountPointsTable = new QTableWidget(0,4); 134 _mountPointsTable->horizontalHeader()->setResizeMode(QHeaderView::Stretch); 135 _mountPointsTable->horizontalHeader()->hide(); 137 _mountPointsTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive); 138 _mountPointsTable->setHorizontalHeaderLabels(labels); 139 // _mountPointsTable->horizontalHeader()->hide(); 136 140 _mountPointsTable->verticalHeader()->hide(); 137 141 _mountPointsTable->setGridStyle(Qt::NoPen); … … 180 184 _log->setReadOnly(true); 181 185 182 layout->addWidget(new QLabel("Proxy host"), 0, 0 );183 layout->addWidget(_proxyHostLineEdit, 0, 1);184 layout->addWidget(new QLabel("Proxy port"), 0, 2);185 layout->addWidget(_proxyPortLineEdit, 0, 3);186 layout->addWidget(new QLabel("Proxy host"), 0, 0, 1, 2); 187 layout->addWidget(_proxyHostLineEdit, 0, 2); 188 layout->addWidget(new QLabel("Proxy port"), 0, 3); 189 layout->addWidget(_proxyPortLineEdit, 0, 4); 186 190 187 191 layout->addWidget(new QLabel("Wait for full epoch"), 1, 0, 1, 2); … … 194 198 layout->addWidget(_outPortLineEdit, 3, 2); 195 199 196 layout->addWidget(new QLabel("RINEX path"),4, 0, 1, 2);200 layout->addWidget(new QLabel("RINEX directory path"), 4, 0, 1, 2); 197 201 layout->addWidget(_rnxPathLineEdit, 4, 2, 1, 3); 198 202 … … 211 215 layout->addWidget(_mountPointsTable, 9, 0, 1, 5); 212 216 213 layout->addWidget(new QLabel("Log (full path)"),10, 0, 1, 2);217 layout->addWidget(new QLabel("Log file (full path)"), 10, 0, 1, 2); 214 218 layout->addWidget(_logFileLineEdit, 10, 2, 1, 3); 215 219 layout->addWidget(_log, 11, 0, 1, 5);
Note:
See TracChangeset
for help on using the changeset viewer.