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
22
void
setAlarmMonitor
(
int
monID) { m_alarmMonitor = monID; }
23
24
public
slots:
25
void
timerTimeout(
void
);
26
27
protected
:
28
void
customEvent
(QEvent* event)
override
;
// MythUIType
29
30
private
:
31
QTimer *m_displayTimer {
nullptr
};
32
33
MythUIText
*m_monitorText {
nullptr
};
34
MythUIText
*m_statusText {
nullptr
};
35
MythUIImage
*m_image {
nullptr
};
36
};
37
38
#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:59
ZMLivePlayer::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition:
zmliveplayer.cpp:189
ZMLivePlayer::Create
bool Create(void) override
Definition:
zmliveplayer.cpp:47
ZMLivePlayer::customEvent
void customEvent(QEvent *event) override
Definition:
zmliveplayer.cpp:277
ZMMiniPlayer
Definition:
zmminiplayer.h:12
ZMMiniPlayer::setAlarmMonitor
void setAlarmMonitor(int monID)
Definition:
zmminiplayer.h:22
mythpluginexport.h
MPLUGIN_PUBLIC
#define MPLUGIN_PUBLIC
Definition:
mythpluginexport.h:9
zmliveplayer.h
Generated on Tue Jul 28 2026 03:18:33 for MythTV by
1.9.4