Changeset 1737 in ntrip for trunk/BNC/bncwindow.cpp
- Timestamp:
- Mar 6, 2009, 1:19:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.