Changeset 143 in ntrip


Ignore:
Timestamp:
Sep 8, 2006, 7:16:45 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r142 r143  
    2828  int ww = QFontMetrics(this->font()).width('w');
    2929
    30   setMinimumSize(90*ww, 80*ww);
     30  setMinimumSize(60*ww, 80*ww);
    3131
    3232  // Create Actions
     
    121121  _rnxSamplSpinBox->setValue(settings.value("rnxSampl").toInt());
    122122  _rnxSamplSpinBox->setSuffix(" sec");
     123  _logFileLineEdit    = new QLineEdit(settings.value("logFile").toString());
    123124  _mountPointsTable   = new QTableWidget(0,3);
    124   _mountPointsTable->setMinimumWidth(60*ww);
    125   _mountPointsTable->setMaximumHeight(20*ww);
    126125  _mountPointsTable->horizontalHeader()->setResizeMode(QHeaderView::Stretch);
    127126  _mountPointsTable->horizontalHeader()->hide();
     
    166165
    167166  _log = new QTextEdit();
    168   _log->setMaximumHeight(120);
    169167  _log->setReadOnly(true);
    170168
     
    173171  layout->addWidget(new QLabel("Proxy port"),                    0, 2);
    174172  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);
    176175  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);
    178178  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);
    180181  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);
    182184  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);
    184187  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);
    186190  layout->addWidget(_rnxIntrComboBox,                            6, 2);
    187 
    188   layout->addWidget(new QLabel("sampling"),                      6, 3);
     191  layout->addWidget(new QLabel("Sampling"),                      6, 3);
    189192  layout->addWidget(_rnxSamplSpinBox,                            6, 4);
    190193
    191 
    192   layout->addWidget(new QLabel("RINEX skeleton extension"),      7, 1);
     194  layout->addWidget(new QLabel("RINEX skeleton extension"),      7, 0, 1, 2);
    193195  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);
    198203
    199204  _bncCaster = 0;
     
    303308  settings.setValue("rnxSampl",    _rnxSamplSpinBox->value());
    304309  settings.setValue("rnxSkel",     _rnxSkelLineEdit->text());
     310  settings.setValue("logFile",     _logFileLineEdit->text());
    305311
    306312  QStringList mountPoints;
  • trunk/BNC/bncwindow.h

    r135 r143  
    5353    QLineEdit* _rnxSkelLineEdit;
    5454    QLineEdit* _rnxScrpLineEdit;
     55    QLineEdit* _logFileLineEdit;
    5556    QComboBox* _rnxIntrComboBox;
    5657    QSpinBox*  _rnxSamplSpinBox;
Note: See TracChangeset for help on using the changeset viewer.