Changeset 3738 in ntrip


Ignore:
Timestamp:
Mar 27, 2012, 7:16:39 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r3737 r3738  
    963963  _teqcActionComboBox = new QComboBox();
    964964  _teqcActionComboBox->setEditable(false);
    965   _teqcActionComboBox->addItems(QString("Obs,Nav").split(","));
     965  _teqcActionComboBox->addItems(QString("Edit, Analyze").split(","));
    966966  ik = _teqcActionComboBox->findText(settings.value("teqcAction").toString());
    967967  if (ik != -1) {
     
    981981  _teqcNavFileChooser->setWhatsThis(tr("Specify the full path to a RINEX v2 or v3 navigation file."));
    982982
    983   _teqcCorrFileChooser = new qtFileChooser;
    984   _teqcCorrFileChooser->setFileName(settings.value("teqcCorrFile").toString());
    985   _teqcCorrFileChooser->setWhatsThis(tr("Specify the full path to an orbit/clock corrections file in plain ASCII format."));
    986 
    987983  _teqcOutLineEdit = new QLineEdit(settings.value("teqcOutFile").toString());
    988984  _teqcOutLineEdit->setWhatsThis(tr("Specify the full path to an output file."));
    989985
    990   teqcLayout->addWidget(new QLabel("Mode"),                     0, 0);
    991   teqcLayout->addWidget(_teqcActionComboBox,                      0, 1);
    992   teqcLayout->addWidget(new QLabel("Input files (full path)"),  1, 0);
    993 
    994   teqcLayout->addWidget(_teqcObsFileChooser,                    1, 1);
    995   teqcLayout->addWidget(new QLabel("Obs   "),                   1, 2);
    996   teqcLayout->addWidget(_teqcNavFileChooser,                    1, 3);
    997   teqcLayout->addWidget(new QLabel("Nav   "),                   1, 4);
    998   teqcLayout->addWidget(_teqcCorrFileChooser,                   1, 5);
    999   teqcLayout->addWidget(new QLabel("Corr"),                     1, 6);
    1000 
    1001   teqcLayout->addWidget(new QLabel("Output file (full path)"),  2, 0);
    1002   teqcLayout->addWidget(_teqcOutLineEdit,                       2, 1, 1, 2);
     986  ir = 0;
     987  teqcLayout->addWidget(new QLabel("Action"),                   ir, 0);
     988  teqcLayout->addWidget(_teqcActionComboBox,                    ir, 1);
     989  _teqcEditOptionButton = new QPushButton("Set Edit Options");
     990  teqcLayout->addWidget(_teqcEditOptionButton,                  ir, 2);
     991  ++ir;
     992  teqcLayout->addWidget(new QLabel("Input files (full path)"),  ir, 0);
     993  teqcLayout->addWidget(_teqcObsFileChooser,                    ir, 1);
     994  teqcLayout->addWidget(new QLabel("Obs   "),                   ir, 2);
     995  teqcLayout->addWidget(_teqcNavFileChooser,                    ir, 3);
     996  teqcLayout->addWidget(new QLabel("Nav   "),                   ir, 4);
     997  ++ir;
     998  teqcLayout->addWidget(new QLabel("Output file (full path)"),  ir, 0);
     999  teqcLayout->addWidget(_teqcOutLineEdit,                       ir, 1, 1, 2);
    10031000  teqcLayout->addWidget(new QLabel("Teqc-processing, input, output, options."), 3, 0, 1, 5);
    1004   teqcLayout->addWidget(new QLabel("    "),                     4, 0);
    1005   teqcLayout->addWidget(new QLabel("    "),                     5, 0);
    1006   teqcLayout->addWidget(new QLabel("    "),                     6, 0);
    10071001
    10081002  teqcgroup->setLayout(teqcLayout);
     
    16301624  settings.setValue("teqcObsFile", _teqcObsFileChooser->fileName());
    16311625  settings.setValue("teqcNavFile", _teqcNavFileChooser->fileName());
    1632   settings.setValue("teqcCorrFile", _teqcCorrFileChooser->fileName());
    16331626  settings.setValue("teqcOutFile", _teqcOutLineEdit->text());
    16341627
     
    21222115    enableWidget(!enable9, _pppMountLineEdit);
    21232116
     2117    bool enable10 = _teqcActionComboBox->currentText() == "Edit";
     2118    enableWidget(enable10, _teqcEditOptionButton);
     2119    enableWidget(!enable10, _teqcNavFileChooser);
     2120    enableWidget(!enable10, _teqcOutLineEdit);
     2121
    21242122    slotEnablePostProcessing();
    21252123  }
  • trunk/BNC/bncwindow.h

    r3736 r3738  
    168168    QLineEdit*     _postOutLineEdit;
    169169
     170    QComboBox*     _teqcActionComboBox;
     171    QPushButton*   _teqcEditOptionButton;
    170172    qtFileChooser* _teqcObsFileChooser;
    171173    qtFileChooser* _teqcNavFileChooser;
    172     qtFileChooser* _teqcCorrFileChooser;
    173174    QLineEdit*     _teqcOutLineEdit;
    174175
     
    180181    QLineEdit* _rawOutFileLineEdit;
    181182    QComboBox* _pppSPPComboBox;
    182     QComboBox* _teqcActionComboBox;
    183183    QComboBox* _rnxIntrComboBox;
    184184    QComboBox* _ephIntrComboBox;
Note: See TracChangeset for help on using the changeset viewer.