MythTV
master
mythplugins
mythzoneminder
mythzoneminder
zmminiplayer.h
Go to the documentation of this file.
1
#ifndef ZMMINIPLAYER_H_
2
#define ZMMINIPLAYER_H_
3
4
#include <
libmythbase/mythpluginexport.h
>
5
6
#include "
zmliveplayer.h
"
7
8
class
QTimer;
9
class
MythUIImage
;
10
11
class
MPLUGIN_PUBLIC
ZMMiniPlayer
:
public
ZMLivePlayer
12
{
13
Q_OBJECT
14
15
public
:
16
explicit
ZMMiniPlayer
(
MythScreenStack
*parent);
17
~ZMMiniPlayer
()
override
;
18
19
bool
Create
(
void
)
override
;
// ZMLivePlayer
20
bool
keyPressEvent
(QKeyEvent *event)
override
;
// ZMLivePlayer
21
void
customEvent
(QEvent* event)
override
;
// MythUIType
22
23
void
setAlarmMonitor
(
int
monID) { m_alarmMonitor = monID; }
24
25
public
slots:
26
void
timerTimeout(
void
);
27
28
private
:
29
QTimer *m_displayTimer {
nullptr
};
30
31
MythUIText
*m_monitorText {
nullptr
};
32
MythUIText
*m_statusText {
nullptr
};
33
MythUIImage
*m_image {
nullptr
};
34
};
35
36
#endif
MythScreenStack
Definition:
mythscreenstack.h:17
MythUIImage
Image widget, displays a single image or multiple images in sequence.
Definition:
mythuiimage.h:98
MythUIText
All purpose text widget, displays a text string.
Definition:
mythuitext.h:29
ZMLivePlayer
Definition:
zmliveplayer.h:61
ZMLivePlayer::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition:
zmliveplayer.cpp:190
ZMLivePlayer::Create
bool Create(void) override
Definition:
zmliveplayer.cpp:48
ZMLivePlayer::customEvent
void customEvent(QEvent *event) override
Definition:
zmliveplayer.cpp:278
ZMMiniPlayer
Definition:
zmminiplayer.h:12
ZMMiniPlayer::setAlarmMonitor
void setAlarmMonitor(int monID)
Definition:
zmminiplayer.h:23
mythpluginexport.h
MPLUGIN_PUBLIC
#define MPLUGIN_PUBLIC
Definition:
mythpluginexport.h:9
zmliveplayer.h
Generated on Wed Oct 29 2025 03:16:03 for MythTV by
1.9.4