Changeset 1737 in ntrip


Ignore:
Timestamp:
Mar 6, 2009, 1:19:07 PM (15 years ago)
Author:
weber
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnc.pro

    r1718 r1737  
    3232          bncnetqueryrtp.h bncsettings.h latencychecker.h             \
    3333          bncipport.h bncnetqueryv0.h bncnetqueryudp.h                \
     34          bncserialport.h                                             \
    3435          RTCM/GPSDecoder.h RTCM/RTCM2.h RTCM/RTCM2Decoder.h          \
    3536          RTCM/RTCM2_2021.h RTCM/rtcm_utils.h                         \
     
    5253          bncnetqueryrtp.cpp bncsettings.cpp latencychecker.cpp       \
    5354          bncipport.cpp bncnetqueryv0.cpp bncnetqueryudp.cpp          \
     55          bncserialport.cpp                                           \
    5456          RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp                        \
    5557          RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp                     \
  • trunk/BNC/bncwindow.cpp

    r1731 r1737  
    4747#include "bnctabledlg.h"
    4848#include "bncipport.h"
     49#include "bncserialport.h"
    4950#include "bnchlpdlg.h"
    5051#include "bnchtml.h"
     
    6263  int ww = QFontMetrics(this->font()).width('w');
    6364 
    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(",");
    6566
    6667  setMinimumSize(85*ww, 65*ww);
     
    825826  QPushButton *buttonNtrip = msgBox.addButton(tr("Caster"), QMessageBox::ActionRole);
    826827  QPushButton *buttonIP = msgBox.addButton(tr("TCP/IP port"), QMessageBox::ActionRole);
     828  QPushButton *buttonSerial = msgBox.addButton(tr("Serial port"), QMessageBox::ActionRole);
    827829  QPushButton *buttonCancel = msgBox.addButton(tr("Cancel"), QMessageBox::ActionRole);
    828830
     
    830832
    831833  if (msgBox.clickedButton() == buttonNtrip) {
    832     bncTableDlg* dlg = new bncTableDlg(this); 
     834    bncTableDlg* dlg = new bncTableDlg(this);
    833835    dlg->move(this->pos().x()+50, this->pos().y()+50);
    834     connect(dlg, SIGNAL(newMountPoints(QStringList*)), 
     836    connect(dlg, SIGNAL(newMountPoints(QStringList*)),
    835837          this, SLOT(slotNewMountPoints(QStringList*)));
    836838    dlg->exec();
    837839    delete dlg;
    838840  } 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*)),
    841843          this, SLOT(slotNewMountPoints(QStringList*)));
    842844    ipp->exec();
    843845    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;
    844852  } else if (msgBox.clickedButton() == buttonCancel) {
    845853    // Cancel
Note: See TracChangeset for help on using the changeset viewer.