Go to the documentation of this file. 1 #ifndef MYTHPAINTERWINDOW_H
2 #define MYTHPAINTERWINDOW_H
12 #ifdef USING_WAYLANDEXTRAS
31 #if QT_VERSION < QT_VERSION_CHECK(5,15,0)
32 #define USING_WAYLAND_EXPOSE_HACK 1
54 #if defined(DEBUG_PAINTERWIN_EVENTS)
55 bool event(QEvent*
Event)
override;
68 #ifdef USING_WAYLAND_EXPOSE_HACK
70 void CheckWindowIsExposed();
73 QTimer* m_exposureCheckTimer {
nullptr };
75 #ifdef USING_WAYLANDEXTRAS
static void DestroyPainters(MythPainterWindow *&PaintWin, MythPainter *&Painter)
~MythPainterWindow() override
static QString CreatePainters(MythMainWindow *MainWin, MythPainterWindow *&PaintWin, MythPainter *&Paint)
static MUI_PUBLIC QString GetDefaultPainter()
A simple wrapper to retrieve the major Wayland objects from the Qt Wayland native interface.
MythRender * GetRenderDevice()
static MUI_PUBLIC QStringList GetPainters()
MythPainterWindow(MythMainWindow *MainWin)
void resizeEvent(QResizeEvent *) override