23 #ifndef __QtHandles_Canvas__
24 #define __QtHandles_Canvas__ 1
54 void redraw (
bool sync =
false);
57 void print (
const QString& file_cmd,
const QString& term);
76 virtual void drawZoomBox (
const QPoint& p1,
const QPoint& p2) = 0;
77 virtual void resize (
int x,
int y,
int width,
int height) = 0;
79 const QPoint& pt) = 0;
graphics_handle m_mouseAxes
virtual QWidget * qWidget(void)=0
virtual void autoAxes(const graphics_handle &handle)=0
void updateCurrentPoint(const graphics_object &fig, const graphics_object &obj, QMouseEvent *event)
void print(const QString &file_cmd, const QString &term)
void redraw(bool sync=false)
void canvasToggleGrid(const graphics_handle &handle)
virtual void drawZoomBox(const QPoint &p1, const QPoint &p2)=0
void canvasMouseDoubleClickEvent(QMouseEvent *event)
void canvasToggleAxes(const graphics_handle &handle)
void canvasMousePressEvent(QMouseEvent *event)
void canvasWheelEvent(QWheelEvent *event)
bool canvasKeyPressEvent(QKeyEvent *event)
void canvasMouseMoveEvent(QMouseEvent *event)
void canvasAutoAxes(const graphics_handle &handle)
void canvasPaintEvent(void)
Canvas(const graphics_handle &handle)
virtual void toggleAxes(const graphics_handle &handle)=0
virtual void toggleGrid(const graphics_handle &handle)=0
void canvasMouseReleaseEvent(QMouseEvent *event)
bool canvasKeyReleaseEvent(QKeyEvent *event)
virtual void draw(const graphics_handle &handle)=0
void setCursor(MouseMode mode)
virtual graphics_object selectFromAxes(const graphics_object &ax, const QPoint &pt)=0
static Canvas * create(const std::string &name, QWidget *parent, const graphics_handle &handle)
void annotation_callback(const octave_value_list &args)
virtual void resize(int x, int y, int width, int height)=0
void blockRedraw(bool block=true)
void clearEventMask(int m)
F77_RET_T const double * x