|
MythTV master
|
#include <libmythui/mythmainwindow.h>
Public Slots | |
| void | MouseTimeout () |
| void | HideMouseTimeout () |
| void | IdleTimeout () |
Signals | |
| void | SignalRemoteScreenShot (QString Filename, int Width, int Height) |
| void | SignalSetDrawEnabled (bool Enable) |
| void | SignalWindowReady () |
| void | SignalRestoreScreensaver () |
| void | SignalDisableScreensaver () |
| void | SignalResetScreensaver () |
Signals inherited from MythUIScreenBounds | |
| void | UIScreenRectChanged (const QRect &Rect) |
Public Member Functions | |
| void | Init (bool MayReInit=true) |
| void | Show () |
| void | MoveResize (QRect &Geometry) |
| void | AddScreenStack (MythScreenStack *Stack, bool Main=false) |
| void | PopScreenStack () |
| int | GetStackCount () |
| MythScreenStack * | GetMainStack () |
| MythScreenStack * | GetStack (const QString &Stackname) |
| MythScreenStack * | GetStackAt (int Position) |
| bool | TranslateKeyPress (const QString &Context, QKeyEvent *Event, QStringList &Actions, bool AllowJumps=true) |
| Get a list of actions for a keypress in the given context. More... | |
| bool | KeyLongPressFilter (QEvent **Event, QScopedPointer< QEvent > &NewEvent) |
| void | ReloadKeys () |
| void | ClearKey (const QString &Context, const QString &Action) |
| void | ClearKeyContext (const QString &Context) |
| void | BindKey (const QString &Context, const QString &Action, const QString &Key) |
| void | RegisterKey (const QString &Context, const QString &Action, const QString &Description, const QString &Key) |
| QObject * | GetTarget (QKeyEvent &Key) |
| QString | GetActionText (const QString &Context, const QString &Action) const |
| void | ClearJump (const QString &Destination) |
| void | BindJump (const QString &Destination, const QString &Key) |
| void | RegisterJump (const QString &Destination, const QString &Description, const QString &Key, void(*Callback)(void), bool Exittomain=true, QString LocalAction="") |
| void | ClearAllJumps () |
| void | RegisterMediaPlugin (const QString &Name, const QString &Desc, MediaPlayCallback Func) |
| bool | HandleMedia (const QString &Handler, const QString &Mrl, const QString &Plot="", const QString &Title="", const QString &Subtitle="", const QString &Director="", int Season=0, int Episode=0, const QString &Inetref="", std::chrono::minutes LenMins=2h, const QString &Year="1895", const QString &Id="", bool UseBookmarks=false) |
| void | HandleTVAction (const QString &Action) |
| void | JumpTo (const QString &Destination, bool Pop=true) |
| bool | DestinationExists (const QString &Destination) const |
| QStringList | EnumerateDestinations () const |
| bool | IsExitingToMain () const |
| MythDisplay * | GetDisplay () |
| MythPainter * | GetPainter () |
| QWidget * | GetPaintWindow () |
| MythRender * | GetRenderDevice () |
| MythNotificationCenter * | GetCurrentNotificationCenter () |
| void | ShowPainterWindow () |
| void | HidePainterWindow () |
| void | RemoteScreenShot (QString Filename, int Width, int Height) |
| void | AllowInput (bool Allow) |
| void | RestartInputHandlers () |
| uint | PushDrawDisabled () |
| uint | PopDrawDisabled () |
| void | SetEffectsEnabled (bool Enable) |
| void | Draw (MythPainter *Painter=nullptr) |
| void | ResetIdleTimer () |
| Reset the idle timeout timer. More... | |
| void | PauseIdleTimer (bool Pause) |
| Pause the idle timeout timer. More... | |
| void | DisableIdleTimer (bool DisableIdle=true) |
| Disable the idle timeout timer. More... | |
| void | EnterStandby (bool Manual=true) |
| void | ExitStandby (bool Manual=true) |
| QPaintEngine * | paintEngine () const override |
Public Member Functions inherited from MythUIScreenBounds | |
| void | UpdateScreenSettings (MythDisplay *mDisplay) |
| QRect | GetUIScreenRect () |
| void | SetUIScreenRect (QRect Rect) |
| QRect | GetScreenRect () |
| QSize | NormSize (QSize Size) const |
| int | NormX (int X) const |
| int | NormY (int Y) const |
| void | GetScalingFactors (float &Horizontal, float &Vertical) const |
| void | SetScalingFactors (float Horizontal, float Vertical) |
| QSize | GetThemeSize () |
| int | GetFontStretch () const |
| void | SetFontStretch (int Stretch) |
Static Public Member Functions | |
| static QString | GetKey (const QString &Context, const QString &Action) |
| static MythMainWindow * | getMainWindow (bool UseDB=true) |
| Return the existing main window, or create one. More... | |
| static void | destroyMainWindow () |
| static void | GrabWindow (QImage &Image) |
| static bool | SaveScreenShot (const QImage &Image, QString Filename="") |
| static bool | ScreenShot (int Width=0, int Height=0, QString Filename="") |
| static void | RestoreScreensaver () |
| static void | DisableScreensaver () |
| static void | ResetScreensaver () |
| static bool | IsScreensaverAsleep () |
| static bool | IsTopScreenInitialized () |
Static Public Member Functions inherited from MythUIScreenBounds | |
| static bool | GeometryIsOverridden () |
| static void | ParseGeometryOverride (const QString &Geometry) |
| Parse an X11 style command line geometry string. More... | |
| static QRect | GetGeometryOverride () |
| static bool | WindowIsAlwaysFullscreen () |
| Return true if the current platform only supports fullscreen windows. More... | |
Protected Slots | |
| void | Animate () |
| void | DoRemoteScreenShot (const QString &Filename, int Width, int Height) |
| void | SetDrawEnabled (bool Enable) |
| void | OnApplicationStateChange (Qt::ApplicationState State) |
Protected Member Functions | |
| MythMainWindow (bool UseDB=true) | |
| ~MythMainWindow () override | |
| void | InitKeys () |
| bool | eventFilter (QObject *Watched, QEvent *Event) override |
| void | customEvent (QEvent *Event) override |
| void | closeEvent (QCloseEvent *Event) override |
| void | drawScreen (QPaintEvent *Event=nullptr) |
| bool | event (QEvent *Event) override |
| void | ExitToMainMenu () |
| void | ShowMouseCursor (bool Show) |
Protected Member Functions inherited from MythUIScreenBounds | |
| MythUIScreenBounds () | |
| void | InitScreenBounds () |
Static Protected Member Functions | |
| static void | LoadQtConfig () |
Private Slots | |
| void | DelayedAction () |
Private Attributes | |
| MythMainWindowPrivate * | m_priv { nullptr } |
| MythDisplay * | m_display { nullptr } |
| QRegion | m_repaintRegion |
| QTimer | m_refreshTimer |
| MythThemeBase * | m_themeBase { nullptr } |
| MythPainter * | m_painter { nullptr } |
| MythPainterWindow * | m_painterWin { nullptr } |
| MythInputDeviceHandler * | m_deviceHandler { nullptr } |
| MythScreenSaverControl * | m_screensaver { nullptr } |
| QTimer | m_idleTimer |
| std::chrono::minutes | m_idleTime { 0min } |
Friends | |
| class | MythPainterWindowOpenGL |
| class | MythPainterWindowVulkan |
| class | MythPainterWindowQt |
Additional Inherited Members | |
Protected Attributes inherited from MythUIScreenBounds | |
| QSize | m_themeSize { 1920, 1080 } |
| QRect | m_uiScreenRect { 0, 0, 1920, 1080 } |
| QRect | m_screenRect { 0, 0, 1920, 1080 } |
| float | m_screenHorizScale { 1.0 } |
| float | m_screenVertScale { 1.0 } |
| bool | m_wantWindow { false } |
| bool | m_wantFullScreen { true } |
| bool | m_qtFullScreen { false } |
| bool | m_alwaysOnTop { false } |
| int | m_fontStretch { 100 } |
| bool | m_forceFullScreen { false } |
Definition at line 28 of file mythmainwindow.h.
Definition at line 136 of file mythmainwindow.cpp.
Referenced by getMainWindow().
|
overrideprotected |
Definition at line 214 of file mythmainwindow.cpp.
| void MythMainWindow::AddScreenStack | ( | MythScreenStack * | Stack, |
| bool | Main = false |
||
| ) |
Definition at line 301 of file mythmainwindow.cpp.
Referenced by MythScreenStack::MythScreenStack().
| void MythMainWindow::AllowInput | ( | bool | Allow | ) |
Definition at line 1539 of file mythmainwindow.cpp.
Referenced by NetBase::RunCmdWithoutScreensaver(), VideoDialog::ShowHomepage(), BookmarkManager::slotBookmarkClicked(), BookmarkManager::slotShowMarked(), GeneralSetupWizard::slotView(), and MythNews::slotViewArticle().
|
protectedslot |
Definition at line 342 of file mythmainwindow.cpp.
Referenced by MythMainWindow().
| void MythMainWindow::BindJump | ( | const QString & | Destination, |
| const QString & | Key | ||
| ) |
Definition at line 1384 of file mythmainwindow.cpp.
Referenced by KeyBindings::CommitJumppoint(), and RegisterJump().
| void MythMainWindow::BindKey | ( | const QString & | Context, |
| const QString & | Action, | ||
| const QString & | Key | ||
| ) |
Definition at line 1222 of file mythmainwindow.cpp.
Referenced by KeyBindings::CommitAction(), and RegisterKey().
| void MythMainWindow::ClearAllJumps | ( | ) |
Definition at line 1462 of file mythmainwindow.cpp.
Referenced by ReloadJumpPoints().
| void MythMainWindow::ClearJump | ( | const QString & | Destination | ) |
Definition at line 1362 of file mythmainwindow.cpp.
Referenced by ClearAllJumps(), and KeyBindings::CommitJumppoint().
| void MythMainWindow::ClearKey | ( | const QString & | Context, |
| const QString & | Action | ||
| ) |
Definition at line 1196 of file mythmainwindow.cpp.
Referenced by KeyBindings::CommitAction().
| void MythMainWindow::ClearKeyContext | ( | const QString & | Context | ) |
Definition at line 1215 of file mythmainwindow.cpp.
Referenced by TV::ReloadKeys(), ReloadKeys(), and ReloadKeys().
|
overrideprotected |
Definition at line 481 of file mythmainwindow.cpp.
|
overrideprotected |
Definition at line 1907 of file mythmainwindow.cpp.
|
privateslot |
Definition at line 783 of file mythmainwindow.cpp.
Referenced by Init().
| bool MythMainWindow::DestinationExists | ( | const QString & | Destination | ) | const |
Definition at line 1483 of file mythmainwindow.cpp.
Referenced by main(), and MythThemedMenu::parseThemeButton().
|
static |
Definition at line 101 of file mythmainwindow.cpp.
Referenced by DestroyMythMainWindow().
Disable the idle timeout timer.
Definition at line 2138 of file mythmainwindow.cpp.
Referenced by main().
|
static |
Definition at line 587 of file mythmainwindow.cpp.
Referenced by TV::ChangeChannel(), TV::DoPlay(), TV::DoTogglePauseFinish(), GallerySlideView::GallerySlideView(), TV::HandleStateChange(), MythFlashPlayer::MythFlashPlayer(), NetBase::RunCmdWithoutScreensaver(), MythDVDBuffer::SafeRead(), VisualBase::VisualBase(), and ZMLivePlayer::ZMLivePlayer().
|
protectedslot |
Definition at line 523 of file mythmainwindow.cpp.
Referenced by MythMainWindow().
| void MythMainWindow::Draw | ( | MythPainter * | Painter = nullptr | ) |
Definition at line 440 of file mythmainwindow.cpp.
Referenced by drawScreen(), and MythVideoOutputGPU::RenderFrame().
|
protected |
Definition at line 380 of file mythmainwindow.cpp.
Referenced by MythPainterWindowQt::paintEvent(), MythPainterWindowOpenGL::paintEvent(), and MythPainterWindowVulkan::paintEvent().
Definition at line 2210 of file mythmainwindow.cpp.
Referenced by IdleScreen::IdleScreen(), and IdleTimeout().
| QStringList MythMainWindow::EnumerateDestinations | ( | ) | const |
Definition at line 1488 of file mythmainwindow.cpp.
Referenced by main().
|
overrideprotected |
Definition at line 617 of file mythmainwindow.cpp.
Referenced by customEvent(), eventFilter(), and MouseTimeout().
|
overrideprotected |
Definition at line 1657 of file mythmainwindow.cpp.
Definition at line 2245 of file mythmainwindow.cpp.
Referenced by ResetIdleTimer(), and IdleScreen::~IdleScreen().
|
protected |
Definition at line 1053 of file mythmainwindow.cpp.
Referenced by customEvent().
| QString MythMainWindow::GetActionText | ( | const QString & | Context, |
| const QString & | Action | ||
| ) | const |
Definition at line 1350 of file mythmainwindow.cpp.
Referenced by TV::MenuItemDisplayCutlist(), and TV::MenuItemDisplayPlayback().
| MythNotificationCenter * MythMainWindow::GetCurrentNotificationCenter | ( | void | ) |
Definition at line 267 of file mythmainwindow.cpp.
Referenced by OSD::Draw(), GetNotificationCenter(), OSD::HideAll(), and OSD::IsOSDVisible().
| MythDisplay * MythMainWindow::GetDisplay | ( | void | ) |
Definition at line 257 of file mythmainwindow.cpp.
Referenced by AppearanceSettings::AppearanceSettings(), MythPainterGPU::DisplayChanged(), StatusBox::doDisplayStatus(), TV::DoEditSchedule(), HostRefreshRateComboBoxSetting::GetRefreshRates(), GrabWindow(), GuiVidModeResolution(), TV::Init(), MythPainterGPU::MythPainterGPU(), MythCECAdapter::Open(), TVVidModeResolution(), and TV::~TV().
|
static |
Definition at line 1329 of file mythmainwindow.cpp.
Referenced by GET_KEY(), TV::InitKeys(), MythUIVirtualKeyboard::loadEventKeyDefinitions(), and MythUIButtonList::ParseElement().
| MythScreenStack * MythMainWindow::GetMainStack | ( | ) |
Definition at line 322 of file mythmainwindow.cpp.
Referenced by MythThemedMenu::aboutScreen(), CardInput::channelScanner(), PlaylistEditorView::customEvent(), StreamView::customEvent(), customEvent(), ChannelEditor::customEvent(), VideoDialog::DoItemDetailShow(), ScreenSetup::doLocationDialog(), ProgramRecPriority::edit(), ChannelEditor::edit(), ScheduleCommon::EditCustom(), MythBurn::editDetails(), LyricsView::editLyrics(), ScheduleCommon::EditScheduled(), StreamView::editStream(), MythBurn::editThumbnails(), MusicCommon::editTrackInfo(), MythContext::Impl::EndTempWindow(), ExitToMainMenu(), GameCallback(), MythUILocation::GetCurrentLocation(), SchemaUpgradeWizard::GuiPrompt(), MythBurn::handleAddFile(), ExportNative::handleAddRecording(), MythBurn::handleAddRecording(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), SelectDestination::handleFind(), handleGalleryMedia(), handleMedia(), SelectDestination::handleNextPage(), DVDThemeSelector::handleNextPage(), TV::Init(), MythContext::Impl::Init(), internal_play_media(), IsTopScreenInitialized(), MythThemedMenu::keyPressEvent(), PlaylistEditorView::keyPressEvent(), main(), ScheduleCommon::MakeOverride(), ChannelScannerGUI::MonitorProgress(), MusicCallback(), mythplugin_config(), mythplugin_run(), ProgramRecPriority::newTemplate(), ArchiveFileSelector::nextPressed(), anonymous_namespace{mythfrontend.cpp}::RunSettingsCompletion::OnPasswordResultReady(), ZMEvents::playPressed(), MythNotificationScreenStack::PopScreen(), MythScreenStack::PopScreen(), AudioTest::prepareTest(), NetworkControl::processTheme(), LanguageSelection::prompt(), BackendSelection::Prompt(), MythContext::Impl::PromptForDatabaseParams(), CustomEdit::recordClicked(), ManualSchedule::recordClicked(), PhrasePopup::recordClicked(), PowerSearchPopup::recordClicked(), ChannelEditor::restoreData(), XMLTV_generic_config::RunConfig(), runCreateArchive(), runCreateDVD(), RunGallery(), RunGames(), runImportVideo(), RunMenu(), runMenu(), RunNetTree(), RunNetVision(), RunNews(), PlaybackBox::RunPlaybackBox(), RunProgramFinder(), GuideGrid::RunProgramGuide(), ProgLister::RunProgramList(), runRipCD(), NetTree::RunRSSEditor(), ScheduleEditor::RunScheduleEditor(), NetSearch::RunSearchEditor(), NetTree::RunTreeEditor(), RunVideoScreen(), ViewScheduled::RunViewScheduled(), RunWeather(), runZMConsole(), runZMEventView(), runZMLiveView(), runZMMiniPlayer(), ChannelEditor::scan(), EditStreamMetadata::searchClicked(), MediaMonitor::selectDrivePopup(), setDebugShowBorders(), setDebugShowNames(), SetupMenuCallback(), Weather::setupPage(), Weather::SetupScreens(), ScheduleCommon::ShowChannelSearch(), ScheduleCommon::ShowDetails(), BookmarkManager::ShowEditDialog(), MythNews::ShowEditDialog(), Ripper::showEditMetadataDialog(), ImportMusicDialog::showEditMetadataDialog(), MythNews::ShowFeedManager(), ScheduleEditor::ShowFilters(), MythContext::Impl::ShowGuiStartup(), ImportMusicDialog::showImportCoverArtDialog(), GameUI::showInfo(), showLogViewer(), MythThemedMenu::ShowMenu(), PlaybackBox::showMetadataEditor(), ScheduleEditor::ShowMetadataOptions(), ProgLister::ShowOldRecordedMenu(), ScheduleEditor::ShowPostProc(), ScheduleEditor::ShowPreview(), ScheduleCommon::ShowPrevious(), SmartPlaylistEditor::showResultsClicked(), ScheduleEditor::ShowSchedOpt(), GalleryThumbView::ShowSettings(), WelcomeDialog::ShowSettings(), showStatus(), ScheduleEditor::ShowStoreOpt(), ScheduleCommon::ShowUpcoming(), ScheduleEditor::showUpcomingByRule(), ScheduleCommon::ShowUpcomingScheduled(), MythBrowser::slotAddBookmark(), BookmarkManager::slotBookmarkClicked(), RSSEditor::SlotEditSite(), RSSEditor::SlotNewSite(), AudioSetupWizard::slotNext(), GeneralSetupWizard::slotNext(), BookmarkManager::slotSettings(), BookmarkManager::slotShowMarked(), standbyScreen(), startAppearWiz(), startChannelRecPriorities(), startCustomEdit(), startCustomPriority(), startDatabaseTree(), startImport(), startKeysSetup(), startManaged(), startManageRecordingRules(), startManualSchedule(), startPlayback(), startPlaybackWithGroup(), startPrevious(), startPreviousOld(), Ripper::startRipper(), startRipper(), startSearchCategory(), startSearchChannel(), startSearchKeyword(), startSearchMovie(), startSearchNew(), startSearchPeople(), startSearchPower(), startSearchStored(), startSearchTime(), startSearchTitle(), GalleryThumbView::StartSlideshow(), startStreamPlayback(), CustomEdit::storeClicked(), EditMetadataDialog::switchToAlbumArt(), EditAlbumartDialog::switchToMetadata(), MusicCommon::switchView(), SysEventHandleAction(), CustomEdit::testClicked(), CustomPriority::testSchedule(), ChannelEditor::transportEditor(), TVMenuCallback(), ChannelRecPriority::upcoming(), MythDialogBox::updateMenu(), and WeatherCallback().
|
static |
Return the existing main window, or create one.
| UseDB | If this is a temporary window, which is used to bootstrap the database, passing false prevents any database access. |
Definition at line 85 of file mythmainwindow.cpp.
Referenced by GetMythMainWindow(), GetMythPainter(), MythRenderOpenGL::GetOpenGLRender(), MythDisplayOSX::GetVideoModes(), MythRenderVulkan::GetVulkanRender(), MythDisplayOSX::SwitchToVideoMode(), MythContext::Impl::TempMainWindow(), MythDisplayOSX::UpdateCurrentMode(), and MythDisplayWindows::UpdateCurrentMode().
| MythPainter * MythMainWindow::GetPainter | ( | void | ) |
Definition at line 262 of file mythmainwindow.cpp.
Referenced by ZMClient::getEventFrame(), ThumbFinder::getFrameImage(), GetMythPainter(), setDebugShowBorders(), setDebugShowNames(), Player::updateFrame(), and ThumbFinder::updatePositionBar().
| QWidget * MythMainWindow::GetPaintWindow | ( | void | ) |
Definition at line 272 of file mythmainwindow.cpp.
Referenced by MythScreenType::aboutToHide(), MythScreenType::aboutToShow(), GuideGrid::EmbedTVWindow(), GuideGrid::HideTVWindow(), TV::Init(), MythVideoOutputGPU::RenderFrame(), and MythUIWebBrowser::slotLosingFocus().
| MythRender * MythMainWindow::GetRenderDevice | ( | ) |
Definition at line 296 of file mythmainwindow.cpp.
Referenced by StatusBox::doRenderStatus(), MythRenderOpenGL::GetOpenGLRender(), MythRenderVulkan::GetVulkanRender(), and MythVideoProfile::InitStatics().
| MythScreenStack * MythMainWindow::GetStack | ( | const QString & | Stackname | ) |
Definition at line 327 of file mythmainwindow.cpp.
Referenced by MythControls::ActionButtonPressed(), SmartPlaylistEditor::addCriteria(), MythBurn::changeProfile(), MythControls::ChangeView(), GuideGrid::ChannelGroupMenu(), ChannelEditor::channelIconImport(), MythThemedMenu::checkPinCode(), Ripper::chooseBackend(), ImportMusicDialog::chooseBackend(), GameHandler::clearAllGameData(), GUIStartup::Close(), StandardSettingDialog::Close(), MythControls::Close(), ExitPrompter::Confirm(), GalleryThumbView::Copy(), ImportMusicDialog::copyFile(), CardInput::CreateNewInputGroup(), PlayGroupEditor::CreateNewPlayBackGroup(), GameHandler::CreateProgress(), ProgFinder::customEvent(), MusicCommon::customEvent(), MusicPlayer::customEvent(), SmartPlaylistEditor::customEvent(), ProgramRecPriority::customEvent(), ChannelEditor::del(), ZMEvents::deleteAll(), ChannelEditor::deleteChannels(), MythControls::DeleteKey(), GuideGrid::deleteRule(), ViewScheduled::deleteRule(), PlaybackBox::displayRecGroup(), ParentalLevelChangeCheckerPrivate::DoCheck(), EditAlbumartDialog::doCopyImageToTag(), ScreenWizard::doExit(), ScreenSetup::doListSelect(), ScreenWizard::doMenu(), VideoScanner::doScan(), GameScanner::doScan(), LocationDialog::doSearch(), MythUITextEditSetting::edit(), MythUIFileBrowserSetting::edit(), MythUIComboBoxSetting::edit(), MythUISpinBoxSetting::edit(), PowerSearchPopup::editClicked(), SmartPlaylistEditor::editCriteria(), CriteriaRowEditor::editDate(), EditMetadataDialog::EditMetadataDialog(), ScheduleCommon::EditRecording(), ExitPrompterPrivate::ExitPrompterPrivate(), anonymous_namespace{romedit.cpp}::FindImagePopup(), anonymous_namespace{editvideometadata.cpp}::FindImagePopup(), MetadataOptions::FindImagePopup(), SourceManager::findScripts(), anonymous_namespace{editvideometadata.cpp}::FindVideoFilePopup(), GameUI::GameUI(), GeneralSetupWizard::GeneralSetupWizard(), MythUILocation::GetCurrentLocation(), MythControls::GrabKey(), ExitPrompter::HandleExit(), handleMedia(), ImportIconsWizard::ImportIconsWizard(), RecordingSelector::Init(), BookmarkManager::keyPressEvent(), MythBrowser::keyPressEvent(), MythUITextEdit::keyPressEvent(), MusicData::loadMusic(), ImportMusicDialog::locationPressed(), TransportListEditor::Menu(), ChannelEditor::menu(), GallerySlideView::MenuMain(), MetadataOptions::MetadataOptions(), GalleryThumbView::Move(), NetEditorBase::NetEditorBase(), EditMetadataDialog::NewCategoryPopup(), PlaybackSettings::NewPlaybackProfileSlot(), GamePlayersList::NewPlayerDialog(), MusicPlayer::nextAuto(), FileAssocDialog::OnNewExtensionPressed(), MythWebEngineView::openBusyPopup(), MythScreenType::OpenBusyPopup(), SmartPlaylistEditor::orderByClicked(), PlaybackBox::PlaybackBox(), GameHandler::processGames(), NetworkControl::processTheme(), BackendSelection::PromptForPassword(), StoreOptMixin::PromptForRecGroup(), GameHandler::promptForRemoval(), ChannelImporter::QueryUserDelete(), ChannelImporter::QueryUserInsert(), ChannelImporter::QueryUserUpdate(), RecMetadataEdit::RecMetadataEdit(), MusicData::reloadMusic(), ProgramRecPriority::remove(), MythControls::ResolveConflict(), MythUIComboBoxSetting::resultEdit(), runHomepage(), RunVideoScreen(), AlbumArtImages::scanForImages(), Ripper::searchAlbum(), EditMetadataDialog::searchAlbum(), Ripper::searchArtist(), EditMetadataDialog::searchArtist(), EditMetadataDialog::searchCompilationArtist(), Ripper::searchGenre(), EditMetadataDialog::searchGenre(), VideoDialog::searchStart(), GameUI::searchStart(), RSSEditPopup::SelectImagePopup(), PlaybackBox::setRecGroup(), ShowBusyPopup(), SmartPlaylistEditor::showCategoryMenu(), ProgLister::ShowChooseViewMenu(), GallerySettings::ShowConfirmDialog(), Ripper::ShowConflictMenu(), SmartPlaylistEditor::showCriteriaMenu(), StorageGroupEditor::ShowDeleteDialog(), StorageGroupDirSetting::ShowDeleteDialog(), PlaybackProfileItemConfig::ShowDeleteDialog(), ProgLister::ShowDeleteRuleMenu(), MythWebEngineView::showDownloadMenu(), MythUISpinBox::ShowEntryDialog(), MusicCommon::showExitMenu(), StorageGroupEditor::ShowFileBrowser(), PrevRecordedList::ShowItemMenu(), GuideGrid::ShowJumpToTime(), ImportNative::showList(), ChannelImporter::ShowManualChannelPopup(), ZMLivePlayer::ShowMenu(), EditMetadataDialog::showMenu(), EditAlbumartDialog::showMenu(), ProgramRecPriority::showMenu(), ScheduleEditor::showMenu(), ExportNative::ShowMenu(), LogViewer::ShowMenu(), MythBurn::ShowMenu(), RecordingSelector::ShowMenu(), ThumbFinder::ShowMenu(), VideoSelector::ShowMenu(), Ripper::ShowMenu(), ImportMusicDialog::ShowMenu(), LyricsView::ShowMenu(), MusicCommon::ShowMenu(), PlaylistEditorView::ShowMenu(), SearchView::ShowMenu(), StreamView::ShowMenu(), VisualizerView::ShowMenu(), MythNews::ShowMenu(), ZMEvents::ShowMenu(), StandardSettingDialog::ShowMenu(), ChannelRecPriority::ShowMenu(), GuideGrid::ShowMenu(), MythControls::ShowMenu(), PrevRecordedList::ShowMenu(), ProgFinder::ShowMenu(), ProgLister::ShowMenu(), ViewScheduled::ShowMenu(), WelcomeDialog::ShowMenu(), ZMClient::showMiniPlayer(), MusicPlayer::showMiniPlayer(), StorageGroupListEditor::ShowNewGroupDialog(), ChannelGroupsSetting::ShowNewGroupDialog(), RecordingProfileEditor::ShowNewProfileDialog(), ShowOkPopup(), PlaybackSettingsDialog::ShowPlaybackProfileMenu(), MusicCommon::showPlaylistOptionsMenu(), ThemeChooser::showPopupMenu(), GuideGrid::ShowRecordingMenu(), ChannelImporter::ShowResolveChannelPopup(), EditMetadataCommon::showSaveMenu(), ScheduleEditor::ShowSchedInfo(), MythUIButtonList::ShowSearchDialog(), ProgramRecPriority::showSortMenu(), ViewScheduleDiff::showStatus(), ScheduleEditor::showTemplateMenu(), MusicCommon::showTrackInfo(), SmartPLResultViewer::showTrackInfo(), VisualizerView::showTrackInfoPopup(), EditAlbumartDialog::showTypeMenu(), ScreenSetup::showUnitsPopup(), MusicCommon::showVolume(), showWarningDialog(), BookmarkManager::slotDeleteCurrent(), BookmarkManager::slotDeleteMarked(), RSSEditor::SlotDeleteSite(), MythBrowser::slotEnterURL(), BookmarkEditor::slotFindCategory(), BurnMenu::start(), EditAlbumartDialog::startCopyImageToTag(), StartPrompterPrivate::StartPrompterPrivate(), ImportMusicDialog::startScan(), TV::StartTV(), StatusBox::StatusBox(), MythBurn::updateArchiveList(), CriteriaRowEditor::valueButtonClicked(), and VideoSetupWizard::VideoSetupWizard().
| MythScreenStack * MythMainWindow::GetStackAt | ( | int | Position | ) |
Definition at line 335 of file mythmainwindow.cpp.
Referenced by MythUIWebBrowser::Init(), and MythUIWebBrowser::IsOnTopScreen().
| int MythMainWindow::GetStackCount | ( | ) |
Definition at line 317 of file mythmainwindow.cpp.
Referenced by MythUIWebBrowser::Init().
| QObject * MythMainWindow::GetTarget | ( | QKeyEvent & | Key | ) |
Definition at line 2094 of file mythmainwindow.cpp.
Referenced by MythInputDeviceHandler::customEvent(), customEvent(), and eventFilter().
|
static |
Definition at line 494 of file mythmainwindow.cpp.
Referenced by ScreenShot().
| bool MythMainWindow::HandleMedia | ( | const QString & | Handler, |
| const QString & | Mrl, | ||
| const QString & | Plot = "", |
||
| const QString & | Title = "", |
||
| const QString & | Subtitle = "", |
||
| const QString & | Director = "", |
||
| int | Season = 0, |
||
| int | Episode = 0, |
||
| const QString & | Inetref = "", |
||
| std::chrono::minutes | LenMins = 2h, |
||
| const QString & | Year = "1895", |
||
| const QString & | Id = "", |
||
| bool | UseBookmarks = false |
||
| ) |
Definition at line 1509 of file mythmainwindow.cpp.
Referenced by MythWebEngineView::customEvent(), customEvent(), NetBase::DoPlayVideo(), MythThemedMenu::handleAction(), VideoPlayHandleMedia::Play(), playDisc(), GallerySlideView::PlayVideo(), MythNews::playVideo(), VideoSetupWizard::playVideoTest(), runTestDVD(), EditMetadataCommon::searchForAlbumImages(), EditMetadataDialog::searchForArtistImages(), EditMetadataDialog::searchForGenreImages(), VideoDialog::ShowHomepage(), NetBase::ShowWebVideo(), GeneralSetupWizard::slotView(), MythNews::slotViewArticle(), and NetBase::StreamWebVideo().
| void MythMainWindow::HandleTVAction | ( | const QString & | Action | ) |
Definition at line 1534 of file mythmainwindow.cpp.
Referenced by MythScreenType::keyPressEvent().
|
slot |
Definition at line 2130 of file mythmainwindow.cpp.
Referenced by MythMainWindow().
| void MythMainWindow::HidePainterWindow | ( | void | ) |
Definition at line 286 of file mythmainwindow.cpp.
Referenced by SetDrawEnabled().
|
slot |
Definition at line 2190 of file mythmainwindow.cpp.
Referenced by ExitPrompter::DoStandby(), and MythMainWindow().
Definition at line 646 of file mythmainwindow.cpp.
Referenced by main(), reloadTheme(), resetTheme(), and MythContext::Impl::TempMainWindow().
|
protected |
Definition at line 797 of file mythmainwindow.cpp.
Referenced by MythMainWindow(), and ReloadKeys().
| bool MythMainWindow::IsExitingToMain | ( | ) | const |
Definition at line 1048 of file mythmainwindow.cpp.
Referenced by TV::ActiveHandleAction(), MythScreenType::inputMethodEvent(), MythNotificationScreenStack::PopScreen(), and MythScreenStack::PopScreen().
|
static |
Definition at line 599 of file mythmainwindow.cpp.
Referenced by MythInputDeviceHandler::customEvent().
|
static |
Definition at line 610 of file mythmainwindow.cpp.
Referenced by MythFrontendService::PlayRecording(), Frontend::PlayRecording(), and NetworkControl::processPlay().
Definition at line 1470 of file mythmainwindow.cpp.
Referenced by AppearanceSettings::applyChange(), ThemeChooser::customEvent(), MythControls::customEvent(), ExitStandby(), MythThemedMenu::handleAction(), handleGalleryMedia(), handleSIGUSR1(), IdleTimeout(), main(), MythFrontendService::PlayRecording(), Frontend::PlayRecording(), NetworkControl::processJump(), NetworkControl::processPlay(), NetworkControl::processTheme(), ThemeChooser::saveAndReload(), startAppearWiz(), and TranslateKeyPress().
| bool MythMainWindow::KeyLongPressFilter | ( | QEvent ** | Event, |
| QScopedPointer< QEvent > & | NewEvent | ||
| ) |
Definition at line 1559 of file mythmainwindow.cpp.
Referenced by TV::eventFilter(), and eventFilter().
|
staticprotected |
Definition at line 638 of file mythmainwindow.cpp.
Referenced by Init().
|
slot |
Definition at line 1544 of file mythmainwindow.cpp.
Referenced by MythMainWindow().
| void MythMainWindow::MoveResize | ( | QRect & | Geometry | ) |
Definition at line 981 of file mythmainwindow.cpp.
Referenced by DelayedAction(), TV::DoEditSchedule(), TV::Embed(), TV::HandleStateChange(), Init(), MythVideoOutputGPU::ResizeForVideo(), and TV::~TV().
|
protectedslot |
Definition at line 2272 of file mythmainwindow.cpp.
Referenced by MythMainWindow().
|
override |
Definition at line 476 of file mythmainwindow.cpp.
Referenced by MythPainterWindowOpenGL::paintEngine().
| void MythMainWindow::PauseIdleTimer | ( | bool | Pause | ) |
Pause the idle timeout timer.
Definition at line 2167 of file mythmainwindow.cpp.
Referenced by customEvent(), EnterStandby(), ExitStandby(), MythBrowser::MythBrowser(), MythFlashPlayer::MythFlashPlayer(), MusicPlayer::pause(), VideoPlayerCommand::Play(), MusicPlayer::play(), playDisc(), NetBase::RunCmdWithoutScreensaver(), MusicPlayer::stop(), TV::TV(), ZMLivePlayer::ZMLivePlayer(), MythBrowser::~MythBrowser(), MythFlashPlayer::~MythFlashPlayer(), TV::~TV(), and ZMLivePlayer::~ZMLivePlayer().
| uint MythMainWindow::PopDrawDisabled | ( | ) |
Definition at line 1001 of file mythmainwindow.cpp.
Referenced by customEvent(), TV::DoEditSchedule(), OnApplicationStateChange(), and TV::~TV().
| void MythMainWindow::PopScreenStack | ( | ) |
Definition at line 308 of file mythmainwindow.cpp.
Referenced by Weather::~Weather().
| uint MythMainWindow::PushDrawDisabled | ( | ) |
Definition at line 992 of file mythmainwindow.cpp.
Referenced by customEvent(), TV::Embed(), TV::HandleStateChange(), and OnApplicationStateChange().
| void MythMainWindow::RegisterJump | ( | const QString & | Destination, |
| const QString & | Description, | ||
| const QString & | Key, | ||
| void(*)(void) | Callback, | ||
| bool | Exittomain = true, |
||
| QString | LocalAction = "" |
||
| ) |
Definition at line 1425 of file mythmainwindow.cpp.
Referenced by REG_JUMP(), REG_JUMPEX(), and REG_JUMPLOC().
| void MythMainWindow::RegisterKey | ( | const QString & | Context, |
| const QString & | Action, | ||
| const QString & | Description, | ||
| const QString & | Key | ||
| ) |
Definition at line 1260 of file mythmainwindow.cpp.
Referenced by InitKeys(), and REG_KEY().
| void MythMainWindow::RegisterMediaPlugin | ( | const QString & | Name, |
| const QString & | Desc, | ||
| MediaPlayCallback | Func | ||
| ) |
Definition at line 1493 of file mythmainwindow.cpp.
Referenced by REG_MEDIAPLAYER().
| void MythMainWindow::ReloadKeys | ( | ) |
Definition at line 962 of file mythmainwindow.cpp.
Referenced by main(), ReloadKeys(), and resetAllKeys().
| void MythMainWindow::RemoteScreenShot | ( | QString | Filename, |
| int | Width, | ||
| int | Height | ||
| ) |
Definition at line 534 of file mythmainwindow.cpp.
Referenced by MythFEXML::GetScreenShot().
| void MythMainWindow::ResetIdleTimer | ( | ) |
Reset the idle timeout timer.
Definition at line 2150 of file mythmainwindow.cpp.
Referenced by eventFilter().
|
static |
Definition at line 593 of file mythmainwindow.cpp.
Referenced by MythInputDeviceHandler::customEvent(), MythCECAdapter::HandleKeyPress(), MythCECAdapter::HandleSource(), NetworkControl::processKey(), Frontend::SendAction(), MythFrontendService::SendKey(), and Frontend::SendKey().
| void MythMainWindow::RestartInputHandlers | ( | ) |
Definition at line 2114 of file mythmainwindow.cpp.
Referenced by handleSIGUSR2(), and MonitorThread::run().
|
static |
Definition at line 581 of file mythmainwindow.cpp.
Referenced by TV::DoTogglePauseFinish(), TV::HandleStateChange(), NetBase::RunCmdWithoutScreensaver(), MythDVDBuffer::SafeRead(), TV::SwitchInputs(), GallerySlideView::~GallerySlideView(), MythFlashPlayer::~MythFlashPlayer(), VisualBase::~VisualBase(), and ZMLivePlayer::~ZMLivePlayer().
|
static |
Definition at line 541 of file mythmainwindow.cpp.
Referenced by ScreenShot().
|
static |
Definition at line 569 of file mythmainwindow.cpp.
Referenced by TV::ActiveHandleAction(), TV::customEvent(), customEvent(), and MythScreenType::keyPressEvent().
|
protectedslot |
Definition at line 1013 of file mythmainwindow.cpp.
Referenced by MythMainWindow(), PopDrawDisabled(), and PushDrawDisabled().
| void MythMainWindow::SetEffectsEnabled | ( | bool | Enable | ) |
Definition at line 1037 of file mythmainwindow.cpp.
Referenced by main(), and reloadTheme().
| void MythMainWindow::Show | ( | ) |
Definition at line 970 of file mythmainwindow.cpp.
Referenced by DelayedAction(), TV::DoEditSchedule(), Init(), MythVideoOutputGPU::ResizeForVideo(), ShowMouseCursor(), and TV::~TV().
|
protected |
Definition at line 2119 of file mythmainwindow.cpp.
Referenced by eventFilter(), HideMouseTimeout(), and Init().
| void MythMainWindow::ShowPainterWindow | ( | void | ) |
Definition at line 277 of file mythmainwindow.cpp.
Referenced by Init(), and SetDrawEnabled().
|
signal |
Referenced by DisableScreensaver(), and MythMainWindow().
|
signal |
Referenced by MythMainWindow(), and RemoteScreenShot().
|
signal |
Referenced by MythMainWindow(), and ResetScreensaver().
|
signal |
Referenced by MythMainWindow(), and RestoreScreensaver().
|
signal |
Referenced by MythMainWindow(), and SetDrawEnabled().
|
signal |
Referenced by Init(), main(), MythDisplayDRM::MythDisplayDRM(), MythMainWindow(), and MythScreenSaverWayland::MythScreenSaverWayland().
| bool MythMainWindow::TranslateKeyPress | ( | const QString & | Context, |
| QKeyEvent * | Event, | ||
| QStringList & | Actions, | ||
| bool | AllowJumps = true |
||
| ) |
Get a list of actions for a keypress in the given context.
| Context | The context in which to lookup the keypress for actions. |
| Event | The keypress event to lookup. |
| Actions | The QStringList that will contain the list of actions. |
| AllowJumps | if true then jump points are allowed |
Definition at line 1120 of file mythmainwindow.cpp.
Referenced by MythWebEngineView::handleKeyPress(), KeyLongPressFilter(), FileSelector::keyPressEvent(), ImportNative::keyPressEvent(), LogViewer::keyPressEvent(), RecordingSelector::keyPressEvent(), VideoSelector::keyPressEvent(), EditLyricsDialog::keyPressEvent(), MusicCommon::keyPressEvent(), MythThemedMenu::keyPressEvent(), MythUIVirtualKeyboard::keyPressEvent(), PrevRecordedList::keyPressEvent(), ExportNative::keyPressEvent(), MythBurn::keyPressEvent(), SelectDestination::keyPressEvent(), ThumbFinder::keyPressEvent(), BookmarkEditor::keyPressEvent(), BookmarkManager::keyPressEvent(), MythBrowser::keyPressEvent(), MythFlashPlayer::keyPressEvent(), GameUI::keyPressEvent(), Ripper::keyPressEvent(), RipStatus::keyPressEvent(), EditMetadataCommon::keyPressEvent(), EditAlbumartDialog::keyPressEvent(), ImportMusicDialog::keyPressEvent(), ImportCoverArtDialog::keyPressEvent(), LyricsView::keyPressEvent(), MiniPlayer::keyPressEvent(), MythMusicVolumeDialog::keyPressEvent(), TrackInfoDialog::keyPressEvent(), PlaylistEditorView::keyPressEvent(), SearchView::keyPressEvent(), SmartPlaylistEditor::keyPressEvent(), SmartPLResultViewer::keyPressEvent(), StreamView::keyPressEvent(), VisualizerView::keyPressEvent(), TrackInfoPopup::keyPressEvent(), NetEditorBase::keyPressEvent(), NetSearch::keyPressEvent(), NetTree::keyPressEvent(), RSSEditPopup::keyPressEvent(), RSSEditor::keyPressEvent(), MythNews::keyPressEvent(), MythNewsConfig::keyPressEvent(), MythNewsEditor::keyPressEvent(), Weather::keyPressEvent(), ScreenSetup::keyPressEvent(), ZMConsole::keyPressEvent(), ZMEvents::keyPressEvent(), ZMLivePlayer::keyPressEvent(), ZMMiniPlayer::keyPressEvent(), ZMPlayer::keyPressEvent(), MythChannelOverlay::keyPressEvent(), MythNavigationOverlay::keyPressEvent(), TransportSetting::keyPressEvent(), MythDialogBox::keyPressEvent(), MythConfirmationDialog::keyPressEvent(), MythNotificationScreen::keyPressEvent(), MythUIBusyDialog::keyPressEvent(), MythUIProgressDialog::keyPressEvent(), MythScreenType::keyPressEvent(), MythUIButton::keyPressEvent(), MythUIButtonList::keyPressEvent(), SearchButtonListDialog::keyPressEvent(), MythUIButtonTree::keyPressEvent(), MythUICheckBox::keyPressEvent(), MythUISpinBox::keyPressEvent(), MythUITextEdit::keyPressEvent(), StandardSettingDialog::keyPressEvent(), StorageGroupEditor::keyPressEvent(), StorageGroupDirSetting::keyPressEvent(), ChannelRecPriority::keyPressEvent(), CustomEdit::keyPressEvent(), GallerySlideView::keyPressEvent(), GalleryThumbView::keyPressEvent(), GuideGrid::keyPressEvent(), PlaybackBox::keyPressEvent(), ProgDetails::keyPressEvent(), ProgFinder::keyPressEvent(), ProgLister::keyPressEvent(), ProgramRecPriority::keyPressEvent(), StatusBox::keyPressEvent(), ThemeChooser::keyPressEvent(), ViewScheduled::keyPressEvent(), ViewScheduleDiff::keyPressEvent(), ScreenWizard::keyPressEvent(), ChannelEditor::keyPressEvent(), WelcomeDialog::keyPressEvent(), ItemDetailPopup::keyPressEvent(), VideoDialog::keyPressEvent(), TV::TranslateGesture(), and TV::TranslateKeyPressOrGesture().
|
friend |
Definition at line 32 of file mythmainwindow.h.
|
friend |
Definition at line 34 of file mythmainwindow.h.
|
friend |
Definition at line 33 of file mythmainwindow.h.
|
private |
Definition at line 162 of file mythmainwindow.h.
Referenced by customEvent(), event(), HandleTVAction(), MythMainWindow(), RestartInputHandlers(), and ~MythMainWindow().
|
private |
Definition at line 156 of file mythmainwindow.h.
Referenced by GetDisplay(), Init(), MythMainWindow(), and ~MythMainWindow().
|
private |
Definition at line 165 of file mythmainwindow.h.
Referenced by customEvent(), IdleTimeout(), MythMainWindow(), PauseIdleTimer(), and ResetIdleTimer().
|
private |
Definition at line 164 of file mythmainwindow.h.
Referenced by customEvent(), DisableIdleTimer(), MythMainWindow(), PauseIdleTimer(), and ResetIdleTimer().
|
private |
Definition at line 160 of file mythmainwindow.h.
Referenced by Draw(), drawScreen(), GetPainter(), Init(), and ~MythMainWindow().
|
private |
Definition at line 161 of file mythmainwindow.h.
Referenced by Animate(), Draw(), drawScreen(), GetPaintWindow(), GetRenderDevice(), HidePainterWindow(), Init(), MoveResize(), ShowPainterWindow(), and ~MythMainWindow().
|
private |
Definition at line 155 of file mythmainwindow.h.
Referenced by AddScreenStack(), AllowInput(), Animate(), BindJump(), BindKey(), ClearAllJumps(), ClearJump(), ClearKey(), ClearKeyContext(), closeEvent(), customEvent(), DestinationExists(), DisableIdleTimer(), Draw(), drawScreen(), EnterStandby(), EnumerateDestinations(), event(), eventFilter(), ExitStandby(), ExitToMainMenu(), GetActionText(), GetCurrentNotificationCenter(), GetMainStack(), GetStack(), GetStackAt(), GetStackCount(), GetTarget(), HandleMedia(), IdleTimeout(), Init(), IsExitingToMain(), JumpTo(), KeyLongPressFilter(), MouseTimeout(), MythMainWindow(), PauseIdleTimer(), PopDrawDisabled(), PopScreenStack(), PushDrawDisabled(), RegisterJump(), RegisterKey(), RegisterMediaPlugin(), ResetIdleTimer(), SetDrawEnabled(), SetEffectsEnabled(), Show(), ShowMouseCursor(), TranslateKeyPress(), and ~MythMainWindow().
|
private |
Definition at line 158 of file mythmainwindow.h.
Referenced by MythMainWindow().
|
private |
Definition at line 157 of file mythmainwindow.h.
Referenced by Animate(), Draw(), and drawScreen().
|
private |
Definition at line 163 of file mythmainwindow.h.
Referenced by IsScreensaverAsleep(), MythMainWindow(), and ~MythMainWindow().
|
private |
Definition at line 159 of file mythmainwindow.h.
Referenced by Init(), and ~MythMainWindow().