Changeset 2196 in ntrip
- Timestamp:
- Jan 6, 2010, 9:45:00 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncfigureppp.cpp
r2177 r2196 251 251 } 252 252 } 253 painter.setPen(QColor(Qt::red)); 253 254 // lines 255 // ----- 256 painter.setPen(QColor(Qt::gray)); 254 257 painter.drawLine(pltPoint(t1, neu[ii-1][0]), pltPoint(t2, neu[ii][0])); 255 painter.setPen(QColor(0,210,0,127));256 258 painter.drawLine(pltPoint(t1, neu[ii-1][1]), pltPoint(t2, neu[ii][1])); 257 painter.setPen(QColor(Qt::blue));258 259 painter.drawLine(pltPoint(t1, neu[ii-1][2]), pltPoint(t2, neu[ii][2])); 260 261 // dots 262 // ---- 263 QPointF pntDot; 264 pntDot = pltPoint(t1,neu[ii-1][0]); 265 painter.setBrush(QColor(Qt::red)); 266 painter.drawEllipse(pntDot,ww*0.2,ww*0.2); 267 pntDot = pltPoint(t1,neu[ii-1][1]); 268 painter.setBrush(QColor(Qt::green)); 269 painter.drawEllipse(pntDot,ww*0.2,ww*0.2); 270 pntDot = pltPoint(t1,neu[ii-1][2]); 271 painter.setBrush(QBrush(Qt::blue)); 272 painter.drawEllipse(pntDot,ww*0.2,ww*0.2); 259 273 } 260 274 }
Note:
See TracChangeset
for help on using the changeset viewer.