Go to the documentation of this file.
18 #ifndef DDT_DATAVISUALISATION_DDTWIDGETS_PANNINGWIDGET_HPP
19 #define DDT_DATAVISUALISATION_DDTWIDGETS_PANNINGWIDGET_HPP
21 #include <QtUiPlugin/QDesignerExportWidget>
31 Q_PROPERTY(
bool ShowAxes READ get_show_axes WRITE set_show_axes)
51 void set_show_axes(
bool show_axes);
119 bool eventFilter(QObject* obj, QEvent* event);
124 void OnMouseMoveEvent(QMouseEvent* m);
125 void OnMousePressEvent(QMouseEvent* m);
126 void OnMouseReleaseEvent(QMouseEvent* m);
128 void UpdateSelectionRectangle(
bool externally_triggered =
false);
129 void ValidateSelectionRectangle();
131 int PanWindowWidth();
132 int PanWindowHeight();
153 void SetImage(QImage* image);
163 void ImageWidgetViewChanged(QRectF visible_image_rect,
164 int current_image_width,
165 int current_image_height);
168 #endif // DDT_DATAVISUALISATION_DDTWIDGETS_PANNINGWIDGET_HPP