MythTV
master
mythtv
libs
libmythtv
mythplayervisualiserui.h
Go to the documentation of this file.
1
#ifndef MYTHPLAYERVISUALISERUI_H
2
#define MYTHPLAYERVISUALISERUI_H
3
4
// MythTV
5
#include "
visualisations/videovisual.h
"
6
#include "
mythplayervideoui.h
"
7
8
class
MTV_PUBLIC
MythPlayerVisualiserUI
:
public
MythPlayerVideoUI
9
{
10
Q_OBJECT
11
12
signals:
13
void
VisualiserStateChanged(
MythVisualiserState
VisualiserState);
14
15
protected
slots:
16
void
InitialiseState
()
override
;
17
void
UIScreenRectChanged(QRect Rect);
18
void
EmbedVisualiser(
bool
Embed, QRect Rect = {});
19
void
EnableVisualiser(
bool
Enable,
bool
Toggle,
const
QString&
Name
);
20
void
AudioPlayerStateChanged(
const
MythAudioPlayerState
&
State
);
21
22
public
:
23
MythPlayerVisualiserUI
(
MythMainWindow
* MainWindow,
TV
* Tv,
PlayerContext
* Context,
PlayerFlags
Flags);
24
~
MythPlayerVisualiserUI
()
override
;
25
26
protected
:
27
void
PrepareVisualiser();
28
void
RenderVisualiser();
29
void
AutoVisualise(
bool
HaveVideo);
30
31
bool
m_checkAutoVisualise {
false
};
32
33
private
:
34
void
DestroyVisualiser();
35
36
QString
m_defaultVisualiser
;
37
MythVisualiserState
m_visualiserState
;
38
VideoVisual
* m_visual {
nullptr
};
39
QRect
m_uiScreenRect
;
40
QRect
m_embedRect
;
41
};
42
43
#endif
MythPlayerVisualiserUI
Definition:
mythplayervisualiserui.h:8
MythPlayerVisualiserUI::m_embedRect
QRect m_embedRect
Definition:
mythplayervisualiserui.h:40
MythPlayerVisualiserUI::m_uiScreenRect
QRect m_uiScreenRect
Definition:
mythplayervisualiserui.h:39
PlayerFlags
PlayerFlags
Definition:
mythplayer.h:64
MythPlayerCaptionsUI::InitialiseState
void InitialiseState() override
Definition:
mythplayercaptionsui.cpp:61
State
State
Definition:
zmserver.h:68
MythPlayerVisualiserUI::m_visualiserState
MythVisualiserState m_visualiserState
Definition:
mythplayervisualiserui.h:37
MTV_PUBLIC
#define MTV_PUBLIC
Definition:
mythtvexp.h:15
Name
Definition:
channelsettings.cpp:71
MythPlayerVisualiserUI::m_defaultVisualiser
QString m_defaultVisualiser
Definition:
mythplayervisualiserui.h:36
PlayerContext
Definition:
playercontext.h:49
videovisual.h
VideoVisual
Definition:
videovisual.h:43
MythVisualiserState
Definition:
mythplayerstate.h:128
MythPlayerVideoUI
Definition:
mythplayervideoui.h:33
mythplayervideoui.h
MythMainWindow
Definition:
mythmainwindow.h:28
TV
Control TV playback.
Definition:
tv_play.h:154
MythAudioPlayerState
Definition:
mythplayerstate.h:31
Generated on Sat Jan 4 2025 03:16:42 for MythTV by
1.8.17