MythTV
master
mythtv
libs
libmythui
mythpainterwindowqt.cpp
Go to the documentation of this file.
1
// MythTV
2
#include "
mythmainwindow.h
"
3
#include "
mythpainterwindowqt.h
"
4
5
MythPainterWindowQt::MythPainterWindowQt
(
MythMainWindow
*MainWin)
6
:
MythPainterWindow
(MainWin),
7
m_parent(MainWin)
8
{
9
setAttribute(Qt::WA_NoSystemBackground);
10
}
11
12
void
MythPainterWindowQt::paintEvent
(QPaintEvent *
Event
)
13
{
14
m_parent
->
drawScreen
(
Event
);
15
}
MythPainterWindowQt::MythPainterWindowQt
MythPainterWindowQt(MythMainWindow *MainWin)
Definition:
mythpainterwindowqt.cpp:5
mythpainterwindowqt.h
MythPainterWindow
Definition:
mythpainterwindow.h:34
MythPainterWindowQt::m_parent
MythMainWindow * m_parent
Definition:
mythpainterwindowqt.h:17
Event
Event details.
Definition:
zmdefines.h:27
MythPainterWindowQt::paintEvent
void paintEvent(QPaintEvent *Event) override
Definition:
mythpainterwindowqt.cpp:12
mythmainwindow.h
MythMainWindow
Definition:
mythmainwindow.h:28
MythMainWindow::drawScreen
void drawScreen(QPaintEvent *Event=nullptr)
Definition:
mythmainwindow.cpp:375
Generated on Wed Feb 26 2025 03:18:02 for MythTV by
1.8.17