diff options
Diffstat (limited to 'src-qt5/src-glwidgets/glw-base.h')
-rw-r--r-- | src-qt5/src-glwidgets/glw-base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src-qt5/src-glwidgets/glw-base.h b/src-qt5/src-glwidgets/glw-base.h index 729aa68e..3c3d1d4e 100644 --- a/src-qt5/src-glwidgets/glw-base.h +++ b/src-qt5/src-glwidgets/glw-base.h @@ -19,11 +19,13 @@ class GLW_Base : public QOpenGLWidget{ private: QColor bg_color; QImage bg_img; + QWidget *mouse_over_child; public: GLW_Base(QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags()); ~GLW_Base(); + QWidget * mouseOverWidget(); private slots: @@ -31,11 +33,13 @@ public slots: void setBackgroundColor(QColor color); void setBackground(QRect geom, QImage img); void repaintArea(QRect); + void setMouseOverWidget(QWidget*); signals: void BaseResized(); protected: + void mouseMoveEvent(QMouseEvent *ev); void resizeEvent(QResizeEvent *ev); void paintEvent(QPaintEvent *ev); }; |