Changeset 8127 in ntrip for trunk/BNC/qwt/qwt_plot_picker.h


Ignore:
Timestamp:
May 10, 2017, 3:20:54 PM (7 years ago)
Author:
stoecker
Message:

update qwt and qwtpolar, many QT5 fixes (unfinished)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_plot_picker.h

    r4271 r8127  
    1212
    1313#include "qwt_global.h"
    14 #include "qwt_plot_canvas.h"
    1514#include "qwt_picker.h"
    1615#include <qvector.h>
     
    2322  QwtPlotPicker is a QwtPicker tailored for selections on
    2423  a plot canvas. It is set to a x-Axis and y-Axis and
    25   translates all pixel coordinates into this coodinate system.
     24  translates all pixel coordinates into this coordinate system.
    2625*/
    2726
     
    3130
    3231public:
    33     explicit QwtPlotPicker( QwtPlotCanvas * );
     32    explicit QwtPlotPicker( QWidget *canvas );
    3433    virtual ~QwtPlotPicker();
    3534
    36     explicit QwtPlotPicker( int xAxis, int yAxis, QwtPlotCanvas * );
     35    explicit QwtPlotPicker( int xAxis, int yAxis, QWidget * );
    3736
    3837    explicit QwtPlotPicker( int xAxis, int yAxis,
    39         RubberBand rubberBand, DisplayMode trackerMode,
    40         QwtPlotCanvas * );
     38        RubberBand rubberBand, DisplayMode trackerMode, QWidget * );
    4139
    4240    virtual void setAxis( int xAxis, int yAxis );
     
    4846    const QwtPlot *plot() const;
    4947
    50     QwtPlotCanvas *canvas();
    51     const QwtPlotCanvas *canvas() const;
     48    QWidget *canvas();
     49    const QWidget *canvas() const;
    5250
    5351Q_SIGNALS:
    5452
    5553    /*!
    56       A signal emitted in case of selectionFlags() & PointSelection.
     54      A signal emitted in case of QwtPickerMachine::PointSelection.
    5755      \param pos Selected point
    5856    */
     
    6058
    6159    /*!
    62       A signal emitted in case of selectionFlags() & RectSelection.
     60      A signal emitted in case of QwtPickerMachine::RectSelection.
    6361      \param rect Selected rectangle
    6462    */
Note: See TracChangeset for help on using the changeset viewer.