Changeset 845 in ntrip


Ignore:
Timestamp:
Apr 25, 2008, 10:21:50 AM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnswindow.cpp

    r844 r845  
    131131  _outFileLineEdit    = new QLineEdit(settings.value("outFile").toString());
    132132
     133  _rnxPathLineEdit = new QLineEdit;
     134  _rnxIntrComboBox = new QComboBox;
     135  _rnxSamplSpinBox = new QSpinBox;
     136
     137  _sp3PathLineEdit = new QLineEdit;
     138  _sp3IntrComboBox = new QComboBox;
     139  _sp3SamplSpinBox = new QSpinBox;
     140
    133141  // TabWidget
    134142  // ---------
     
    138146  // ----------------------
    139147  QWidget* tab_bas = new QWidget();
    140   tabs->addTab(tab_bas, "Basic");
     148  tabs->addTab(tab_bas, "Basic Options");
    141149
    142150  QGridLayout* layout_bas = new QGridLayout;
    143   layout_bas->addWidget(new QLabel("Input Ports"),  0, 0, Qt::AlignLeft);
     151  layout_bas->setColumnMinimumWidth(2, 9*ww);
     152
     153  layout_bas->addWidget(new QLabel("Input Ports"),  0, 0, 1, 2);
     154  layout_bas->addWidget(new QLabel("Output Files"), 0, 3, 1, 2);
    144155  layout_bas->addWidget(new QLabel("Ephemeris"),    1, 0, Qt::AlignLeft);
    145156  layout_bas->addWidget(_ephPortLineEdit,           1, 1);
     157  layout_bas->addWidget(new QLabel("Log"),          1, 3, Qt::AlignLeft);
     158  layout_bas->addWidget(_logFileLineEdit,           1, 4);
    146159  layout_bas->addWidget(new QLabel("Clocks"),       2, 0, Qt::AlignLeft);
    147160  layout_bas->addWidget(_clkPortLineEdit,           2, 1);
    148   layout_bas->setColumnMinimumWidth(2, 9*ww);
    149   layout_bas->addWidget(new QLabel("Output Files"), 0, 3, Qt::AlignLeft);
    150   layout_bas->addWidget(new QLabel("Log"),          1, 3, Qt::AlignLeft);
    151   layout_bas->addWidget(_logFileLineEdit,           1, 4);
    152161  layout_bas->addWidget(new QLabel("Data"),         2, 3, Qt::AlignLeft);
    153   layout_bas->addWidget(_outFileLineEdit, 2, 4);
    154   layout_bas->addWidget(new QLabel(""), 3, 0);
    155   layout_bas->addWidget(new QLabel(""), 4, 0);
    156   layout_bas->addWidget(new QLabel(""), 5, 0);
     162  layout_bas->addWidget(_outFileLineEdit,           2, 4);
     163  layout_bas->addWidget(new QLabel(""),             3, 0);
     164  layout_bas->addWidget(new QLabel(""),             4, 0);
     165  layout_bas->addWidget(new QLabel(""),             5, 0);
    157166
    158167  tab_bas->setLayout(layout_bas);
     
    161170  // ----------------
    162171  QWidget* tab_cas = new QWidget();
    163   tabs->addTab(tab_cas, "Caster");
     172  tabs->addTab(tab_cas, "NTRIP Caster");
    164173
    165174  QGridLayout* layout_cas = new QGridLayout;
     175  layout_cas->setColumnMinimumWidth(2, 9*ww);
     176
    166177  layout_cas->addWidget(new QLabel(""),           0, 0);
    167178  layout_cas->addWidget(new QLabel("Host"),       1, 0, Qt::AlignLeft);
    168179  layout_cas->addWidget(_outHostLineEdit,         1, 1);
     180  layout_cas->addWidget(new QLabel("Port"),       1, 3, Qt::AlignLeft);
     181  layout_cas->addWidget(_outPortLineEdit,         1, 4);
    169182  layout_cas->addWidget(new QLabel("Mountpoint"), 2, 0, Qt::AlignLeft);
    170183  layout_cas->addWidget(_mountpointLineEdit,      2, 1);
    171   layout_cas->setColumnMinimumWidth(2, 9*ww);
    172   layout_cas->addWidget(new QLabel("Port"),       1, 3, Qt::AlignLeft);
    173   layout_cas->addWidget(_outPortLineEdit,         1, 4);
    174184  layout_cas->addWidget(new QLabel("Password"),   2, 3, Qt::AlignLeft);
    175185  layout_cas->addWidget(_passwordLineEdit,        2, 4);
     
    179189
    180190  tab_cas->setLayout(layout_cas);
     191
     192  // RINEX and SP3 Tab
     193  // -----------------
     194  QWidget* tab_rin = new QWidget();
     195  tabs->addTab(tab_rin, "RINEX and SP3");
     196
     197  QGridLayout* layout_rin = new QGridLayout;
     198
     199  layout_rin->addWidget(new QLabel("Clocks in RINEX Format"),  0, 0, 1, 4);
     200  layout_rin->addWidget(new QLabel("Directory"),               1, 0);
     201  layout_rin->addWidget(_rnxPathLineEdit,                      1, 1, 1, 3);
     202  layout_rin->addWidget(new QLabel("Interval"),                2, 0);
     203  layout_rin->addWidget(_rnxIntrComboBox,                      2, 1);
     204  layout_rin->addWidget(new QLabel("Sampling"),                2, 2, Qt::AlignRight);
     205  layout_rin->addWidget(_rnxSamplSpinBox,                      2, 3, Qt::AlignLeft);
     206  layout_rin->addWidget(new QLabel(""),                        3, 0);
     207  layout_rin->addWidget(new QLabel("Ephemeris in SP3 Format"), 4, 0, 1, 4);
     208  layout_rin->addWidget(new QLabel("Directory"),               5, 0);
     209  layout_rin->addWidget(_sp3PathLineEdit,                      5, 1, 1, 3);
     210  layout_rin->addWidget(new QLabel("Interval"),                6, 0);
     211  layout_rin->addWidget(_sp3IntrComboBox,                      6, 1);
     212  layout_rin->addWidget(new QLabel("Sampling"),                6, 2, Qt::AlignRight);
     213  layout_rin->addWidget(_sp3SamplSpinBox,                      6, 3, Qt::AlignLeft);
     214
     215  tab_rin->setLayout(layout_rin);
    181216
    182217  // Log
  • trunk/BNS/bnswindow.h

    r814 r845  
    6464  QLineEdit* _passwordLineEdit;
    6565  QLineEdit* _outFileLineEdit;
     66  QLineEdit* _rnxPathLineEdit;
     67  QLineEdit* _sp3PathLineEdit;
     68  QComboBox* _rnxIntrComboBox;
     69  QComboBox* _sp3IntrComboBox;
     70  QSpinBox*  _rnxSamplSpinBox;
     71  QSpinBox*  _sp3SamplSpinBox;
    6672
    6773  QTextEdit*  _log;
Note: See TracChangeset for help on using the changeset viewer.