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


Ignore:
Timestamp:
Mar 2, 2010, 4:49:46 PM (14 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnswindow.cpp

    r2348 r2349  
    276276  _CoM_6_CheckBox->setCheckState(Qt::CheckState(settings.value("CoM_6").toInt()));
    277277
     278  // Broadcast Corrections VII Options
     279  // ---------------------------------
     280  _outHost_7_LineEdit    = new QLineEdit(settings.value("outHost7").toString());
     281  _outPort_7_LineEdit    = new QLineEdit(settings.value("outPort7").toString());
     282  _password_7_LineEdit   = new QLineEdit(settings.value("password7").toString());
     283  _password_7_LineEdit->setEchoMode(QLineEdit::Password);
     284  _mountpoint_7_LineEdit = new QLineEdit(settings.value("mountpoint_7").toString());
     285  _refSys_7_ComboBox = new QComboBox;
     286  _refSys_7_ComboBox->setEditable(false);
     287  _refSys_7_ComboBox->addItems(QString("IGS05,ETRF2000,NAD83,GDA94,SIRGAS2000,Custom").split(","));
     288  ii = _refSys_7_ComboBox->findText(settings.value("refSys_7").toString());
     289  if (ii != -1) {
     290    _refSys_7_ComboBox->setCurrentIndex(ii);
     291  }
     292  _outFile_7_LineEdit    = new QLineEdit(settings.value("outFile_7").toString());
     293  _CoM_7_CheckBox  = new QCheckBox();
     294  _CoM_7_CheckBox->setCheckState(Qt::CheckState(settings.value("CoM_7").toInt()));
     295
     296  // Broadcast Corrections VIII Options
     297  // --------------------------------
     298  _outHost_8_LineEdit    = new QLineEdit(settings.value("outHost8").toString());
     299  _outPort_8_LineEdit    = new QLineEdit(settings.value("outPort8").toString());
     300  _password_8_LineEdit   = new QLineEdit(settings.value("password8").toString());
     301  _password_8_LineEdit->setEchoMode(QLineEdit::Password);
     302  _mountpoint_8_LineEdit = new QLineEdit(settings.value("mountpoint_8").toString());
     303  _refSys_8_ComboBox = new QComboBox;
     304  _refSys_8_ComboBox->setEditable(false);
     305  _refSys_8_ComboBox->addItems(QString("IGS05,ETRF2000,NAD83,GDA94,SIRGAS2000,Custom").split(","));
     306  ii = _refSys_8_ComboBox->findText(settings.value("refSys_8").toString());
     307  if (ii != -1) {
     308    _refSys_8_ComboBox->setCurrentIndex(ii);
     309  }
     310  _outFile_8_LineEdit    = new QLineEdit(settings.value("outFile_8").toString());
     311  _CoM_8_CheckBox  = new QCheckBox();
     312  _CoM_8_CheckBox->setCheckState(Qt::CheckState(settings.value("CoM_8").toInt()));
     313
     314  // Broadcast Corrections IX Options
     315  // --------------------------------
     316  _outHost_9_LineEdit    = new QLineEdit(settings.value("outHost9").toString());
     317  _outPort_9_LineEdit    = new QLineEdit(settings.value("outPort9").toString());
     318  _password_9_LineEdit   = new QLineEdit(settings.value("password9").toString());
     319  _password_9_LineEdit->setEchoMode(QLineEdit::Password);
     320  _mountpoint_9_LineEdit = new QLineEdit(settings.value("mountpoint_9").toString());
     321  _refSys_9_ComboBox = new QComboBox;
     322  _refSys_9_ComboBox->setEditable(false);
     323  _refSys_9_ComboBox->addItems(QString("IGS05,ETRF2000,NAD83,GDA94,SIRGAS2000,Custom").split(","));
     324  ii = _refSys_9_ComboBox->findText(settings.value("refSys_9").toString());
     325  if (ii != -1) {
     326    _refSys_9_ComboBox->setCurrentIndex(ii);
     327  }
     328  _outFile_9_LineEdit    = new QLineEdit(settings.value("outFile_9").toString());
     329  _CoM_9_CheckBox  = new QCheckBox();
     330  _CoM_9_CheckBox->setCheckState(Qt::CheckState(settings.value("CoM_9").toInt()));
     331
     332  // Broadcast Corrections X Options
     333  // -------------------------------
     334  _outHost_10_LineEdit    = new QLineEdit(settings.value("outHost10").toString());
     335  _outPort_10_LineEdit    = new QLineEdit(settings.value("outPort10").toString());
     336  _password_10_LineEdit   = new QLineEdit(settings.value("password10").toString());
     337  _password_10_LineEdit->setEchoMode(QLineEdit::Password);
     338  _mountpoint_10_LineEdit = new QLineEdit(settings.value("mountpoint_10").toString());
     339  _refSys_10_ComboBox = new QComboBox;
     340  _refSys_10_ComboBox->setEditable(false);
     341  _refSys_10_ComboBox->addItems(QString("IGS05,ETRF2000,NAD83,GDA94,SIRGAS2000,Custom").split(","));
     342  ii = _refSys_10_ComboBox->findText(settings.value("refSys_10").toString());
     343  if (ii != -1) {
     344    _refSys_10_ComboBox->setCurrentIndex(ii);
     345  }
     346  _outFile_10_LineEdit    = new QLineEdit(settings.value("outFile_10").toString());
     347  _CoM_10_CheckBox  = new QCheckBox();
     348  _CoM_10_CheckBox->setCheckState(Qt::CheckState(settings.value("CoM_10").toInt()));
     349
    278350  // Broadcast Ephemerides
    279351  // ---------------------
     
    360432  _outFile_3_LineEdit->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."));
    361433
    362   _outHost_4_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit Corrections to Broadcast Ephemeris (Broadcast Corrections) in RTCM Version 4 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections."));
     434  _outHost_4_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit Corrections to Broadcast Ephemeris (Broadcast Corrections) in RTCM Version 3 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections."));
    363435  _outPort_4_LineEdit->setWhatsThis(tr("Specify the IP port of an NTRIP Broadcaster to upload the stream. Default is port 80."));
    364436  _mountpoint_4_LineEdit->setWhatsThis(tr("Specify the mounpoint for stream upload to an NTRIP Broadcaster."));
     
    374446  _outFile_5_LineEdit->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."));
    375447
    376   _outHost_6_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit Corrections to Broadcast Ephemeris (Broadcast Corrections) in RTCM Version 6 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections."));
     448
     449  _outHost_6_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit Corrections to Broadcast Ephemeris (Broadcast Corrections) in RTCM Version 3 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections."));
    377450  _outPort_6_LineEdit->setWhatsThis(tr("Specify the IP port of an NTRIP Broadcaster to upload the stream. Default is port 80."));
    378451  _mountpoint_6_LineEdit->setWhatsThis(tr("Specify the mounpoint for stream upload to an NTRIP Broadcaster."));
     
    380453  _refSys_6_ComboBox->setWhatsThis(tr("Select the target reference system for outgoing clock and orbit corrections."));
    381454  _outFile_6_LineEdit->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."));
     455
     456  _outHost_7_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit Corrections to Broadcast Ephemeris (Broadcast Corrections) in RTCM Version 3 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections."));
     457  _outPort_7_LineEdit->setWhatsThis(tr("Specify the IP port of an NTRIP Broadcaster to upload the stream. Default is port 80."));
     458  _mountpoint_7_LineEdit->setWhatsThis(tr("Specify the mounpoint for stream upload to an NTRIP Broadcaster."));
     459  _password_7_LineEdit->setWhatsThis(tr("Specify the stream upload password protecting the mounpoint on an NTRIP Broadcaster."));
     460  _refSys_7_ComboBox->setWhatsThis(tr("Select the target reference system for outgoing clock and orbit corrections."));
     461  _outFile_7_LineEdit->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."));
     462
     463  _outHost_8_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit Corrections to Broadcast Ephemeris (Broadcast Corrections) in RTCM Version 3 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections."));
     464  _outPort_8_LineEdit->setWhatsThis(tr("Specify the IP port of an NTRIP Broadcaster to upload the stream. Default is port 80."));
     465  _mountpoint_8_LineEdit->setWhatsThis(tr("Specify the mounpoint for stream upload to an NTRIP Broadcaster."));
     466  _password_8_LineEdit->setWhatsThis(tr("Specify the stream upload password protecting the mounpoint on an NTRIP Broadcaster."));
     467  _refSys_8_ComboBox->setWhatsThis(tr("Select the target reference system for outgoing clock and orbit corrections."));
     468  _outFile_8_LineEdit->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."));
     469
     470  _outHost_9_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit Corrections to Broadcast Ephemeris (Broadcast Corrections) in RTCM Version 3 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections."));
     471  _outPort_9_LineEdit->setWhatsThis(tr("Specify the IP port of an NTRIP Broadcaster to upload the stream. Default is port 80."));
     472  _mountpoint_9_LineEdit->setWhatsThis(tr("Specify the mounpoint for stream upload to an NTRIP Broadcaster."));
     473  _password_9_LineEdit->setWhatsThis(tr("Specify the stream upload password protecting the mounpoint on an NTRIP Broadcaster."));
     474  _refSys_9_ComboBox->setWhatsThis(tr("Select the target reference system for outgoing clock and orbit corrections."));
     475  _outFile_9_LineEdit->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."));
     476
     477  _outHost_10_LineEdit->setWhatsThis(tr("BNS can stream clock and orbit Corrections to Broadcast Ephemeris (Broadcast Corrections) in RTCM Version 3 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload corrections."));
     478  _outPort_10_LineEdit->setWhatsThis(tr("Specify the IP port of an NTRIP Broadcaster to upload the stream. Default is port 80."));
     479  _mountpoint_10_LineEdit->setWhatsThis(tr("Specify the mounpoint for stream upload to an NTRIP Broadcaster."));
     480  _password_10_LineEdit->setWhatsThis(tr("Specify the stream upload password protecting the mounpoint on an NTRIP Broadcaster."));
     481  _refSys_10_ComboBox->setWhatsThis(tr("Select the target reference system for outgoing clock and orbit corrections."));
     482  _outFile_10_LineEdit->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."));
    382483
    383484  _outHost_Eph_LineEdit->setWhatsThis(tr("BNS can upload a Broadcast Ephemeris stream in RTCM Version 3 format. Specify the host IP of an NTRIP Broadcaster to upload the stream. An empty option field means that you don't want to upload Broadcast Ephemeris."));
     
    724825          this, SLOT(slotBnsTextChanged()));
    725826
     827  // Broadcast Corrections VII Tab
     828  // -----------------------------
     829  QWidget* tab_cas7 = new QWidget();
     830  tabs->addTab(tab_cas7, "BC VII");
     831
     832  QGridLayout* layout_cas7 = new QGridLayout;
     833
     834  layout_cas7->setColumnMinimumWidth(0, 9*ww);
     835  _outPort_7_LineEdit->setMaximumWidth(9*ww);
     836  _password_7_LineEdit->setMaximumWidth(9*ww);
     837  _mountpoint_7_LineEdit->setMaximumWidth(12*ww);
     838  _refSys_7_ComboBox->setMaximumWidth(12*ww);
     839
     840  layout_cas7->addWidget(new QLabel("Host"),               0, 0);
     841  layout_cas7->addWidget(_outHost_7_LineEdit,              0, 1, 1, 3);
     842  layout_cas7->addWidget(new QLabel("  Port"),             0, 4, Qt::AlignRight);
     843  layout_cas7->addWidget(_outPort_7_LineEdit,              0, 5, 1, 10);
     844  layout_cas7->addWidget(new QLabel("Mountpoint"),         1, 0);
     845  layout_cas7->addWidget(_mountpoint_7_LineEdit,           1, 1);
     846  layout_cas7->addWidget(new QLabel("Password"),           1, 2, Qt::AlignRight);
     847  layout_cas7->addWidget(_password_7_LineEdit,             1, 3);
     848  layout_cas7->addWidget(new QLabel(" "),                  1, 4);
     849  layout_cas7->addWidget(new QLabel(" "),                  1, 5);
     850  layout_cas7->addWidget(new QLabel("System"),             2, 0);
     851  layout_cas7->addWidget(_refSys_7_ComboBox,               2, 1);
     852  layout_cas7->addWidget(new QLabel("  Save (full path)"), 2, 2, Qt::AlignRight);
     853  layout_cas7->addWidget(_outFile_7_LineEdit,              2, 3, 1, 30);
     854  layout_cas7->addWidget(new QLabel("Center of Mass"),     3, 0);
     855  layout_cas7->addWidget(_CoM_7_CheckBox,                  3, 1);
     856  layout_cas7->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 4, 0, 1, 50);
     857
     858  tab_cas7->setLayout(layout_cas7);
     859
     860  connect(_refSys_7_ComboBox, SIGNAL(currentIndexChanged(const QString &)),
     861          this, SLOT(customTrafo(const QString)));
     862
     863  connect(_outHost_7_LineEdit, SIGNAL(textChanged(const QString &)),
     864          this, SLOT(slotBnsTextChanged()));
     865
     866  // Broadcast Corrections VIII Tab
     867  // ------------------------------
     868  QWidget* tab_cas8 = new QWidget();
     869  tabs->addTab(tab_cas8, "BC VIII");
     870
     871  QGridLayout* layout_cas8 = new QGridLayout;
     872
     873  layout_cas8->setColumnMinimumWidth(0, 9*ww);
     874  _outPort_8_LineEdit->setMaximumWidth(9*ww);
     875  _password_8_LineEdit->setMaximumWidth(9*ww);
     876  _mountpoint_8_LineEdit->setMaximumWidth(12*ww);
     877  _refSys_8_ComboBox->setMaximumWidth(12*ww);
     878
     879  layout_cas8->addWidget(new QLabel("Host"),               0, 0);
     880  layout_cas8->addWidget(_outHost_8_LineEdit,              0, 1, 1, 3);
     881  layout_cas8->addWidget(new QLabel("  Port"),             0, 4, Qt::AlignRight);
     882  layout_cas8->addWidget(_outPort_8_LineEdit,              0, 5, 1, 10);
     883  layout_cas8->addWidget(new QLabel("Mountpoint"),         1, 0);
     884  layout_cas8->addWidget(_mountpoint_8_LineEdit,           1, 1);
     885  layout_cas8->addWidget(new QLabel("Password"),           1, 2, Qt::AlignRight);
     886  layout_cas8->addWidget(_password_8_LineEdit,             1, 3);
     887  layout_cas8->addWidget(new QLabel(" "),                  1, 4);
     888  layout_cas8->addWidget(new QLabel(" "),                  1, 5);
     889  layout_cas8->addWidget(new QLabel("System"),             2, 0);
     890  layout_cas8->addWidget(_refSys_8_ComboBox,               2, 1);
     891  layout_cas8->addWidget(new QLabel("  Save (full path)"), 2, 2, Qt::AlignRight);
     892  layout_cas8->addWidget(_outFile_8_LineEdit,              2, 3, 1, 30);
     893  layout_cas8->addWidget(new QLabel("Center of Mass"),     3, 0);
     894  layout_cas8->addWidget(_CoM_8_CheckBox,                  3, 1);
     895  layout_cas8->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 4, 0, 1, 50);
     896
     897  tab_cas8->setLayout(layout_cas8);
     898
     899  connect(_refSys_8_ComboBox, SIGNAL(currentIndexChanged(const QString &)),
     900          this, SLOT(customTrafo(const QString)));
     901
     902  connect(_outHost_8_LineEdit, SIGNAL(textChanged(const QString &)),
     903          this, SLOT(slotBnsTextChanged()));
     904
     905  // Broadcast Corrections IX Tab
     906  // ----------------------------
     907  QWidget* tab_cas9 = new QWidget();
     908  tabs->addTab(tab_cas9, "BC IX");
     909
     910  QGridLayout* layout_cas9 = new QGridLayout;
     911
     912  layout_cas9->setColumnMinimumWidth(0, 9*ww);
     913  _outPort_9_LineEdit->setMaximumWidth(9*ww);
     914  _password_9_LineEdit->setMaximumWidth(9*ww);
     915  _mountpoint_9_LineEdit->setMaximumWidth(12*ww);
     916  _refSys_9_ComboBox->setMaximumWidth(12*ww);
     917
     918  layout_cas9->addWidget(new QLabel("Host"),               0, 0);
     919  layout_cas9->addWidget(_outHost_9_LineEdit,              0, 1, 1, 3);
     920  layout_cas9->addWidget(new QLabel("  Port"),             0, 4, Qt::AlignRight);
     921  layout_cas9->addWidget(_outPort_9_LineEdit,              0, 5, 1, 10);
     922  layout_cas9->addWidget(new QLabel("Mountpoint"),         1, 0);
     923  layout_cas9->addWidget(_mountpoint_9_LineEdit,           1, 1);
     924  layout_cas9->addWidget(new QLabel("Password"),           1, 2, Qt::AlignRight);
     925  layout_cas9->addWidget(_password_9_LineEdit,             1, 3);
     926  layout_cas9->addWidget(new QLabel(" "),                  1, 4);
     927  layout_cas9->addWidget(new QLabel(" "),                  1, 5);
     928  layout_cas9->addWidget(new QLabel("System"),             2, 0);
     929  layout_cas9->addWidget(_refSys_9_ComboBox,               2, 1);
     930  layout_cas9->addWidget(new QLabel("  Save (full path)"), 2, 2, Qt::AlignRight);
     931  layout_cas9->addWidget(_outFile_9_LineEdit,              2, 3, 1, 30);
     932  layout_cas9->addWidget(new QLabel("Center of Mass"),     3, 0);
     933  layout_cas9->addWidget(_CoM_9_CheckBox,                  3, 1);
     934  layout_cas9->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 4, 0, 1, 50);
     935
     936  tab_cas9->setLayout(layout_cas9);
     937
     938  connect(_refSys_9_ComboBox, SIGNAL(currentIndexChanged(const QString &)),
     939          this, SLOT(customTrafo(const QString)));
     940
     941  connect(_outHost_9_LineEdit, SIGNAL(textChanged(const QString &)),
     942          this, SLOT(slotBnsTextChanged()));
     943
     944  // Broadcast Corrections X Tab
     945  // ---------------------------
     946  QWidget* tab_cas10 = new QWidget();
     947  tabs->addTab(tab_cas10, "BC X");
     948
     949  QGridLayout* layout_cas10 = new QGridLayout;
     950
     951  layout_cas10->setColumnMinimumWidth(0, 9*ww);
     952  _outPort_10_LineEdit->setMaximumWidth(9*ww);
     953  _password_10_LineEdit->setMaximumWidth(9*ww);
     954  _mountpoint_10_LineEdit->setMaximumWidth(12*ww);
     955  _refSys_10_ComboBox->setMaximumWidth(12*ww);
     956
     957  layout_cas10->addWidget(new QLabel("Host"),               0, 0);
     958  layout_cas10->addWidget(_outHost_10_LineEdit,             0, 1, 1, 3);
     959  layout_cas10->addWidget(new QLabel("  Port"),             0, 4, Qt::AlignRight);
     960  layout_cas10->addWidget(_outPort_10_LineEdit,             0, 5, 1, 10);
     961  layout_cas10->addWidget(new QLabel("Mountpoint"),         1, 0);
     962  layout_cas10->addWidget(_mountpoint_10_LineEdit,          1, 1);
     963  layout_cas10->addWidget(new QLabel("Password"),           1, 2, Qt::AlignRight);
     964  layout_cas10->addWidget(_password_10_LineEdit,            1, 3);
     965  layout_cas10->addWidget(new QLabel(" "),                  1, 4);
     966  layout_cas10->addWidget(new QLabel(" "),                  1, 5);
     967  layout_cas10->addWidget(new QLabel("System"),             2, 0);
     968  layout_cas10->addWidget(_refSys_10_ComboBox,              2, 1);
     969  layout_cas10->addWidget(new QLabel("  Save (full path)"), 2, 2, Qt::AlignRight);
     970  layout_cas10->addWidget(_outFile_10_LineEdit,             2, 3, 1, 30);
     971  layout_cas10->addWidget(new QLabel("Center of Mass"),     3, 0);
     972  layout_cas10->addWidget(_CoM_10_CheckBox,                 3, 1);
     973  layout_cas10->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 4, 0, 1, 50);
     974
     975  tab_cas10->setLayout(layout_cas10);
     976
     977  connect(_refSys_10_ComboBox, SIGNAL(currentIndexChanged(const QString &)),
     978          this, SLOT(customTrafo(const QString)));
     979
     980  connect(_outHost_10_LineEdit, SIGNAL(textChanged(const QString &)),
     981          this, SLOT(slotBnsTextChanged()));
     982
    726983  // Broadcast Ephemerides
    727984  // ---------------------
     
    8231080  _statusLbl[7] = new QLabel("0 byte(s)"); _statusCnt[7] = 0;
    8241081  _statusLbl[8] = new QLabel("0 byte(s)"); _statusCnt[8] = 0;
    825 
    826   _statusLbl[9]  = new QLabel("RINEX Ephemeris:"); 
    827   _statusLbl[10] = new QLabel("Clocks & Orbits:");
    828   _statusLbl[11] = new QLabel("Broadcast Corrections I:"); 
    829   _statusLbl[12] = new QLabel("Broadcast Corrections II:"); 
    830   _statusLbl[13] = new QLabel("Broadcast Corrections III:"); 
    831   _statusLbl[14] = new QLabel("Broadcast Corrections IV:"); 
    832   _statusLbl[15] = new QLabel("Broadcast Corrections V:"); 
    833   _statusLbl[16] = new QLabel("Broadcast Corrections VI:"); 
    834   _statusLbl[17] = new QLabel("Broadcast Ephemeris:"); 
     1082  _statusLbl[9] = new QLabel("0 byte(s)"); _statusCnt[9] = 0;
     1083  _statusLbl[10] = new QLabel("0 byte(s)"); _statusCnt[10] = 0;
     1084  _statusLbl[11] = new QLabel("0 byte(s)"); _statusCnt[11] = 0;
     1085  _statusLbl[12] = new QLabel("0 byte(s)"); _statusCnt[12] = 0;
     1086
     1087  _statusLbl[13]  = new QLabel("RINEX Ephemeris:"); 
     1088  _statusLbl[14] = new QLabel("Clocks & Orbits:");
     1089  _statusLbl[15] = new QLabel("Broadcast Corrections I:"); 
     1090  _statusLbl[16] = new QLabel("Broadcast Corrections II:"); 
     1091  _statusLbl[17] = new QLabel("Broadcast Corrections III:"); 
     1092  _statusLbl[18] = new QLabel("Broadcast Corrections IV:"); 
     1093  _statusLbl[19] = new QLabel("Broadcast Corrections V:"); 
     1094  _statusLbl[20] = new QLabel("Broadcast Corrections VI:"); 
     1095  _statusLbl[21] = new QLabel("Broadcast Corrections VII:"); 
     1096  _statusLbl[22] = new QLabel("Broadcast Corrections VIII:"); 
     1097  _statusLbl[23] = new QLabel("Broadcast Corrections IX:"); 
     1098  _statusLbl[24] = new QLabel("Broadcast Corrections X:"); 
     1099  _statusLbl[25] = new QLabel("Broadcast Ephemeris:"); 
    8351100
    8361101  _statusLbl[0]->setWhatsThis(tr("Status of incoming broadcast ephemeris."));
     
    8421107  _statusLbl[6]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster V."));
    8431108  _statusLbl[7]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster VI."));
    844   _statusLbl[8]->setWhatsThis(tr("Status of outgoing Broadcast Ephemeris to NTRIP broadcaster"));
    845 
    846   _statusLbl[9]->setWhatsThis(tr("Status of incoming broadcast ephemeris."));
    847   _statusLbl[10]->setWhatsThis(tr("Status of incoming stream of clocks and orbits I."));
    848   _statusLbl[11]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster I."));
    849   _statusLbl[12]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster II."));
    850   _statusLbl[13]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster III."));
    851   _statusLbl[14]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster IV."));
    852   _statusLbl[15]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster V."));
    853   _statusLbl[16]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster VI."));
    854   _statusLbl[17]->setWhatsThis(tr("Status of outgoing Broadcast Ephemeris to NTRIP broadcaster"));
    855 
    856   layout_status->addWidget(_statusLbl[9],  0, 0);
     1109  _statusLbl[8]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster VII."));
     1110  _statusLbl[9]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster VIII."));
     1111  _statusLbl[10]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster IX."));
     1112  _statusLbl[11]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster X."));
     1113  _statusLbl[12]->setWhatsThis(tr("Status of outgoing Broadcast Ephemeris to NTRIP broadcaster"));
     1114
     1115  _statusLbl[13]->setWhatsThis(tr("Status of incoming broadcast ephemeris."));
     1116  _statusLbl[14]->setWhatsThis(tr("Status of incoming stream of clocks and orbits I."));
     1117  _statusLbl[15]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster I."));
     1118  _statusLbl[16]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster II."));
     1119  _statusLbl[17]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster III."));
     1120  _statusLbl[18]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster IV."));
     1121  _statusLbl[19]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster V."));
     1122  _statusLbl[20]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster VI."));
     1123  _statusLbl[21]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster VII."));
     1124  _statusLbl[22]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster VIII."));
     1125  _statusLbl[23]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster IX."));
     1126  _statusLbl[24]->setWhatsThis(tr("Status of outgoing corrections stream to NTRIP broadcaster X."));
     1127  _statusLbl[25]->setWhatsThis(tr("Status of outgoing Broadcast Ephemeris to NTRIP broadcaster"));
     1128
     1129  layout_status->addWidget(_statusLbl[13], 0, 0);
    8571130  layout_status->addWidget(_statusLbl[0],  0, 1);
    858   layout_status->addWidget(_statusLbl[10], 1, 0);
     1131  layout_status->addWidget(_statusLbl[14], 1, 0);
    8591132  layout_status->addWidget(_statusLbl[1],  1, 1);
    860   layout_status->addWidget(_statusLbl[17], 2, 0);
    861   layout_status->addWidget(_statusLbl[8], 2, 1);
    862 
    863   layout_status->addWidget(_statusLbl[11], 0, 2);
     1133  layout_status->addWidget(_statusLbl[25], 2, 0);
     1134  layout_status->addWidget(_statusLbl[12], 2, 1);
     1135
     1136  layout_status->addWidget(_statusLbl[15], 0, 2);
    8641137  layout_status->addWidget(_statusLbl[2],  0, 3);
    865   layout_status->addWidget(_statusLbl[12], 1, 2);
     1138  layout_status->addWidget(_statusLbl[16], 1, 2);
    8661139  layout_status->addWidget(_statusLbl[3],  1, 3);
    867   layout_status->addWidget(_statusLbl[13], 2, 2);
     1140  layout_status->addWidget(_statusLbl[17], 2, 2);
    8681141  layout_status->addWidget(_statusLbl[4],  2, 3);
    869   layout_status->addWidget(_statusLbl[14], 3, 2);
     1142  layout_status->addWidget(_statusLbl[18], 3, 2);
    8701143  layout_status->addWidget(_statusLbl[5],  3, 3);
    871   layout_status->addWidget(_statusLbl[15], 4, 2);
     1144  layout_status->addWidget(_statusLbl[19], 4, 2);
    8721145  layout_status->addWidget(_statusLbl[6],  4, 3);
    873   layout_status->addWidget(_statusLbl[16], 5, 2);
     1146  layout_status->addWidget(_statusLbl[20], 5, 2);
    8741147  layout_status->addWidget(_statusLbl[7],  5, 3);
     1148  layout_status->addWidget(_statusLbl[21], 6, 2);
     1149  layout_status->addWidget(_statusLbl[8],  6, 3);
     1150  layout_status->addWidget(_statusLbl[22], 7, 2);
     1151  layout_status->addWidget(_statusLbl[9],  7, 3);
     1152  layout_status->addWidget(_statusLbl[23], 8, 2);
     1153  layout_status->addWidget(_statusLbl[10], 8, 3);
     1154  layout_status->addWidget(_statusLbl[24], 9, 2);
     1155  layout_status->addWidget(_statusLbl[11], 9, 3);
     1156
    8751157  _status->setLayout(layout_status);
    8761158
     
    10531335  settings.setValue("outFile_6",   _outFile_6_LineEdit->text());
    10541336  settings.setValue("CoM_6",       _CoM_6_CheckBox->checkState());
     1337
     1338  settings.setValue("outHost7",    _outHost_7_LineEdit->text());
     1339  settings.setValue("outPort7",    _outPort_7_LineEdit->text());
     1340  settings.setValue("mountpoint_7",_mountpoint_7_LineEdit->text());
     1341  settings.setValue("password7",   _password_7_LineEdit->text());
     1342  settings.setValue("refSys_7",    _refSys_7_ComboBox->currentText());
     1343  settings.setValue("outFile_7",   _outFile_7_LineEdit->text());
     1344
     1345  settings.setValue("outHost8",    _outHost_8_LineEdit->text());
     1346  settings.setValue("outPort8",    _outPort_8_LineEdit->text());
     1347  settings.setValue("mountpoint_8",_mountpoint_8_LineEdit->text());
     1348  settings.setValue("password8",   _password_8_LineEdit->text());
     1349  settings.setValue("refSys_8",    _refSys_8_ComboBox->currentText());
     1350  settings.setValue("outFile_8",   _outFile_8_LineEdit->text());
     1351
     1352  settings.setValue("outHost9",    _outHost_9_LineEdit->text());
     1353  settings.setValue("outPort9",    _outPort_9_LineEdit->text());
     1354  settings.setValue("mountpoint_9",_mountpoint_9_LineEdit->text());
     1355  settings.setValue("password9",   _password_9_LineEdit->text());
     1356  settings.setValue("refSys_9",    _refSys_9_ComboBox->currentText());
     1357  settings.setValue("outFile_9",   _outFile_9_LineEdit->text());
     1358
     1359  settings.setValue("outHost10",    _outHost_10_LineEdit->text());
     1360  settings.setValue("outPort10",    _outPort_10_LineEdit->text());
     1361  settings.setValue("mountpoint_10",_mountpoint_10_LineEdit->text());
     1362  settings.setValue("password10",   _password_10_LineEdit->text());
     1363  settings.setValue("refSys_10",    _refSys_10_ComboBox->currentText());
     1364  settings.setValue("outFile_10",   _outFile_10_LineEdit->text());
    10551365
    10561366  settings.setValue("outHostEph",    _outHost_Eph_LineEdit->text());
     
    14351745  }
    14361746
     1747  // Enable/disable Broadcast Corrections VII Options
     1748  // ------------------------------------------------
     1749  if (sender() == 0 || sender() == _outHost_7_LineEdit) {
     1750    if (!_outHost_7_LineEdit->text().isEmpty()) {
     1751      _outPort_7_LineEdit->setStyleSheet("background-color: white");
     1752      _mountpoint_7_LineEdit->setStyleSheet("background-color: white");
     1753      _password_7_LineEdit->setStyleSheet("background-color: white");
     1754      _outFile_7_LineEdit->setStyleSheet("background-color: white");
     1755      _refSys_7_ComboBox->setStyleSheet("background-color: white");
     1756      _CoM_7_CheckBox->setPalette(palette_white);
     1757      _outPort_7_LineEdit->setEnabled(true);
     1758      _mountpoint_7_LineEdit->setEnabled(true);
     1759      _password_7_LineEdit->setEnabled(true);
     1760      _outFile_7_LineEdit->setEnabled(true);
     1761      _refSys_7_ComboBox->setEnabled(true);
     1762      _CoM_7_CheckBox->setEnabled(true);
     1763    }
     1764    else {
     1765      _outPort_7_LineEdit->setStyleSheet("background-color: lightGray");
     1766      _mountpoint_7_LineEdit->setStyleSheet("background-color: lightGray");
     1767      _password_7_LineEdit->setStyleSheet("background-color: lightGray");
     1768      _outFile_7_LineEdit->setStyleSheet("background-color: lightGray");
     1769      _refSys_7_ComboBox->setStyleSheet("background-color: lightGray");
     1770      _CoM_7_CheckBox->setPalette(palette_gray);
     1771      _outPort_7_LineEdit->setEnabled(false);
     1772      _mountpoint_7_LineEdit->setEnabled(false);
     1773      _password_7_LineEdit->setEnabled(false);
     1774      _outFile_7_LineEdit->setEnabled(false);
     1775      _refSys_7_ComboBox->setEnabled(false);
     1776      _CoM_7_CheckBox->setEnabled(false);
     1777    }
     1778  }
     1779
     1780  // Enable/disable Broadcast Corrections VIII Options
     1781  // -------------------------------------------------
     1782  if (sender() == 0 || sender() == _outHost_8_LineEdit) {
     1783    if (!_outHost_8_LineEdit->text().isEmpty()) {
     1784      _outPort_8_LineEdit->setStyleSheet("background-color: white");
     1785      _mountpoint_8_LineEdit->setStyleSheet("background-color: white");
     1786      _password_8_LineEdit->setStyleSheet("background-color: white");
     1787      _outFile_8_LineEdit->setStyleSheet("background-color: white");
     1788      _refSys_8_ComboBox->setStyleSheet("background-color: white");
     1789      _CoM_8_CheckBox->setPalette(palette_white);
     1790      _outPort_8_LineEdit->setEnabled(true);
     1791      _mountpoint_8_LineEdit->setEnabled(true);
     1792      _password_8_LineEdit->setEnabled(true);
     1793      _outFile_8_LineEdit->setEnabled(true);
     1794      _refSys_8_ComboBox->setEnabled(true);
     1795      _CoM_8_CheckBox->setEnabled(true);
     1796    }
     1797    else {
     1798      _outPort_8_LineEdit->setStyleSheet("background-color: lightGray");
     1799      _mountpoint_8_LineEdit->setStyleSheet("background-color: lightGray");
     1800      _password_8_LineEdit->setStyleSheet("background-color: lightGray");
     1801      _outFile_8_LineEdit->setStyleSheet("background-color: lightGray");
     1802      _refSys_8_ComboBox->setStyleSheet("background-color: lightGray");
     1803      _CoM_8_CheckBox->setPalette(palette_gray);
     1804      _outPort_8_LineEdit->setEnabled(false);
     1805      _mountpoint_8_LineEdit->setEnabled(false);
     1806      _password_8_LineEdit->setEnabled(false);
     1807      _outFile_8_LineEdit->setEnabled(false);
     1808      _refSys_8_ComboBox->setEnabled(false);
     1809      _CoM_8_CheckBox->setEnabled(false);
     1810    }
     1811  }
     1812
     1813  // Enable/disable Broadcast Corrections IX Options
     1814  // -----------------------------------------------
     1815  if (sender() == 0 || sender() == _outHost_9_LineEdit) {
     1816    if (!_outHost_9_LineEdit->text().isEmpty()) {
     1817      _outPort_9_LineEdit->setStyleSheet("background-color: white");
     1818      _mountpoint_9_LineEdit->setStyleSheet("background-color: white");
     1819      _password_9_LineEdit->setStyleSheet("background-color: white");
     1820      _outFile_9_LineEdit->setStyleSheet("background-color: white");
     1821      _refSys_9_ComboBox->setStyleSheet("background-color: white");
     1822      _CoM_9_CheckBox->setPalette(palette_white);
     1823      _outPort_9_LineEdit->setEnabled(true);
     1824      _mountpoint_9_LineEdit->setEnabled(true);
     1825      _password_9_LineEdit->setEnabled(true);
     1826      _outFile_9_LineEdit->setEnabled(true);
     1827      _refSys_9_ComboBox->setEnabled(true);
     1828      _CoM_9_CheckBox->setEnabled(true);
     1829    }
     1830    else {
     1831      _outPort_9_LineEdit->setStyleSheet("background-color: lightGray");
     1832      _mountpoint_9_LineEdit->setStyleSheet("background-color: lightGray");
     1833      _password_9_LineEdit->setStyleSheet("background-color: lightGray");
     1834      _outFile_9_LineEdit->setStyleSheet("background-color: lightGray");
     1835      _refSys_9_ComboBox->setStyleSheet("background-color: lightGray");
     1836      _CoM_9_CheckBox->setPalette(palette_gray);
     1837      _outPort_9_LineEdit->setEnabled(false);
     1838      _mountpoint_9_LineEdit->setEnabled(false);
     1839      _password_9_LineEdit->setEnabled(false);
     1840      _outFile_9_LineEdit->setEnabled(false);
     1841      _refSys_9_ComboBox->setEnabled(false);
     1842      _CoM_9_CheckBox->setEnabled(false);
     1843    }
     1844  }
     1845
     1846  // Enable/disable Broadcast Corrections X Options
     1847  // ----------------------------------------------
     1848  if (sender() == 0 || sender() == _outHost_10_LineEdit) {
     1849    if (!_outHost_10_LineEdit->text().isEmpty()) {
     1850      _outPort_10_LineEdit->setStyleSheet("background-color: white");
     1851      _mountpoint_10_LineEdit->setStyleSheet("background-color: white");
     1852      _password_10_LineEdit->setStyleSheet("background-color: white");
     1853      _outFile_10_LineEdit->setStyleSheet("background-color: white");
     1854      _refSys_10_ComboBox->setStyleSheet("background-color: white");
     1855      _CoM_10_CheckBox->setPalette(palette_white);
     1856      _outPort_10_LineEdit->setEnabled(true);
     1857      _mountpoint_10_LineEdit->setEnabled(true);
     1858      _password_10_LineEdit->setEnabled(true);
     1859      _outFile_10_LineEdit->setEnabled(true);
     1860      _refSys_10_ComboBox->setEnabled(true);
     1861      _CoM_10_CheckBox->setEnabled(true);
     1862    }
     1863    else {
     1864      _outPort_10_LineEdit->setStyleSheet("background-color: lightGray");
     1865      _mountpoint_10_LineEdit->setStyleSheet("background-color: lightGray");
     1866      _password_10_LineEdit->setStyleSheet("background-color: lightGray");
     1867      _outFile_10_LineEdit->setStyleSheet("background-color: lightGray");
     1868      _refSys_10_ComboBox->setStyleSheet("background-color: lightGray");
     1869      _CoM_10_CheckBox->setPalette(palette_gray);
     1870      _outPort_10_LineEdit->setEnabled(false);
     1871      _mountpoint_10_LineEdit->setEnabled(false);
     1872      _password_10_LineEdit->setEnabled(false);
     1873      _outFile_10_LineEdit->setEnabled(false);
     1874      _refSys_10_ComboBox->setEnabled(false);
     1875      _CoM_10_CheckBox->setEnabled(false);
     1876    }
     1877  }
     1878
    14371879  // Enable/disable Broadcast Ephemerides
    14381880  // ------------------------------------
Note: See TracChangeset for help on using the changeset viewer.