Changeset 3738 in ntrip
- Timestamp:
- Mar 27, 2012, 7:16:39 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r3737 r3738 963 963 _teqcActionComboBox = new QComboBox(); 964 964 _teqcActionComboBox->setEditable(false); 965 _teqcActionComboBox->addItems(QString(" Obs,Nav").split(","));965 _teqcActionComboBox->addItems(QString("Edit, Analyze").split(",")); 966 966 ik = _teqcActionComboBox->findText(settings.value("teqcAction").toString()); 967 967 if (ik != -1) { … … 981 981 _teqcNavFileChooser->setWhatsThis(tr("Specify the full path to a RINEX v2 or v3 navigation file.")); 982 982 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 987 983 _teqcOutLineEdit = new QLineEdit(settings.value("teqcOutFile").toString()); 988 984 _teqcOutLineEdit->setWhatsThis(tr("Specify the full path to an output file.")); 989 985 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); 1003 1000 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);1007 1001 1008 1002 teqcgroup->setLayout(teqcLayout); … … 1630 1624 settings.setValue("teqcObsFile", _teqcObsFileChooser->fileName()); 1631 1625 settings.setValue("teqcNavFile", _teqcNavFileChooser->fileName()); 1632 settings.setValue("teqcCorrFile", _teqcCorrFileChooser->fileName());1633 1626 settings.setValue("teqcOutFile", _teqcOutLineEdit->text()); 1634 1627 … … 2122 2115 enableWidget(!enable9, _pppMountLineEdit); 2123 2116 2117 bool enable10 = _teqcActionComboBox->currentText() == "Edit"; 2118 enableWidget(enable10, _teqcEditOptionButton); 2119 enableWidget(!enable10, _teqcNavFileChooser); 2120 enableWidget(!enable10, _teqcOutLineEdit); 2121 2124 2122 slotEnablePostProcessing(); 2125 2123 } -
trunk/BNC/bncwindow.h
r3736 r3738 168 168 QLineEdit* _postOutLineEdit; 169 169 170 QComboBox* _teqcActionComboBox; 171 QPushButton* _teqcEditOptionButton; 170 172 qtFileChooser* _teqcObsFileChooser; 171 173 qtFileChooser* _teqcNavFileChooser; 172 qtFileChooser* _teqcCorrFileChooser;173 174 QLineEdit* _teqcOutLineEdit; 174 175 … … 180 181 QLineEdit* _rawOutFileLineEdit; 181 182 QComboBox* _pppSPPComboBox; 182 QComboBox* _teqcActionComboBox;183 183 QComboBox* _rnxIntrComboBox; 184 184 QComboBox* _ephIntrComboBox;
Note:
See TracChangeset
for help on using the changeset viewer.