18 #ifndef __RE_QPAINTERDRAWABLE_H_INCLUDED__
19 #define __RE_QPAINTERDRAWABLE_H_INCLUDED__
25 #include <QtWidgets/QWidget>
30 #define RE_QPAINTER_DRAWABLE_OBJ_NAME "RE_QPainterDrawable"
57 void paintEvent(QPaintEvent *
event)
override;
58 void showEvent(QShowEvent *
event)
override;
64 bool myIsPainting =
false;
65 bool myNeedsOwnerUpdate =
false;
70 #endif // __RE_QPAINTERDRAWABLE_H_INCLUDED__
==========================================================================
const RE_Window * getREWindow() const
Return the window that the drawable is currently assigned to.
static const char * widgetTag()
#define RE_QPAINTER_DRAWABLE_OBJ_NAME
Window drawable that uses only QPainter for the new UI path.