Changeset 1780 in ntrip for trunk/BNC/bncwindow.cpp
- Timestamp:
- Apr 8, 2009, 12:07:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r1751 r1780 47 47 #include "bnctabledlg.h" 48 48 #include "bncipport.h" 49 #include "bncudpport.h" 49 50 #include "bncserialport.h" 50 51 #include "bnchlpdlg.h" … … 827 828 msgBox.setText("Add stream(s) coming from:"); 828 829 829 QPushButton *buttonNtrip = msgBox.addButton(tr("Caster"), QMessageBox::ActionRole); 830 QPushButton *buttonIP = msgBox.addButton(tr("TCP/IP port"), QMessageBox::ActionRole); 831 QPushButton *buttonSerial = msgBox.addButton(tr("Serial port"), QMessageBox::ActionRole); 832 QPushButton *buttonCancel = msgBox.addButton(tr("Cancel"), QMessageBox::ActionRole); 830 QPushButton* buttonNtrip = msgBox.addButton(tr("Caster"), QMessageBox::ActionRole); 831 QPushButton* buttonIP = msgBox.addButton(tr("TCP/IP port"), QMessageBox::ActionRole); 832 QPushButton* buttonUDP = msgBox.addButton(tr("UDP port"), QMessageBox::ActionRole); 833 QPushButton* buttonSerial = msgBox.addButton(tr("Serial port"), QMessageBox::ActionRole); 834 QPushButton* buttonCancel = msgBox.addButton(tr("Cancel"), QMessageBox::ActionRole); 833 835 834 836 msgBox.exec(); … … 847 849 ipp->exec(); 848 850 delete ipp; 851 } else if (msgBox.clickedButton() == buttonUDP) { 852 bncUdpPort* udp = new bncUdpPort(this); 853 connect(udp, SIGNAL(newMountPoints(QStringList*)), 854 this, SLOT(slotNewMountPoints(QStringList*))); 855 udp->exec(); 856 delete udp; 849 857 } else if (msgBox.clickedButton() == buttonSerial) { 850 858 bncSerialPort* sep = new bncSerialPort(this);
Note:
See TracChangeset
for help on using the changeset viewer.