Changeset 8231 in ntrip for trunk/BNC/src/bncmap_svg.cpp
- Timestamp:
- Jan 4, 2018, 10:23:05 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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) {
Note:
See TracChangeset
for help on using the changeset viewer.