Changeset 8231 in ntrip for trunk/BNC/src/bncmap_svg.cpp


Ignore:
Timestamp:
Jan 4, 2018, 10:23:05 AM (6 years ago)
Author:
wiese
Message:

CHANGE: #105 QT5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncmap_svg.cpp

    r8127 r8231  
    4040
    4141#include <QtSvg>
     42#include <QtPrintSupport/QPrinter>
     43#include <QtPrintSupport/QPrintDialog>
    4244
    4345#include <qwt_symbol.h>
     
    8486
    8587  _buttonWhatsThis = new QPushButton(tr("Help=Shift+F1"), this);
    86   _buttonWhatsThis->setMaximumWidth(14*ww); 
     88  _buttonWhatsThis->setMaximumWidth(14*ww);
    8789  connect(_buttonWhatsThis, SIGNAL(clicked()), this, SLOT(slotWhatsThis()));
    8890
     
    117119// Destructor
    118120/////////////////////////////////////////////////////////////////////////////
    119 t_bncMap::~t_bncMap() { 
     121t_bncMap::~t_bncMap() {
    120122  delete _mapPlot;
    121123  delete _buttonWhatsThis;
    122124}
    123125
    124 // 
     126//
    125127/////////////////////////////////////////////////////////////////////////////
    126128void t_bncMap::slotNewPoint(const QString& name, double latDeg, double lonDeg) {
     
    129131
    130132  QColor red(220,20,60);
    131   QwtSymbol* symbol = new QwtSymbol(QwtSymbol::Rect, QBrush(red), 
     133  QwtSymbol* symbol = new QwtSymbol(QwtSymbol::Rect, QBrush(red),
    132134                                    QPen(red), QSize(2,2));
    133135  QwtPlotMarker* marker = new QwtPlotMarker();
     
    184186}
    185187
    186 // 
     188//
    187189////////////////////////////////////////////////////////////////////////////
    188190void t_bncMap::showEvent(QShowEvent* event) {
Note: See TracChangeset for help on using the changeset viewer.