Changeset 1609 in ntrip
- Timestamp:
- Feb 18, 2009, 4:59:43 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnc.pro
r1558 r1609 31 31 bncnetquery.h bncnetqueryv1.h bncnetqueryv2.h \ 32 32 bncnetqueryrtp.h bncsettings.h latencychecker.h \ 33 bncipport.h \ 33 34 RTCM/GPSDecoder.h RTCM/RTCM2.h RTCM/RTCM2Decoder.h \ 34 35 RTCM/RTCM2_2021.h RTCM/rtcm_utils.h \ … … 50 51 bnczerodecoder.cpp bncnetqueryv1.cpp bncnetqueryv2.cpp \ 51 52 bncnetqueryrtp.cpp bncsettings.cpp latencychecker.cpp \ 53 bncipport.cpp \ 52 54 RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \ 53 55 RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \ -
trunk/BNC/bncwindow.cpp
r1605 r1609 771 771 } 772 772 773 bncTableDlg* dlg = new bncTableDlg(this); 774 dlg->move(this->pos().x()+50, this->pos().y()+50); 775 connect(dlg, SIGNAL(newMountPoints(QStringList*)), 773 QMessageBox msgBox; 774 msgBox.setIcon(QMessageBox::Question); 775 msgBox.setWindowTitle("Add Streams"); 776 msgBox.setText("Add stream(s) coming from:"); 777 778 QPushButton *buttonNtrip = msgBox.addButton(tr("Caster"), QMessageBox::ActionRole); 779 QPushButton *buttonIP = msgBox.addButton(tr("IP port"), QMessageBox::ActionRole); 780 QPushButton *buttonCancel = msgBox.addButton(tr("Cancel"), QMessageBox::ActionRole); 781 782 msgBox.exec(); 783 784 if (msgBox.clickedButton() == buttonNtrip) { 785 bncTableDlg* dlg = new bncTableDlg(this); 786 dlg->move(this->pos().x()+50, this->pos().y()+50); 787 connect(dlg, SIGNAL(newMountPoints(QStringList*)), 776 788 this, SLOT(slotNewMountPoints(QStringList*))); 777 dlg->exec(); 778 delete dlg; 779 789 dlg->exec(); 790 delete dlg; 791 } else if (msgBox.clickedButton() == buttonIP) { 792 bncIpPort* ipp = new bncIpPort(this); 793 ipp->move(this->pos().x()+50, this->pos().y()+50); 794 connect(ipp, SIGNAL(newMountPoints(QStringList*)), 795 this, SLOT(slotNewMountPoints(QStringList*))); 796 ipp->exec(); 797 delete ipp; 798 } else if (msgBox.clickedButton() == buttonCancel) { 799 // Cancel 800 } 780 801 } 781 802
Note:
See TracChangeset
for help on using the changeset viewer.