Changeset 375 in ntrip for trunk/BNC/bnctabledlg.cpp
- Timestamp:
- Jan 22, 2007, 7:01:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnctabledlg.cpp
r371 r375 56 56 int ww = QFontMetrics(_casterHostLineEdit->font()).width('w'); 57 57 _casterHostLineEdit->setMaximumWidth(18*ww); 58 _casterHostLineEdit->setWhatsThis(tr("Enter the NTRIP broadcaster host IP name or number and port number. <u>http://www.rtcm-ntrip.org/home</u> provides information about known NTRIP broadcaster installations. Note that EUREF and IGS operate NTRIP broadcasters at <u>http://www.euref-ip.net/home</u> and <u>http://www.igs-ip.net/home</u>.")); 58 59 _casterPortLineEdit = new QLineEdit(settings.value("casterPort").toString()); 59 60 _casterPortLineEdit->setMaximumWidth(9*ww); 61 _casterPortLineEdit->setWhatsThis(tr("Enter the NTRIP broadcaster host IP name or number and port number. <u>http://www.rtcm-ntrip.org/home</u> provides information about known NTRIP broadcaster installations. Note that EUREF and IGS operate NTRIP broadcasters at <u>http://www.euref-ip.net/home</u> and <u>http://www.igs-ip.net/home</u>.")); 60 62 _casterUserLineEdit = new QLineEdit(settings.value("casterUser").toString()); 61 63 _casterUserLineEdit->setMaximumWidth(9*ww); 64 _casterUserLineEdit->setWhatsThis(tr("Streams on NTRIP broadcasters might be protected by password. Enter a valid 'User' ID and 'Password' for access to protected NTRIP broadcaster streams. Accounts are usually provided per NTRIP broadcaster through a registration procedure. Register through <u>http://igs.bkg.bund.de/index_ntrip_reg.htm</u> for access to protected streams on <u>www.euref-ip.net</u> and <u>www.igs-ip.net</u>.")); 62 65 _casterPasswordLineEdit = new QLineEdit(settings.value("casterPassword").toString()); 63 66 _casterPasswordLineEdit->setMaximumWidth(9*ww); 64 67 _casterPasswordLineEdit->setEchoMode(QLineEdit::Password); 68 _casterPasswordLineEdit->setWhatsThis(tr("Streams on NTRIP broadcasters might be protected by password. Enter a valid 'User' ID and 'Password' for access to protected NTRIP broadcaster streams. Accounts are usually provided per NTRIP broadcaster through a registration procedure. Register through <u>http://igs.bkg.bund.de/index_ntrip_reg.htm</u> for access to protected streams on <u>www.euref-ip.net</u> and <u>www.igs-ip.net</u>.")); 65 69 66 70 QGridLayout* editLayout = new QGridLayout; … … 77 81 78 82 _table = new QTableWidget(this); 83 _table->setWhatsThis(tr("<p>Hit button 'Get Table' to download the source-table from the NTRIP broadcaster. Select your streams line by line, use +Shift and +Ctrl when necessary. Hit 'OK' to return to the main window.</p><p>Pay attention to data fields 'format' and 'format-details'. Keep in mind that BNC can only decode and convert streams that come in RTCM 2.x, RTCM 3, or RTIGS formats. RTCM 2.x streams must contain message types 18 and 19 while RTCM 3 streams must contain GPS message types 1002 or 1004 and may contain GLONASS message types 1010 or 1012, see data field 'format-details' for available message types and their repetition rates in brackets.</p><p>The contents of data field 'type' tells you whether a stream comes from a physical Reference Station (RS) or a Virtual Reference Station (VRS).</p>")); 79 84 connect(_table, SIGNAL(itemSelectionChanged()), 80 85 this, SLOT(slotSelectionChanged())); … … 240 245 241 246 int ww = QFontMetrics(this->font()).width('w'); 242 _table->horizontalHeader()->resizeSection(0, 9*ww);247 _table->horizontalHeader()->resizeSection(0,10*ww); 243 248 _table->horizontalHeader()->resizeSection(2,8*ww); 244 249 _table->horizontalHeader()->resizeSection(3,15*ww);
Note:
See TracChangeset
for help on using the changeset viewer.