Go to the documentation of this file.
103 void HideAll(
bool KeepSubs =
true,
MythScreenType* Except =
nullptr,
bool DropNotification =
false);
104 void Embed(
bool Embedding);
108 void IsOSDVisible(
bool&
Visible);
114 bool Init(QRect Rect,
float FontAspect)
override;
115 void HideWindow(
const QString &Window)
override;
118 void SetExpiry(
const QString &Window,
enum OSDTimeout Timeout, std::chrono::milliseconds CustomTimeout = 0ms);
119 void ResetWindow(
const QString &Window);
122 void SetValues(
const QString &Window,
const QHash<QString,int> &Map,
OSDTimeout Timeout);
123 void SetValues(
const QString &Window,
const QHash<QString,float> &Map,
OSDTimeout Timeout);
124 void SetRegions(
const QString &Window,
frm_dir_map_t &Map,
long long Total);
125 void SetGraph(
const QString &Window,
const QString &Graph, std::chrono::milliseconds Timecode);
126 bool IsWindowVisible(
const QString &Window);
128 bool DialogVisible(
const QString& Window = QString());
129 bool DialogHandleKeypress(QKeyEvent *
Event);
131 void DialogGetText(
InfoMap &Map);
135 void RemoveWindow(
const QString& Window);
136 void DialogShow(
const QString& Window,
const QString& Text =
"", std::chrono::milliseconds UpdateFor = 0ms);
137 void DialogAddButton(
const QString& Text, QVariant Data,
bool Menu =
false,
bool Current =
false);
138 void DialogBack(
const QString& Text =
"",
const QVariant& Data = 0,
bool Exit =
false);
139 void TearDown()
override;
142 void SetExpiryPriv(
const QString &Window,
enum OSDTimeout Timeout, std::chrono::milliseconds CustomTimeout);
145 bool m_embedded {
false };
150 std::array<std::chrono::milliseconds,4> m_timeouts { -1ms, 3s, 5s, 13s };
static constexpr const char * OSD_DLG_MENU
QHash< MythScreenType *, QDateTime > m_expireTimes
static constexpr const char * OSD_WIN_BROWSE
static constexpr const char * OSD_DLG_CUTPOINT
static constexpr const char * OSD_DLG_SLEEP
QMap< uint64_t, MarkTypes > frm_dir_map_t
Frame # -> Mark map.
static constexpr const char * OSD_DLG_CONFIRM
static constexpr const char * OSD_DLG_INFO
Screen in which all other widgets are contained and rendered.
@ kOSDFunctionalType_PictureAdjust
QString m_functionalWindow
static constexpr const char * OSD_DLG_DELETE
static constexpr const char * OSD_WIN_MESSAGE
static constexpr const char * OSD_WIN_PROGEDIT
Q_DECLARE_METATYPE(StandardSetting *)
QHash< QString, QString > InfoMap
static constexpr std::chrono::milliseconds kOSDFadeTime
static constexpr const char * OSD_WIN_STATUS
static constexpr const char * OSD_WIN_PROGINFO
static constexpr const char * OSD_WIN_DEBUG
@ kOSDFunctionalType_SubtitleZoomAdjust
static constexpr const char * OSD_DLG_IDLE
@ kOSDFunctionalType_TimeStretchAdjust
std::chrono::milliseconds m_timeout
static constexpr const char * OSD_DLG_VIDEOEXIT
static constexpr const char * OSD_DLG_NAVIGATE
@ kOSDFunctionalType_SubtitleDelayAdjust
static constexpr const char * OSD_WIN_INPUT
static constexpr const char * OSD_DLG_EDITOR
QString m_pulsedDialogText
std::vector< MythOSDDialogButton > m_buttons
@ kOSDFunctionalType_SmartForward
@ kOSDFunctionalType_AudioSyncAdjust
A custom event that represents a mouse gesture.
QDateTime m_nextPulseUpdate
static constexpr const char * OSD_DLG_EDITING
static constexpr const char * OSD_DLG_ASKALLOW
@ kOSDFunctionalType_Default