Changeset 1737 in ntrip
- Timestamp:
- Mar 6, 2009, 1:19:07 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnc.pro
r1718 r1737 32 32 bncnetqueryrtp.h bncsettings.h latencychecker.h \ 33 33 bncipport.h bncnetqueryv0.h bncnetqueryudp.h \ 34 bncserialport.h \ 34 35 RTCM/GPSDecoder.h RTCM/RTCM2.h RTCM/RTCM2Decoder.h \ 35 36 RTCM/RTCM2_2021.h RTCM/rtcm_utils.h \ … … 52 53 bncnetqueryrtp.cpp bncsettings.cpp latencychecker.cpp \ 53 54 bncipport.cpp bncnetqueryv0.cpp bncnetqueryudp.cpp \ 55 bncserialport.cpp \ 54 56 RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \ 55 57 RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \ -
trunk/BNC/bncwindow.cpp
r1731 r1737 47 47 #include "bnctabledlg.h" 48 48 #include "bncipport.h" 49 #include "bncserialport.h" 49 50 #include "bnchlpdlg.h" 50 51 #include "bnchtml.h" … … 62 63 int ww = QFontMetrics(this->font()).width('w'); 63 64 64 static const QStringList labels = QString("account, Streams: broadcaster:port/mountpoint,decoder,lat,long,nmea,ntrip,bytes").split(",");65 static const QStringList labels = QString("account, Streams: resource loader / mountpoint,decoder,lat,long,nmea,ntrip,bytes").split(","); 65 66 66 67 setMinimumSize(85*ww, 65*ww); … … 825 826 QPushButton *buttonNtrip = msgBox.addButton(tr("Caster"), QMessageBox::ActionRole); 826 827 QPushButton *buttonIP = msgBox.addButton(tr("TCP/IP port"), QMessageBox::ActionRole); 828 QPushButton *buttonSerial = msgBox.addButton(tr("Serial port"), QMessageBox::ActionRole); 827 829 QPushButton *buttonCancel = msgBox.addButton(tr("Cancel"), QMessageBox::ActionRole); 828 830 … … 830 832 831 833 if (msgBox.clickedButton() == buttonNtrip) { 832 bncTableDlg* dlg = new bncTableDlg(this); 834 bncTableDlg* dlg = new bncTableDlg(this); 833 835 dlg->move(this->pos().x()+50, this->pos().y()+50); 834 connect(dlg, SIGNAL(newMountPoints(QStringList*)), 836 connect(dlg, SIGNAL(newMountPoints(QStringList*)), 835 837 this, SLOT(slotNewMountPoints(QStringList*))); 836 838 dlg->exec(); 837 839 delete dlg; 838 840 } else if (msgBox.clickedButton() == buttonIP) { 839 bncIpPort* ipp = new bncIpPort(this); 840 connect(ipp, SIGNAL(newMountPoints(QStringList*)), 841 bncIpPort* ipp = new bncIpPort(this); 842 connect(ipp, SIGNAL(newMountPoints(QStringList*)), 841 843 this, SLOT(slotNewMountPoints(QStringList*))); 842 844 ipp->exec(); 843 845 delete ipp; 846 } else if (msgBox.clickedButton() == buttonSerial) { 847 bncSerialPort* sep = new bncSerialPort(this); 848 connect(sep, SIGNAL(newMountPoints(QStringList*)), 849 this, SLOT(slotNewMountPoints(QStringList*))); 850 sep->exec(); 851 delete sep; 844 852 } else if (msgBox.clickedButton() == buttonCancel) { 845 853 // Cancel
Note:
See TracChangeset
for help on using the changeset viewer.