Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > b8336ccf169767ec076cad8fc60ead6c > files > 136

lib64qwt-devel-6.0.1-6.mga4.x86_64.rpm

#include <qobject.h>
#include <qrect.h>

class QwtPlot;
class QwtScaleWidget;

class ScalePicker: public QObject
{
    Q_OBJECT
public:
    ScalePicker(QwtPlot *plot);
    virtual bool eventFilter(QObject *, QEvent *);

Q_SIGNALS:
    void clicked(int axis, double value);

private:
    void mouseClicked(const QwtScaleWidget *, const QPoint &);
    QRect scaleRect(const QwtScaleWidget *) const;
};