MythTV
master
|
Tracks current playback state, as signalled by the player, and requests changes to the current state. More...
#include <libmythtv/tvplaybackstate.h>
Public Slots | |
void | OverlayStateChanged (MythOverlayState OverlayState) |
void | AudioPlayerStateChanged (const MythAudioPlayerState &AudioPlayerState) |
void | AudioStateChanged (const MythAudioState &AudioState) |
void | CaptionsStateChanged (MythCaptionsState CaptionsState) |
void | VideoBoundsStateChanged (const MythVideoBoundsState &VideoBoundsState) |
void | VideoColourStateChanged (const MythVideoColourState &ColourState) |
void | VisualiserStateChanged (const MythVisualiserState &VisualiserState) |
void | EditorStateChanged (const MythEditorState &EditorState) |
Signals | |
void | InitialisePlayerState () |
void | UpdateBookmark (bool Clear=false) |
void | UpdateLastPlayPosition (uint64_t frame) |
void | IsOSDVisible (bool &Visible) |
void | ChangeOSDPositionUpdates (bool Enable) |
void | ChangeOSDDebug () |
void | ChangeOSDText (const QString &Window, const InfoMap &Map, OSDTimeout Timeout) |
void | ChangeOSDDialog (const MythOSDDialogData &Data) |
void | ChangeOSDMessage (const QString &Message) |
void | DialogQuit () |
void | HideAll (bool KeepSubs=true, MythScreenType *Except=nullptr, bool DropNotification=false) |
void | ReinitAudio () |
void | ResetAudio () |
void | PauseAudioUntilReady () |
void | ChangeMuteState (bool CycleChannels=false) |
void | ChangeVolume (bool Direction, int Volume) |
void | ChangeUpmix (bool Enable, bool Toggle=false) |
void | ChangeAudioOffset (std::chrono::milliseconds Delta, std::chrono::milliseconds Value=-9999ms) |
void | SetTrack (uint Type, uint TrackNo) |
void | ChangeTrack (uint Type, int Direction) |
void | ChangeAllowForcedSubtitles (bool Allow) |
void | ToggleCaptions () |
void | ToggleCaptionsByType (uint Type) |
void | SetCaptionsEnabled (bool Enable, bool UpdateOSD=true) |
void | DisableCaptions (uint Mode, bool UpdateOSD=true) |
void | EnableCaptions (uint Mode, bool UpdateOSD=true) |
void | ChangeCaptionTrack (int Direction) |
void | ResetCaptions () |
void | EnableTeletext (int Page=0x100) |
void | ResetTeletext () |
void | SetTeletextPage (uint Page) |
void | HandleTeletextAction (const QString &Action, bool &Handled) |
void | RestartITV (uint Chanid, uint Cardid, bool IsLiveTV) |
void | HandleITVAction (const QString &Action, bool &Handled) |
void | AdjustSubtitleZoom (int Delta) |
void | AdjustSubtitleDelay (std::chrono::milliseconds Delta) |
void | RequestEmbedding (bool Embed, const QRect &Rect={}, const QStringList &Data={}) |
void | EmbedPlayback (bool Embed, const QRect &Rect={}) |
void | ResizeScreenForVideo (QSize Size={}) |
void | WindowResized (const QSize &Size) |
void | ChangeStereoOverride (StereoscopicMode Mode) |
void | ChangePictureAttribute (PictureAttribute Attribute, bool Direction, int Value) |
void | ToggleDetectLetterBox () |
void | ChangeAdjustFill (AdjustFillMode FillMode=kAdjustFill_Toggle) |
void | ChangeAspectOverride (AspectOverrideMode AspectMode=kAspect_Toggle) |
void | ChangeZoom (ZoomDirection Zoom) |
void | ToggleMoveBottomLine () |
void | SaveBottomLine () |
void | EnableVisualiser (bool Enable, bool Toggle=false, const QString &Name=QString()) |
void | GoToMenu (const QString &Menu) |
void | GoToDVDProgram (bool Direction) |
void | EnableEdit () |
void | DisableEdit (int HowToSave) |
void | RefreshEditorState (bool CheckSaved=false) |
Public Member Functions | |
TVPlaybackState ()=default | |
Tracks current playback state, as signalled by the player, and requests changes to the current state.
Requesting player state changes is, by necessity, granular. Corresponding feedback of new state is however signalled in small, functionally similar/associated groups of state. This is to minimise the complexity of the API.
Definition at line 12 of file tvplaybackstate.h.
|
default |
|
signal |
Referenced by TV::CreatePlayer(), and MythPlayerUI::MythPlayerUI().
Referenced by MythPlayerUI::MythPlayerUI(), and TV::SetBookmark().
|
signal |
Referenced by MythPlayerUI::MythPlayerUI(), and TV::PrepareToExitPlayer().
|
signal |
Referenced by TV::ActiveHandleAction(), and OSD::OSD().
|
signal |
|
signal |
Referenced by TV::ActiveHandleAction(), MythPlayerUI::MythPlayerUI(), and TV::OSDDialogEvent().
|
signal |
Referenced by TV::ActiveHandleAction(), TV::AddKeyToInputQueue(), TV::customEvent(), TV::HandleOSDChannelEdit(), OSD::OSD(), TV::PlaybackMenuShow(), TV::QuickRecord(), TV::ShowOSDCutpoint(), TV::ShowPreviousChannel(), TV::StartChannelEditMode(), TV::UpdateOSDProgInfo(), TV::UpdateOSDSignal(), and TV::UpdateOSDStatus().
|
signal |
Referenced by TV::customEvent(), TV::FillOSDMenuActorShows(), TV::FillOSDMenuCast(), TV::FillOSDMenuJumpRec(), OSD::OSD(), TV::PlaybackMenuShow(), TV::ShowNoRecorderDialog(), TV::ShowOSDAlreadyEditing(), TV::ShowOSDAskAllow(), TV::ShowOSDCutpoint(), TV::ShowOSDIdle(), TV::ShowOSDPromptDeleteRecording(), TV::ShowOSDSleep(), TV::StartChannelEditMode(), TV::StartOsdNavigation(), and TV::UpdateOSDTimeoutMessage().
|
signal |
|
signal |
|
signal |
|
signal |
Referenced by MythPlayerAudioUI::MythPlayerAudioUI().
|
signal |
Referenced by TV::ChangeChannel(), and MythPlayerAudioUI::MythPlayerAudioUI().
|
signal |
|
signal |
Referenced by MythPlayerAudioUI::MythPlayerAudioUI(), TV::ProcessNetworkControlCommand(), and TV::VolumeChange().
|
signal |
|
signal |
Referenced by TV::HandleTrackAction(), and MythPlayerCaptionsUI::MythPlayerCaptionsUI().
|
signal |
Referenced by TV::HandleTrackAction(), and MythPlayerCaptionsUI::MythPlayerCaptionsUI().
|
signal |
Referenced by TV::HandleTrackAction(), and MythPlayerCaptionsUI::MythPlayerCaptionsUI().
|
signal |
Referenced by TV::HandleTrackAction(), and MythPlayerCaptionsUI::MythPlayerCaptionsUI().
Referenced by TV::HandleTrackAction(), and MythPlayerCaptionsUI::MythPlayerCaptionsUI().
|
signal |
Referenced by TV::HandleTrackAction(), and MythPlayerCaptionsUI::MythPlayerCaptionsUI().
|
signal |
Referenced by TV::ChangeChannel(), and MythPlayerCaptionsUI::MythPlayerCaptionsUI().
|
signal |
Referenced by TV::HandleTrackAction(), and MythPlayerCaptionsUI::MythPlayerCaptionsUI().
|
signal |
Referenced by TV::ChangeChannel(), and MythPlayerCaptionsUI::MythPlayerCaptionsUI().
|
signal |
Referenced by TV::HandleTrackAction(), and MythPlayerCaptionsUI::MythPlayerCaptionsUI().
|
signal |
Referenced by MythPlayerCaptionsUI::MythPlayerCaptionsUI(), and TV::ProcessKeypressOrGesture().
Referenced by TV::ITVRestart(), and MythPlayerCaptionsUI::MythPlayerCaptionsUI().
|
signal |
Referenced by MythPlayerCaptionsUI::MythPlayerCaptionsUI(), and TV::ProcessKeypressOrGesture().
|
signal |
|
signal |
|
signal |
Referenced by ProgFinder::Create(), ProgLister::Create(), PlaybackBox::Create(), ScheduleEditor::Create(), ViewScheduled::EmbedTVWindow(), GuideGrid::EmbedTVWindow(), GuideGrid::PlayerExiting(), GuideGrid::RunProgramGuide(), TV::TV(), GuideGrid::~GuideGrid(), PlaybackBox::~PlaybackBox(), ProgFinder::~ProgFinder(), ProgLister::~ProgLister(), ScheduleEditor::~ScheduleEditor(), and ViewScheduled::~ViewScheduled().
|
signal |
|
signal |
Referenced by TV::Embed(), and MythPlayerVideoUI::InitVideo().
|
signal |
Referenced by TV::event(), and MythPlayerVideoUI::InitVideo().
|
signal |
Referenced by MythPlayerVideoUI::InitVideo(), and TV::OSDDialogEvent().
|
signal |
Referenced by TV::customEvent(), MythPlayerVideoUI::InitVideo(), and TV::PictureAttributeHandleAction().
|
signal |
Referenced by MythPlayerVideoUI::InitVideo(), and TV::OSDDialogEvent().
|
signal |
Referenced by MythPlayerVideoUI::InitVideo(), TV::OSDDialogEvent(), and TV::ToggleHandleAction().
|
signal |
Referenced by MythPlayerVideoUI::InitVideo(), TV::OSDDialogEvent(), and TV::ToggleHandleAction().
|
signal |
Referenced by MythPlayerVideoUI::InitVideo(), and TV::ManualZoomHandleAction().
|
signal |
Referenced by MythPlayerVideoUI::InitVideo(), TV::OSDDialogEvent(), and TV::ToggleHandleAction().
|
signal |
Referenced by MythPlayerVideoUI::InitVideo(), TV::OSDDialogEvent(), and TV::ToggleHandleAction().
|
signal |
Referenced by MythPlayerVisualiserUI::MythPlayerVisualiserUI(), TV::OSDDialogEvent(), and TV::ToggleHandleAction().
|
signal |
|
signal |
Referenced by TV::DVDJumpBack(), TV::DVDJumpForward(), and MythDVDPlayer::MythDVDPlayer().
|
signal |
|
signal |
Referenced by TV::customEvent(), MythPlayerEditorUI::MythPlayerEditorUI(), and TV::ProcessKeypressOrGesture().
|
slot |
Definition at line 18 of file tvplaybackstate.cpp.
Referenced by MythPlayerOverlayUI::MythPlayerOverlayUI().
|
slot |
Definition at line 23 of file tvplaybackstate.cpp.
Referenced by MythPlayerAudioUI::MythPlayerAudioUI().
|
slot |
Definition at line 28 of file tvplaybackstate.cpp.
Referenced by MythPlayerAudioUI::MythPlayerAudioUI().
|
slot |
Definition at line 33 of file tvplaybackstate.cpp.
Referenced by MythPlayerCaptionsUI::MythPlayerCaptionsUI().
|
slot |
Definition at line 38 of file tvplaybackstate.cpp.
Referenced by MythPlayerVideoUI::InitVideo().
|
slot |
Definition at line 43 of file tvplaybackstate.cpp.
Referenced by MythPlayerVideoUI::InitVideo().
|
slot |
Definition at line 48 of file tvplaybackstate.cpp.
Referenced by MythPlayerVisualiserUI::MythPlayerVisualiserUI().
|
slot |
Definition at line 53 of file tvplaybackstate.cpp.
Referenced by MythPlayerEditorUI::MythPlayerEditorUI().
|
protected |
Definition at line 104 of file tvplaybackstate.h.
Referenced by TV::AddKeyToInputQueue(), TV::BrowseHandleAction(), TV::ChangeTimeStretch(), TV::ClearOSD(), TV::CommitQueuedInput(), TV::HandleEndOfRecordingExitPromptTimerEvent(), TV::HandleOSDAlreadyEditing(), TV::HandleTrackAction(), OverlayStateChanged(), TV::ProcessKeypressOrGesture(), TV::UpdateOSDSignal(), and TV::VolumeChange().
|
protected |
Definition at line 105 of file tvplaybackstate.h.
Referenced by AudioPlayerStateChanged().
|
protected |
Definition at line 106 of file tvplaybackstate.h.
Referenced by AudioStateChanged(), TV::DoTogglePictureAttribute(), TV::GetStatus(), TV::HandleOSDClosed(), TV::MenuItemDisplayPlayback(), TV::NextPictureAdjustType(), TV::ProcessNetworkControlCommand(), TV::SwitchInputs(), and TV::VolumeChange().
|
protected |
Definition at line 107 of file tvplaybackstate.h.
Referenced by CaptionsStateChanged(), TV::GetStatus(), TV::HandleTrackAction(), TV::MenuItemDisplayPlayback(), TV::PlaybackMenuInit(), TV::ProcessKeypressOrGesture(), and TV::ProcessNetworkControlCommand().
|
protected |
Definition at line 108 of file tvplaybackstate.h.
Referenced by TV::ManualZoomHandleAction(), TV::MenuItemDisplayPlayback(), and VideoBoundsStateChanged().
|
protected |
Definition at line 109 of file tvplaybackstate.h.
Referenced by TV::DoTogglePictureAttribute(), TV::GetStatus(), TV::MenuItemDisplayPlayback(), TV::NextPictureAdjustType(), and VideoColourStateChanged().
|
protected |
Definition at line 110 of file tvplaybackstate.h.
Referenced by TV::HandleEndOfRecordingExitPromptTimerEvent(), TV::MenuItemDisplayPlayback(), and VisualiserStateChanged().
|
protected |
Definition at line 111 of file tvplaybackstate.h.
Referenced by EditorStateChanged(), TV::MenuItemDisplayCutlist(), and TV::ProcessKeypressOrGesture().