- Timestamp:
- Sep 18, 2013, 3:20:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/monitor/worldplot.cpp
r5435 r5490 73 73 _markers.clear(); 74 74 75 QColor red(220,20,60);75 QColor color(220,20,60); 76 76 77 77 QListIterator<t_point*> ip(points); … … 81 81 if (point->_lonDeg > 180.0) point->_lonDeg -= 360.0; 82 82 83 QwtSymbol* symbol = new QwtSymbol(QwtSymbol::Rect, QBrush( red),84 QPen( red), QSize(2,2));83 QwtSymbol* symbol = new QwtSymbol(QwtSymbol::Rect, QBrush(color), 84 QPen(color), QSize(2,2)); 85 85 QwtPlotMarker* marker = new QwtPlotMarker(); 86 86 marker->setValue(point->_lonDeg, point->_latDeg); … … 95 95 font.setPointSize(font.pointSize()*0.8); 96 96 text.setFont(font); 97 text.setColor(color); 97 98 marker->setLabel(text); 98 99 marker->setSymbol(symbol);
Note:
See TracChangeset
for help on using the changeset viewer.