Changeset 4634 in ntrip
- Timestamp:
- Sep 1, 2012, 6:47:48 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncmap_svg.cpp
r4631 r4634 9 9 #include <qwt_plot_canvas.h> 10 10 #include <qwt_plot_panner.h> 11 #include <qwt_plot_zoomer.h> 11 12 #include <qwt_plot_magnifier.h> 12 13 #include <qwt_plot_renderer.h> … … 22 23 _mapPlot = new QwtPlot(); 23 24 24 (void)new QwtPlotPanner(_mapPlot->canvas()); 25 (void)new QwtPlotMagnifier(_mapPlot->canvas()); 25 _mapPlot->setAxisScale(QwtPlot::xBottom, -180.0, 180.0); 26 _mapPlot->setAxisScale(QwtPlot::yLeft, -90.0, 90.0); 27 28 // (void)new QwtPlotPanner(_mapPlot->canvas()); 29 // (void)new QwtPlotMagnifier(_mapPlot->canvas()); 30 (void)new QwtPlotZoomer(_mapPlot->canvas()); 26 31 27 32 _mapPlot->canvas()->setFocusPolicy(Qt::WheelFocus);
Note:
See TracChangeset
for help on using the changeset viewer.