- Timestamp:
- Jan 4, 2018, 10:23:05 AM (7 years ago)
- Location:
- trunk/BNC
- Files:
-
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/ChangeLog.txt
r8168 r8231 11 11 during PPP analysis 12 12 Added (18.05.2016): expected observations in RINEX QC 13 Changed (04.01.2018): Transition from Qt 4.x to Qt5, see #105 14 Changed (04.01.2018): Use c++11, see #105 13 15 Changed (15.02.2017): SIRGAS2000 transformation parameters adjusted to IGb14 14 16 Changed (10.04.2017): Transformation parameters for ITRF2005 to GDA94 removed -
trunk/BNC/bnc.pro
r4293 r8231 2 2 TEMPLATE = subdirs 3 3 4 CONFIG += c++11 4 5 CONFIG += ordered 5 6 -
trunk/BNC/src/app.h
r5072 r8231 2 2 #define GnssCenter_APP_H 3 3 4 #include <Qt Gui>4 #include <QtWidgets> 5 5 6 6 class t_app : public QApplication { -
trunk/BNC/src/bncbytescounter.h
r4278 r8231 26 26 #define BNCBYTESCOUNTER_H 27 27 28 #include <Qt Gui>28 #include <QtWidgets> 29 29 30 30 class bncBytesCounter : public QLabel { -
trunk/BNC/src/bnccore.h
r7976 r8231 26 26 #define BNCAPP_H 27 27 28 #include <Qt Gui>28 #include <QtWidgets> 29 29 30 30 #include "bnctime.h" -
trunk/BNC/src/bncfigure.h
r4278 r8231 26 26 #define BNCFIGURE_H 27 27 28 #include <Qt Gui>28 #include <QtWidgets> 29 29 30 30 class bncFigure : public QWidget { -
trunk/BNC/src/bncfigurelate.h
r4278 r8231 26 26 #define BNCFIGURELATE_H 27 27 28 #include <Qt Gui>28 #include <QtWidgets> 29 29 30 30 class bncFigureLate : public QWidget { -
trunk/BNC/src/bncfigureppp.h
r8127 r8231 26 26 #define BNCFIGUREPPP_H 27 27 28 #include <Qt Gui>28 #include <QtWidgets> 29 29 #include "bnctime.h" 30 30 -
trunk/BNC/src/bnchlpdlg.h
r8203 r8231 27 27 28 28 #include <QtCore> 29 #include <Qt Gui>29 #include <QtWidgets> 30 30 31 31 #include <QDialog> -
trunk/BNC/src/bncipport.h
r7230 r8231 27 27 28 28 #include <QtCore> 29 #include <Qt Gui>29 #include <QtWidgets> 30 30 #include <QWhatsThis> 31 31 -
trunk/BNC/src/bncmain.cpp
r8171 r8231 467 467 BNC_CORE->connect(caster, SIGNAL(getThreadsFinished()), &app, SLOT(quit())); 468 468 469 BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " ("BNC_OS") ==========", true);469 BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " (" BNC_OS ") ==========", true); 470 470 471 471 // Normal case - data from Internet -
trunk/BNC/src/bncmap.h
r4711 r8231 26 26 #define BNCMAP_H 27 27 28 #include <Qt Gui>28 #include <QtWidgets> 29 29 #include <QWhatsThis> 30 30 -
trunk/BNC/src/bncmap_svg.cpp
r8127 r8231 40 40 41 41 #include <QtSvg> 42 #include <QtPrintSupport/QPrinter> 43 #include <QtPrintSupport/QPrintDialog> 42 44 43 45 #include <qwt_symbol.h> … … 84 86 85 87 _buttonWhatsThis = new QPushButton(tr("Help=Shift+F1"), this); 86 _buttonWhatsThis->setMaximumWidth(14*ww); 88 _buttonWhatsThis->setMaximumWidth(14*ww); 87 89 connect(_buttonWhatsThis, SIGNAL(clicked()), this, SLOT(slotWhatsThis())); 88 90 … … 117 119 // Destructor 118 120 ///////////////////////////////////////////////////////////////////////////// 119 t_bncMap::~t_bncMap() { 121 t_bncMap::~t_bncMap() { 120 122 delete _mapPlot; 121 123 delete _buttonWhatsThis; 122 124 } 123 125 124 // 126 // 125 127 ///////////////////////////////////////////////////////////////////////////// 126 128 void t_bncMap::slotNewPoint(const QString& name, double latDeg, double lonDeg) { … … 129 131 130 132 QColor red(220,20,60); 131 QwtSymbol* symbol = new QwtSymbol(QwtSymbol::Rect, QBrush(red), 133 QwtSymbol* symbol = new QwtSymbol(QwtSymbol::Rect, QBrush(red), 132 134 QPen(red), QSize(2,2)); 133 135 QwtPlotMarker* marker = new QwtPlotMarker(); … … 184 186 } 185 187 186 // 188 // 187 189 //////////////////////////////////////////////////////////////////////////// 188 190 void t_bncMap::showEvent(QShowEvent* event) { -
trunk/BNC/src/bncnetqueryrtp.cpp
r8203 r8231 11 11 * Created: 27-Dec-2008 12 12 * 13 * Changes: 13 * Changes: 14 14 * 15 15 * -----------------------------------------------------------------------*/ … … 41 41 } 42 42 43 // 43 // 44 44 //////////////////////////////////////////////////////////////////////////// 45 45 void bncNetQueryRtp::stop() { … … 55 55 } 56 56 57 // 57 // 58 58 //////////////////////////////////////////////////////////////////////////// 59 59 void bncNetQueryRtp::slotKeepAlive() { … … 68 68 } 69 69 70 // 70 // 71 71 //////////////////////////////////////////////////////////////////////////// 72 72 void bncNetQueryRtp::waitForRequestResult(const QUrl&, QByteArray&) { 73 73 } 74 74 75 // 75 // 76 76 //////////////////////////////////////////////////////////////////////////// 77 77 void bncNetQueryRtp::waitForReadyRead(QByteArray& outData) { … … 115 115 QString proxyHost = settings.value("proxyHost").toString(); 116 116 int proxyPort = settings.value("proxyPort").toInt(); 117 117 118 118 if ( proxyHost.isEmpty() ) { 119 119 _socket->connectToHost(_url.host(), _url.port()); … … 129 129 QString passW = QUrl::fromPercentEncoding(_url.password().toLatin1()); 130 130 QByteArray userAndPwd; 131 131 132 132 if(!uName.isEmpty() || !passW.isEmpty()) { 133 133 userAndPwd = "Authorization: Basic " + (uName.toLatin1() + ":" + … … 157 157 158 158 _socket->write(reqStr, reqStr.length()); 159 159 160 160 // Read Server Answer 1 161 161 // -------------------- … … 175 175 line = in.readLine(); 176 176 } 177 177 178 178 // Send Request 2 179 179 // -------------- 180 if (!_session.isEmpty()) { 180 if (!_session.isEmpty()) { 181 181 182 182 // Send initial RTP packet for firewall handling … … 198 198 rtpbuffer[11] = (sessInt ) & 0xFF; 199 199 200 _udpSocket->writeDatagram(rtpbuffer, 12, 200 _udpSocket->writeDatagram(rtpbuffer, 12, 201 201 _socket->peerAddress(), serverPort.toInt()); 202 202 } … … 207 207 + "\r\n"; 208 208 _socket->write(reqStr, reqStr.length()); 209 209 210 210 // Read Server Answer 2 211 211 // -------------------- … … 216 216 while (!line.isEmpty()) { 217 217 if (line.indexOf("200 OK") != -1) { 218 emit newMessage(_url. encodedPath().replace(0,1,"")218 emit newMessage(_url.toEncoded().replace(0,1,"") 219 219 + ": UDP connection established", true); 220 220 slotKeepAlive(); … … 233 233 _socket = 0; 234 234 _status = error; 235 emit newMessage(_url. encodedPath().replace(0,1,"")235 emit newMessage(_url.toEncoded().replace(0,1,"") 236 236 + ": NetQuery, waiting for connect", true); 237 237 } -
trunk/BNC/src/bncserialport.h
r7230 r8231 27 27 28 28 #include <QtCore> 29 #include <Qt Gui>29 #include <QtWidgets> 30 30 #include <QWhatsThis> 31 31 -
trunk/BNC/src/bnctabledlg.h
r8127 r8231 27 27 28 28 #include <QtCore> 29 #include <Qt Gui>29 #include <QtWidgets> 30 30 #include <QComboBox> 31 31 #include <QDialog> -
trunk/BNC/src/bnctableitem.h
r8203 r8231 27 27 28 28 #include <QtCore> 29 #include <Qt Gui>29 #include <QtWidgets> 30 30 31 31 #include <QTableWidgetItem> -
trunk/BNC/src/bncudpport.h
r7230 r8231 27 27 28 28 #include <QtCore> 29 #include <Qt Gui>29 #include <QtWidgets> 30 30 #include <QWhatsThis> 31 31 -
trunk/BNC/src/bncwindow.h
r8127 r8231 26 26 #define BNCWINDOW_H 27 27 28 #include <Qt Gui>28 #include <QtWidgets> 29 29 #include <QMainWindow> 30 30 #include <QWhatsThis> -
trunk/BNC/src/map/bncmapwin.h
r6446 r8231 26 26 #define BNCMAPWIN_H 27 27 28 #include <Qt Gui>28 #include <QtWidgets> 29 29 #include <QtWebKit> 30 30 #include <QNetworkProxy> -
trunk/BNC/src/pppWidgets.cpp
r8010 r8231 171 171 _staTable->setSelectionMode(QAbstractItemView::ExtendedSelection); 172 172 _staTable->setSelectionBehavior(QAbstractItemView::SelectRows); 173 _staTable->horizontalHeader()->set ResizeMode(QHeaderView::Interactive);173 _staTable->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive); 174 174 _staTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft); 175 175 -
trunk/BNC/src/pppWidgets.h
r7961 r8231 26 26 #define PPPWIDGETS_H 27 27 28 #include <Qt Gui>28 #include <QtWidgets> 29 29 30 30 class qtFileChooser; -
trunk/BNC/src/qtfilechooser.h
r4278 r8231 3 3 #define QTFILECHOOSER 4 4 5 #include <Qt Gui>5 #include <QtWidgets> 6 6 7 7 class qtFileChooser : public QWidget { -
trunk/BNC/src/reqcdlg.h
r6795 r8231 27 27 28 28 #include <QtCore> 29 #include <Qt Gui>29 #include <QtWidgets> 30 30 31 31 #include "bncconst.h" -
trunk/BNC/src/rinex/graphwin.cpp
r8127 r8231 35 35 * Created: 23-Jun-2012 36 36 * 37 * Changes: 37 * Changes: 38 38 * 39 39 * -----------------------------------------------------------------------*/ … … 49 49 // Constructor 50 50 //////////////////////////////////////////////////////////////////////////// 51 t_graphWin::t_graphWin(QWidget* parent, const QString& fileName, 51 t_graphWin::t_graphWin(QWidget* parent, const QString& fileName, 52 52 const QVector<QWidget*>& plots, 53 53 const QByteArray* scaleTitle, … … 79 79 _colorScale->setAlignment( QwtScaleDraw::RightScale ); 80 80 _colorScale->setColorBarEnabled( true ); 81 81 82 82 QwtText title(*scaleTitle); 83 83 QFont font = _colorScale->font(); … … 85 85 title.setFont( font ); 86 86 _colorScale->setTitle( title ); 87 87 88 88 _colorScale->setColorMap(*scaleInterval, new t_colorMap()); 89 89 90 90 QwtLinearScaleEngine scaleEngine; 91 91 _colorScale->setTransformation(scaleEngine.transformation()); -
trunk/BNC/src/rinex/graphwin.h
r4579 r8231 27 27 28 28 #include <QtCore> 29 #include <QtGui> 29 #include <QtWidgets> 30 #include <QtPrintSupport/QPrinter> 31 #include <QtPrintSupport/QPrintDialog> 30 32 #include <qwt_color_map.h> 31 33 #include <qwt_plot.h> … … 53 55 54 56 public: 55 t_graphWin(QWidget* parent, const QString& fileName, 57 t_graphWin(QWidget* parent, const QString& fileName, 56 58 const QVector<QWidget*>& plots, const QByteArray* scaleTitle, 57 59 const QwtInterval* scaleInterval); -
trunk/BNC/src/src.pri
r7858 r8231 6 6 7 7 QT += svg 8 QT += printsupport 9 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 8 10 9 11 unix:QMAKE_CFLAGS_RELEASE -= -O2 -
trunk/BNC/src/upload/bnccustomtrafo.h
r3237 r8231 3 3 4 4 #include <QtCore> 5 #include <Qt Gui>5 #include <QtWidgets> 6 6 #include <QWhatsThis> 7 7
Note:
See TracChangeset
for help on using the changeset viewer.