Changeset 1789 in ntrip
- Timestamp:
- Apr 8, 2009, 11:01:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncudpport.cpp
r1782 r1789 53 53 QGridLayout* editLayout = new QGridLayout; 54 54 55 setWindowTitle(tr("Add Stream from TCP/IP Port"));55 setWindowTitle(tr("Add Stream from UDP Port")); 56 56 57 _ipHostLineEdit = new QLineEdit();58 57 _ipPortLineEdit = new QLineEdit(); 59 58 _ipMountLineEdit = new QLineEdit(); … … 71 70 // WhatsThis 72 71 // --------- 73 _ipHostLineEdit->setWhatsThis(tr("<p>If no proxy server is involed in the communication, BNC allows to retrieve streams via TCP directly from an IP address without using the NTRIP transport protocol.</p><p>Enter the IP address of the stream providing host.</p>")); 74 _ipPortLineEdit->setWhatsThis(tr("<p>Enter the IP port number of the stream providing host.</p>")); 72 _ipPortLineEdit->setWhatsThis(tr("<p>BNC allows to pick up streams arriving directly at one of the local host's UDP ports without using the NTRIP transport protocol.</p><p>Enter the local port number where the UDP stream arrives.</p>")); 75 73 _ipMountLineEdit->setWhatsThis(tr("<p>Specify a mountpoint.</p><p>Recommended is a 4-character station ID.<br>Example: FFMJ</p>")); 76 74 _ipFormatLineEdit->setWhatsThis(tr("<p>Specify the stream format.</p><p>Available options are 'RTCM_2', 'RTCM_3', 'RTIGS', and 'ZERO'.</p>")); … … 78 76 _ipLonLineEdit->setWhatsThis(tr("<p>Enter the approximate longitude of the stream providing receiver in degrees.<p></p>Example: -15.20</p>")); 79 77 80 editLayout->addWidget(new QLabel(tr("Host")), 0, 0, Qt::AlignRight); 81 editLayout->addWidget(_ipHostLineEdit, 0, 1); 82 editLayout->addWidget(new QLabel(tr("Port")), 0, 2, Qt::AlignRight); 83 editLayout->addWidget(_ipPortLineEdit, 0, 3); 78 editLayout->addWidget(new QLabel(tr("UDP Port")), 0, 0, Qt::AlignRight); 79 editLayout->addWidget(_ipPortLineEdit, 0, 1); 84 80 editLayout->addWidget(new QLabel(tr("Mountpoint")),1, 0, Qt::AlignRight); 85 81 editLayout->addWidget(_ipMountLineEdit, 1, 1); … … 128 124 QStringList* mountPoints = new QStringList; 129 125 130 if ( !_ipHostLineEdit->text().isEmpty() && 131 !_ipPortLineEdit->text().isEmpty() && 126 if ( !_ipPortLineEdit->text().isEmpty() && 132 127 !_ipMountLineEdit->text().isEmpty() && 133 128 !_ipFormatLineEdit->text().isEmpty() && … … 135 130 !_ipLonLineEdit->text().isEmpty() ) { 136 131 137 mountPoints->push_back("// " + _ipHostLineEdit->text() + ":"132 mountPoints->push_back("//127.0.0.1:" 138 133 + _ipPortLineEdit->text() + "/" 139 134 + _ipMountLineEdit->text() + " "
Note:
See TracChangeset
for help on using the changeset viewer.