Public Slots | Signals | Public Member Functions | List of all members
PlotPanner Class Reference

#include <plotpanner.h>

Inheritance diagram for PlotPanner:
Inheritance graph
[legend]

Public Slots

void moveCanvas (int dx, int dy) override
 
- Public Slots inherited from QwtPlotPanner
virtual void moveCanvas (int dx, int dy)
 

Signals

void rescaled (QRectF new_size)
 
- Signals inherited from QwtPanner
void moved (int dx, int dy)
 
void panned (int dx, int dy)
 

Public Member Functions

 PlotPanner (QWidget *canvas)
 
- Public Member Functions inherited from QwtPlotPanner
QWidget * canvas ()
 Return observed plot canvas. More...
 
const QWidget * canvas () const
 Return Observed plot canvas. More...
 
bool isAxisEnabled (QwtAxisId) const
 
QwtPlotplot ()
 Return plot widget, containing the observed plot canvas. More...
 
const QwtPlotplot () const
 Return plot widget, containing the observed plot canvas. More...
 
 QwtPlotPanner (QWidget *)
 A panner for the canvas of a QwtPlot. More...
 
void setAxisEnabled (QwtAxisId axisId, bool on)
 En/Disable an axis. More...
 
virtual ~QwtPlotPanner ()
 Destructor. More...
 
- Public Member Functions inherited from QwtPanner
const QCursor cursor () const
 
virtual bool eventFilter (QObject *, QEvent *) QWT_OVERRIDE
 Event filter. More...
 
void getAbortKey (int &key, Qt::KeyboardModifiers &) const
 Get the abort key and modifiers. More...
 
void getMouseButton (Qt::MouseButton &button, Qt::KeyboardModifiers &) const
 Get mouse button and modifiers used for panning. More...
 
bool isEnabled () const
 
bool isOrientationEnabled (Qt::Orientation) const
 
Qt::Orientations orientations () const
 Return the orientation, where panning is enabled. More...
 
 QwtPanner (QWidget *parent)
 
void setAbortKey (int key, Qt::KeyboardModifiers=Qt::NoModifier)
 
void setCursor (const QCursor &)
 
void setEnabled (bool)
 En/disable the panner. More...
 
void setMouseButton (Qt::MouseButton, Qt::KeyboardModifiers=Qt::NoModifier)
 
void setOrientations (Qt::Orientations)
 
virtual ~QwtPanner ()
 Destructor. More...
 

Additional Inherited Members

- Protected Member Functions inherited from QwtPlotPanner
virtual QBitmap contentsMask () const QWT_OVERRIDE
 
virtual QPixmap grab () const QWT_OVERRIDE
 
- Protected Member Functions inherited from QwtPanner
virtual void paintEvent (QPaintEvent *) QWT_OVERRIDE
 Paint event. More...
 
virtual void widgetKeyPressEvent (QKeyEvent *)
 
virtual void widgetKeyReleaseEvent (QKeyEvent *)
 
virtual void widgetMouseMoveEvent (QMouseEvent *)
 
virtual void widgetMousePressEvent (QMouseEvent *)
 
virtual void widgetMouseReleaseEvent (QMouseEvent *)
 

Detailed Description

Definition at line 6 of file plotpanner.h.

Constructor & Destructor Documentation

◆ PlotPanner()

PlotPanner::PlotPanner ( QWidget *  canvas)
inlineexplicit

Definition at line 11 of file plotpanner.h.

Member Function Documentation

◆ moveCanvas

void PlotPanner::moveCanvas ( int  dx,
int  dy 
)
overrideslot

Definition at line 7 of file plotpanner.cpp.

◆ rescaled

void PlotPanner::rescaled ( QRectF  new_size)
signal

The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:12:54