Changeset 3059 in ntrip
- Timestamp:
- Mar 1, 2011, 1:31:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r3057 r3059 438 438 _log = new QTextBrowser(); 439 439 _log->setReadOnly(true); 440 441 // Combination 442 // ----------- 443 _cmbTable = new QTableWidget(0,3); 444 _cmbTable->setHorizontalHeaderLabels(QString("Mountpoint, AC Name, Weight").split(",")); 445 _cmbTable->setSelectionMode(QAbstractItemView::ExtendedSelection); 446 _cmbTable->setSelectionBehavior(QAbstractItemView::SelectRows); 447 _cmbTable->setMaximumWidth(30*ww); 448 _cmbTable->horizontalHeader()->resizeSection(0,10*ww); 449 _cmbTable->horizontalHeader()->resizeSection(1,8*ww); 450 _cmbTable->horizontalHeader()->resizeSection(2,8*ww); 451 _cmbTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive); 452 _cmbTable->horizontalHeader()->setStretchLastSection(true); 453 _cmbTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft); 454 455 QPushButton* addCmbRowButton = new QPushButton("Add Row"); 456 QPushButton* delCmbRowButton = new QPushButton("Delete"); 457 _cmbOutHostLineEdit = new QLineEdit(settings.value("cmbOutHost").toString()); 458 _cmbOutPortLineEdit = new QLineEdit(settings.value("cmbOutPort").toString()); 459 _cmbMountpointLineEdit = new QLineEdit(settings.value("cmbMountpoint").toString()); 460 _cmbPasswordLineEdit = new QLineEdit(settings.value("cmbPassword").toString()); 461 _cmbOutPathLineEdit = new QLineEdit(settings.value("cmbOutPath").toString()); 462 _cmbSP3PathLineEdit = new QLineEdit(settings.value("cmbSP3Path").toString()); 440 463 441 464 // WhatsThis … … 520 543 _pppAntennaLineEdit->setWhatsThis(tr("<p>Specify the receiver's antenna name as defined in your ANTEX file. Observations will be corrected for the antenna phase center's offset which may result in a reduction of a few centimeters at max. Corrections for phase center variations are not yet applied by BNC. The specified name must consist of 20 characters. Add trailing blanks if the antenna name has less then 20 characters.</p><p>Default is an empty option field meaning that you don't want to correct observations for antenna phase center offsets.</p>")); 521 544 _pppApplySatAntCheckBox->setWhatsThis(tr("<p>This option is not yet working.</p><p>Satellite orbit and clock corrections refer to the satellite's antenna phase centers and hence observations are actually <u>not</u> to be corrected for satellite antenna phase center offsets. However, you may like to tick 'Apply Offsets' to force BNC to correct observations for satellite antenna phase center offsets.</p><p>Default is to <u>not</u> correct observations for satellite antenna phase center offsets.")); 545 _cmbTable->setWhatsThis(tr("<p>Double click on the 'Mountpoint' field, enter a Broadcast Ephemeris corrections mountpoint from the 'Streams' section below and hit Enter. Then double click on the 'AC Name' field to enter your choice of an abbreviation for the Analysis Center (AC) providing the stream. Finally, double click on the 'Weight' field to enter a weight to be applied in the combination specifically for this stream.</p><p>Note that an appropriate option 'Wait for full epoch' under the 'Broadcast Corrections' tab needs to be specified for the combination. A value of i.e. 15 seconds would make sense if the update rate for orbit and clock corrections is 10 seconds.</p>")); 546 addCmbRowButton->setWhatsThis(tr("Hit 'Add Row' button to add another line to the mountpoints table.")); 547 delCmbRowButton->setWhatsThis(tr("Hit 'Delete' button to delete the highlited line from the mountpoints table.")); 548 _cmbOutHostLineEdit->setWhatsThis(tr("Specify the domain name or IP number of an Ntrip Broadcaster for uploading the combination stream.")); 549 _cmbOutPortLineEdit->setWhatsThis(tr("Enter the listening IP port of the specified Ntrip Broadcaster for uploading the combination stream.")); 550 _cmbMountpointLineEdit->setWhatsThis(tr("<p>Enter a mountpoint for the combination stream. The combination will only be carried out if a mountpoint is defined.</p><p>If 'Host', 'Port', and 'Password' are set the combination stream will be uploaded to the specified Ntrip Broadcaster.</p><p>Note that this mountpoint can be introduce as 'Obs Mountpoint' under the 'PPP (1)' tab to carry out a Precise Point Positioning using the combination stream without pulling it from the Ntrip Broadcaster.")); 551 _cmbPasswordLineEdit->setWhatsThis(tr("Enter the password for uploading the combination stream to the specified Ntrip Broadcaster.")); 552 _cmbOutPathLineEdit->setWhatsThis(tr("Specify a directory for saving the combinatoin stream on disc in a plain ASCII format.")); 553 _cmbSP3PathLineEdit->setWhatsThis(tr("Specify a directory for saving the combination stream on disc in SP3 format.")); 522 554 523 555 // Canvas with Editable Fields … … 848 880 QGridLayout* cmbLayout = new QGridLayout; 849 881 850 _cmbTable = new QTableWidget(0,3);851 _cmbTable->setHorizontalHeaderLabels(QString("Mountpoint, AC Name, Weight").split(","));852 _cmbTable->setSelectionMode(QAbstractItemView::ExtendedSelection);853 _cmbTable->setSelectionBehavior(QAbstractItemView::SelectRows);854 _cmbTable->setMaximumWidth(30*ww);855 _cmbTable->horizontalHeader()->resizeSection(0,10*ww);856 _cmbTable->horizontalHeader()->resizeSection(1,8*ww);857 _cmbTable->horizontalHeader()->resizeSection(2,8*ww);858 _cmbTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive);859 _cmbTable->horizontalHeader()->setStretchLastSection(true);860 _cmbTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft);861 862 882 populateCmbTable(); 863 883 cmbLayout->addWidget(_cmbTable,0,0,6,3); … … 866 886 cmbLayout->setColumnStretch(2,1); 867 887 868 QPushButton* addCmbRowButton = new QPushButton("Add Row");869 888 cmbLayout->addWidget(addCmbRowButton,0,3); 870 889 connect(addCmbRowButton, SIGNAL(clicked()), this, SLOT(slotAddCmbRow())); 871 890 872 QPushButton* delCmbRowButton = new QPushButton("Delete");873 891 cmbLayout->addWidget(delCmbRowButton,1,3); 874 892 connect(delCmbRowButton, SIGNAL(clicked()), this, SLOT(slotDelCmbRow())); … … 877 895 878 896 cmbLayout->addWidget(new QLabel(" Host"), 0, 4); 879 _cmbOutHostLineEdit = new QLineEdit(settings.value("cmbOutHost").toString());880 897 cmbLayout->addWidget(_cmbOutHostLineEdit, 0, 5); 881 882 898 cmbLayout->addWidget(new QLabel(" Port"), 0, 6); 883 _cmbOutPortLineEdit = new QLineEdit(settings.value("cmbOutPort").toString());884 899 _cmbOutPortLineEdit->setMaximumWidth(9*ww); 885 900 cmbLayout->addWidget(_cmbOutPortLineEdit, 0, 7); 886 887 901 cmbLayout->addWidget(new QLabel(" Mountpoint"), 1, 4); 888 _cmbMountpointLineEdit = new QLineEdit(settings.value("cmbMountpoint").toString());889 902 _cmbMountpointLineEdit->setMaximumWidth(10*ww); 890 903 cmbLayout->addWidget(_cmbMountpointLineEdit, 1, 5); 891 892 904 cmbLayout->addWidget(new QLabel(" Password"), 1, 6); 893 _cmbPasswordLineEdit = new QLineEdit(settings.value("cmbPassword").toString());894 905 _cmbPasswordLineEdit->setEchoMode(QLineEdit::Password); 895 906 _cmbPasswordLineEdit->setMaximumWidth(9*ww); 896 907 cmbLayout->addWidget(_cmbPasswordLineEdit, 1, 7); 897 898 908 cmbLayout->addWidget(new QLabel(" Directory, output"), 2, 4); 899 _cmbOutPathLineEdit = new QLineEdit(settings.value("cmbOutPath").toString());900 909 cmbLayout->addWidget(_cmbOutPathLineEdit, 2, 5, 1, 3); 901 902 910 cmbLayout->addWidget(new QLabel(" Directory, SP3"), 3, 4); 903 _cmbSP3PathLineEdit = new QLineEdit(settings.value("cmbSP3Path").toString());904 911 cmbLayout->addWidget(_cmbSP3PathLineEdit, 3, 5, 1, 3); 912 cmbLayout->addWidget(new QLabel(" Combining Broadcast Ephemeris correction streams."),5,3,1,5); 905 913 906 914 cmbgroup->setLayout(cmbLayout);
Note:
See TracChangeset
for help on using the changeset viewer.