Changeset 977 in ntrip for trunk/BNS/bnswindow.cpp


Ignore:
Timestamp:
Jul 26, 2008, 1:15:04 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnswindow.cpp

    r969 r977  
    138138  _ephPortLineEdit  = new QLineEdit(settings.value("ephPort").toString());
    139139  _ephPortLineEdit->setWhatsThis(tr("BNS reads Broadcast Ephemeris in RINEX Version 3 Navigation file format from an IP address. Specify the IP port e.g. of a BNC installation providing this information."));
    140   _ephProxyCheckBox  = new QCheckBox();
    141   _ephProxyCheckBox->setCheckState(Qt::CheckState(settings.value("ephProxy").toInt()));
    142   _ephProxyCheckBox->setWhatsThis(tr("If a proxy server is operated between BNS and the server providing Broadcast Ephemeris, you may need to use the proxy server settings you have specified. Tick 'Use proxy' to activate them for stream access."));
    143140  _ephPortLineEdit->setMaximumWidth(9*ww);
    144141
     
    147144  _clkPortLineEdit  = new QLineEdit(settings.value("clkPort").toString());
    148145  _clkPortLineEdit->setWhatsThis(tr("BNS reads Clocks & Orbits referring to the IGS system (X,Y,Z, ECEF) in plain ASCII format from an IP address. Specify the IP port e.g. of a RTNet installation providing this information."));
    149   _clkProxyCheckBox  = new QCheckBox();
    150   _clkProxyCheckBox->setCheckState(Qt::CheckState(settings.value("clkProxy").toInt()));
    151   _clkProxyCheckBox->setWhatsThis(tr("If a proxy server is operated between BNS and the server providing Clocks & Orbits, you may need to use the proxy server settings you have specified. Tick 'Use proxy' to activate them for stream access."));
    152146  _clkFileLineEdit    = new QLineEdit(settings.value("clkFile").toString());
    153147  _clkFileLineEdit->setWhatsThis(tr("Specify the full path to a file where incoming IGS Clocks & Orbits are saved. Beware that the size of this file can rapidly increase. Default is an empty option field meaning that incoming Clocks & Orbits corrections are not saved."));
     
    166160  _passwordLineEdit->setMaximumWidth(9*ww);
    167161  _passwordLineEdit->setEchoMode(QLineEdit::Password);
    168   _outProxyCheckBox  = new QCheckBox();
    169   _outProxyCheckBox->setCheckState(Qt::CheckState(settings.value("outProxy").toInt()));
    170   _outProxyCheckBox->setWhatsThis(tr("If a proxy server is operated between BNS and the NTRIP Broadcaster, you may need to use the proxy server settings you have specified. Tick 'Use proxy' to activate them for stream upload."));
    171162  _outFileLineEdit    = new QLineEdit(settings.value("outFile").toString());
    172163  _outFileLineEdit->setWhatsThis(tr("Specify the full path to a file where outgoing clock and orbit corrections to Broadcast Ephemeris are saved. Beware that the size of this file can rapidly increase. Default is an empty option field meaning that outgoing corrections are not saved."));
     
    267258  layout_inp->addWidget(new QLabel("Port"),            0, 3, Qt::AlignLeft);
    268259  layout_inp->addWidget(_ephPortLineEdit,              0, 4);
    269   layout_inp->addWidget(new QLabel("Use proxy"),       0, 5, Qt::AlignLeft);
    270   layout_inp->addWidget(_ephProxyCheckBox,             0, 6);
    271260  layout_inp->addWidget(new QLabel("Clocks & Orbits"), 1, 0, Qt::AlignLeft);
    272261  layout_inp->addWidget(new QLabel("Host"),            1, 1, Qt::AlignRight);
     
    274263  layout_inp->addWidget(new QLabel("Port"),            1, 3, Qt::AlignLeft);
    275264  layout_inp->addWidget(_clkPortLineEdit,              1, 4);
    276   layout_inp->addWidget(new QLabel("Use proxy"),       1, 5, Qt::AlignLeft);
    277   layout_inp->addWidget(_clkProxyCheckBox,             1, 6);
    278265  layout_inp->addWidget(new QLabel("Save Clocks & Orbits"), 2, 0, Qt::AlignLeft);
    279266  layout_inp->addWidget(new QLabel("(full path)"), 2, 1, Qt::AlignRight);
     
    300287  layout_cas->addWidget(new QLabel("Password"),   1, 3, Qt::AlignLeft);
    301288  layout_cas->addWidget(_passwordLineEdit,        1, 4);
    302   layout_cas->addWidget(new QLabel("Use proxy"),  2, 0, Qt::AlignLeft);
    303   layout_cas->addWidget(_outProxyCheckBox,        2, 1);
    304   layout_cas->addWidget(new QLabel("Save stream (full path)"), 3, 0, Qt::AlignLeft);
    305   layout_cas->addWidget(_outFileLineEdit,         3, 1);
     289  layout_cas->addWidget(new QLabel("Save stream (full path)"), 2, 0, Qt::AlignLeft);
     290  layout_cas->addWidget(_outFileLineEdit,         2, 1);
    306291  layout_cas->addWidget(new QLabel("Stream upload of clock and orbit corrections to NTRIP broadcaster."),4, 0, 1, 2, Qt::AlignLeft);
    307292
     
    457442  settings.setValue("ephHost",    _ephHostLineEdit->text());
    458443  settings.setValue("ephPort",    _ephPortLineEdit->text());
    459   settings.setValue("ephProxy",   _ephProxyCheckBox->checkState());
    460444  settings.setValue("clkHost",    _clkHostLineEdit->text());
    461445  settings.setValue("clkPort",    _clkPortLineEdit->text());
    462   settings.setValue("clkProxy",   _clkProxyCheckBox->checkState());
    463446  settings.setValue("clkFile",    _clkFileLineEdit->text());
    464447  settings.setValue("outHost",    _outHostLineEdit->text());
    465448  settings.setValue("outPort",    _outPortLineEdit->text());
    466   settings.setValue("outProxy",   _outProxyCheckBox->checkState());
    467449  settings.setValue("mountpoint", _mountpointLineEdit->text());
    468450  settings.setValue("outFile",    _outFileLineEdit->text());
Note: See TracChangeset for help on using the changeset viewer.