Changeset 1780 in ntrip


Ignore:
Timestamp:
Apr 8, 2009, 12:07:58 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnc.pro

    r1779 r1780  
    3232          bncnetqueryrtp.h bncsettings.h latencychecker.h             \
    3333          bncipport.h bncnetqueryv0.h bncnetqueryudp.h                \
    34           bncnetqueryudp0.h                                           \
     34          bncnetqueryudp0.h bncudpport.h                              \
    3535          bncserialport.h bncnetquerys.h                              \
    3636          RTCM/GPSDecoder.h RTCM/RTCM2.h RTCM/RTCM2Decoder.h          \
     
    5454          bncnetqueryrtp.cpp bncsettings.cpp latencychecker.cpp       \
    5555          bncipport.cpp bncnetqueryv0.cpp bncnetqueryudp.cpp          \
    56           bncnetqueryudp0.cpp                                         \
     56          bncnetqueryudp0.cpp bncudpport.cpp                          \
    5757          bncserialport.cpp bncnetquerys.cpp                          \
    5858          RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp                        \
  • trunk/BNC/bncipport.cpp

    r1736 r1780  
    141141                                + _ipLatLineEdit->text() + " "
    142142                                + _ipLonLineEdit->text() + " "
    143                                 + "no N");
     143                                + "N");
    144144  } else {
    145145   QMessageBox::warning(this, tr("Warning"),
  • trunk/BNC/bncwindow.cpp

    r1751 r1780  
    4747#include "bnctabledlg.h"
    4848#include "bncipport.h"
     49#include "bncudpport.h"
    4950#include "bncserialport.h"
    5051#include "bnchlpdlg.h"
     
    827828  msgBox.setText("Add stream(s) coming from:");
    828829
    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);
    833835
    834836  msgBox.exec();
     
    847849    ipp->exec();
    848850    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;
    849857  } else if (msgBox.clickedButton() == buttonSerial) {
    850858    bncSerialPort* sep = new bncSerialPort(this);
Note: See TracChangeset for help on using the changeset viewer.