|
MythTV master
|
#include <libmythui/mythscreenstack.h>
Signals | |
| void | topScreenChanged (MythScreenType *screen) |
Public Member Functions | |
| MythScreenStack (MythMainWindow *parent, const QString &name, bool main=false) | |
| ~MythScreenStack () override | |
| virtual void | AddScreen (MythScreenType *screen, bool allowFade=true) |
| virtual void | PopScreen (MythScreenType *screen=nullptr, bool allowFade=true, bool deleteScreen=true) |
| virtual MythScreenType * | GetTopScreen (void) const |
| void | GetDrawOrder (QVector< MythScreenType * > &screens) |
| void | GetScreenList (QVector< MythScreenType * > &screens) |
| void | ScheduleInitIfNeeded (void) |
| void | AllowReInit (void) |
| int | TotalScreens () const |
| void | DisableEffects (void) |
| void | EnableEffects (void) |
| QString | GetLocation (bool fullPath) const |
Static Public Member Functions | |
| static MythPainter * | GetPainter (void) |
Protected Member Functions | |
| virtual void | RecalculateDrawOrder (void) |
| void | DoNewFadeTransition () |
| void | CheckNewFadeTransition () |
| void | CheckDeletes (bool force=false) |
Protected Attributes | |
| QVector< MythScreenType * > | m_children |
| QVector< MythScreenType * > | m_drawOrder |
| MythScreenType * | m_topScreen {nullptr} |
| bool | m_doTransitions {false} |
| bool | m_doInit {false} |
| bool | m_initTimerStarted {false} |
| bool | m_inNewTransition {false} |
| MythScreenType * | m_newTop {nullptr} |
| QVector< MythScreenType * > | m_toDelete |
Private Slots | |
| void | doInit (void) |
Definition at line 16 of file mythscreenstack.h.
| MythScreenStack::MythScreenStack | ( | MythMainWindow * | parent, |
| const QString & | name, | ||
| bool | main = false |
||
| ) |
Definition at line 17 of file mythscreenstack.cpp.
|
override |
Definition at line 29 of file mythscreenstack.cpp.
|
virtual |
Definition at line 52 of file mythscreenstack.cpp.
Referenced by MythThemedMenu::aboutScreen(), MythControls::ActionButtonPressed(), SmartPlaylistEditor::addCriteria(), ImportIconsWizard::askSubmit(), StartPrompter::backendRunningPrompt(), VideoDialog::ChangeFilter(), MythBurn::changeProfile(), MythControls::ChangeView(), GuideGrid::ChannelGroupMenu(), ChannelEditor::channelIconImport(), CardInput::channelScanner(), MythThemedMenu::checkPinCode(), CustomEdit::checkSyntax(), Ripper::chooseBackend(), ImportMusicDialog::chooseBackend(), GameHandler::clearAllGameData(), StatusBox::clicked(), GUIStartup::Close(), StandardSettingDialog::Close(), MythControls::Close(), ExitPrompter::Confirm(), GalleryThumbView::Copy(), ImportMusicDialog::copyFile(), GeneralSetupWizard::CreateBusyDialog(), GameUI::createBusyDialog(), NetEditorBase::CreateBusyDialog(), EditMetadataDialog::createBusyDialog(), MetadataOptions::CreateBusyDialog(), VideoDialog::createBusyDialog(), CardInput::CreateNewInputGroup(), PlayGroupEditor::CreateNewPlayBackGroup(), VideoDialog::createOkDialog(), GameHandler::CreateProgress(), ProgFinder::customEvent(), GameUI::customEvent(), MusicCommon::customEvent(), MusicPlayer::customEvent(), PlaylistEditorView::customEvent(), SmartPlaylistEditor::customEvent(), StreamView::customEvent(), RecMetadataEdit::customEvent(), ProgramRecPriority::customEvent(), MetadataOptions::customEvent(), ChannelEditor::customEvent(), VideoDialog::customEvent(), ChannelEditor::del(), ZMEvents::deleteAll(), ChannelEditor::deleteChannels(), MythControls::DeleteKey(), GuideGrid::deleteRule(), ViewScheduled::deleteRule(), VideoDialog::DisplayMenu(), PlaybackBox::DisplayPopupMenu(), PlaybackBox::displayRecGroup(), ParentalLevelChangeCheckerPrivate::DoCheck(), EditAlbumartDialog::doCopyImageToTag(), ScreenWizard::doExit(), VideoDialog::DoItemDetailShow(), ScreenSetup::doListSelect(), ScreenSetup::doLocationDialog(), ScreenWizard::doMenu(), VideoScanner::doScan(), GameScanner::doScan(), LocationDialog::doSearch(), MythUITextEditSetting::edit(), MythUIFileBrowserSetting::edit(), MythUIComboBoxSetting::edit(), MythUISpinBoxSetting::edit(), ProgramRecPriority::edit(), ChannelEditor::edit(), PowerSearchPopup::editClicked(), SmartPlaylistEditor::editCriteria(), ScheduleCommon::EditCustom(), CriteriaRowEditor::editDate(), MythBurn::editDetails(), LyricsView::editLyrics(), VideoDialog::EditMetadata(), ScheduleCommon::EditRecording(), ScheduleCommon::EditScheduled(), MythBurn::editThumbnails(), MusicCommon::editTrackInfo(), anonymous_namespace{romedit.cpp}::FindImagePopup(), anonymous_namespace{editvideometadata.cpp}::FindImagePopup(), MetadataOptions::FindImagePopup(), SourceManager::findScripts(), anonymous_namespace{editvideometadata.cpp}::FindVideoFilePopup(), GameCallback(), MythControls::GrabKey(), SchemaUpgradeWizard::GuiPrompt(), MythThemedMenu::handleAction(), MythBurn::handleAddFile(), ExportNative::handleAddRecording(), MythBurn::handleAddRecording(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), ExitPrompter::HandleExit(), ExitPrompter::handleExit(), SelectDestination::handleFind(), handleMedia(), SelectDestination::handleNextPage(), DVDThemeSelector::handleNextPage(), TV::Init(), RecordingSelector::Init(), MythNotificationScreen::Init(), ImportIconsWizard::initialLoad(), NetBase::InitProgressDialog(), VideoSetupWizard::initProgressDialog(), GameUI::itemClicked(), BookmarkManager::keyPressEvent(), MythBrowser::keyPressEvent(), PlaylistEditorView::keyPressEvent(), MythUITextEdit::keyPressEvent(), MusicData::loadMusic(), ImportMusicDialog::locationPressed(), main(), GalleryThumbView::MakeDir(), ScheduleCommon::MakeOverride(), ExitPrompter::masterPromptExit(), TransportListEditor::Menu(), ChannelEditor::menu(), GallerySlideView::MenuMain(), GalleryThumbView::MenuMain(), ChannelScannerGUI::MonitorProgress(), GalleryThumbView::Move(), MusicCallback(), mythplugin_config(), mythplugin_run(), MythThemeBase::MythThemeBase(), EditMetadataDialog::NewCategoryPopup(), PlaybackSettings::NewPlaybackProfileSlot(), GamePlayersList::NewPlayerDialog(), ProgramRecPriority::newTemplate(), MusicPlayer::nextAuto(), ArchiveFileSelector::nextPressed(), EditMetadataDialog::OnArtworkSearchDone(), MetadataOptions::OnArtworkSearchDone(), FileAssocDialog::OnNewExtensionPressed(), anonymous_namespace{mythfrontend.cpp}::RunSettingsCompletion::OnPasswordResultReady(), VideoDialog::OnRemoveVideo(), MythWebEngineView::openBusyPopup(), MythScreenType::OpenBusyPopup(), SmartPlaylistEditor::orderByClicked(), RecMetadataEdit::PerformQuery(), ZMEvents::playPressed(), AudioTest::prepareTest(), GameHandler::processGames(), LanguageSelection::prompt(), BackendSelection::Prompt(), MythContext::Impl::PromptForDatabaseParams(), BackendSelection::PromptForPassword(), StoreOptMixin::PromptForRecGroup(), GameHandler::promptForRemoval(), VideoDialog::PromptToScan(), ChannelImporter::QueryUserDelete(), ChannelImporter::QueryUserInsert(), ChannelImporter::QueryUserUpdate(), CustomEdit::recordClicked(), ManualSchedule::recordClicked(), PhrasePopup::recordClicked(), PowerSearchPopup::recordClicked(), MythThemeBase::Reload(), MusicData::reloadMusic(), ProgramRecPriority::remove(), VideoDialog::RemoveVideo(), MythControls::ResolveConflict(), ChannelEditor::restoreData(), MythUIComboBoxSetting::resultEdit(), XMLTV_generic_config::RunConfig(), runCreateArchive(), runCreateDVD(), RunGallery(), RunGames(), runHomepage(), 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(), AlbumArtImages::scanForImages(), Ripper::searchAlbum(), EditMetadataDialog::searchAlbum(), Ripper::searchArtist(), EditMetadataDialog::searchArtist(), EditStreamMetadata::searchClicked(), EditMetadataDialog::searchCompilationArtist(), Ripper::searchGenre(), EditMetadataDialog::searchGenre(), VideoDialog::searchStart(), GameUI::searchStart(), NetSearch::SearchTimeout(), MediaMonitor::selectDrivePopup(), RSSEditPopup::SelectImagePopup(), PlaybackBox::setRecGroup(), SetupMenuCallback(), Weather::setupPage(), Weather::SetupScreens(), ShowBusyPopup(), VideoDialog::ShowCastDialog(), SmartPlaylistEditor::showCategoryMenu(), ScheduleCommon::ShowChannelSearch(), ProgLister::ShowChooseViewMenu(), Ripper::ShowConflictMenu(), SmartPlaylistEditor::showCriteriaMenu(), StorageGroupEditor::ShowDeleteDialog(), StorageGroupDirSetting::ShowDeleteDialog(), PlaybackProfileItemConfig::ShowDeleteDialog(), ProgLister::ShowDeleteRuleMenu(), ScheduleCommon::ShowDetails(), GalleryThumbView::ShowDialog(), MythWebEngineView::showDownloadMenu(), BookmarkManager::ShowEditDialog(), MythNews::ShowEditDialog(), ZMConsole::showEditFunctionPopup(), Ripper::showEditMetadataDialog(), ImportMusicDialog::showEditMetadataDialog(), MythUISpinBox::ShowEntryDialog(), MusicCommon::showExitMenu(), VideoDialog::ShowExtensionSettings(), MythNews::ShowFeedManager(), StorageGroupEditor::ShowFileBrowser(), ScheduleEditor::ShowFilters(), PlaybackBox::showGroupFilter(), MythContext::Impl::ShowGuiStartup(), PlaybackBox::showIconHelp(), ImportMusicDialog::showImportCoverArtDialog(), GameUI::showInfo(), PrevRecordedList::ShowItemMenu(), GuideGrid::ShowJumpToTime(), ImportNative::showList(), showLogViewer(), ChannelImporter::ShowManualChannelPopup(), ZMLivePlayer::ShowMenu(), MythThemedMenu::ShowMenu(), EditMetadataDialog::showMenu(), EditAlbumartDialog::showMenu(), ProgramRecPriority::showMenu(), ScheduleEditor::showMenu(), ExportNative::ShowMenu(), LogViewer::ShowMenu(), MythBurn::ShowMenu(), RecordingSelector::ShowMenu(), ThumbFinder::ShowMenu(), VideoSelector::ShowMenu(), GameUI::ShowMenu(), Ripper::ShowMenu(), ImportMusicDialog::ShowMenu(), LyricsView::ShowMenu(), MusicCommon::ShowMenu(), PlaylistEditorView::ShowMenu(), SearchView::ShowMenu(), StreamView::ShowMenu(), VisualizerView::ShowMenu(), NetSearch::ShowMenu(), NetTree::ShowMenu(), MythNews::ShowMenu(), ZMEvents::ShowMenu(), StandardSettingDialog::ShowMenu(), ChannelRecPriority::ShowMenu(), GuideGrid::ShowMenu(), MythControls::ShowMenu(), PrevRecordedList::ShowMenu(), ProgFinder::ShowMenu(), ProgLister::ShowMenu(), ViewScheduled::ShowMenu(), WelcomeDialog::ShowMenu(), PlaybackBox::showMetadataEditor(), ScheduleEditor::ShowMetadataOptions(), VideoDialog::ShowMetadataSettings(), ZMClient::showMiniPlayer(), MusicPlayer::showMiniPlayer(), StorageGroupListEditor::ShowNewGroupDialog(), ChannelGroupsSetting::ShowNewGroupDialog(), RecordingProfileEditor::ShowNewProfileDialog(), ShowOkPopup(), ProgLister::ShowOldRecordedMenu(), GalleryThumbView::ShowPassword(), PlaybackSettingsDialog::ShowPlaybackProfileMenu(), VideoDialog::ShowPlayerSettings(), PlaybackBox::ShowPlayGroupChanger(), MusicCommon::showPlaylistOptionsMenu(), ThemeChooser::showPopupMenu(), ScheduleEditor::ShowPostProc(), ScheduleEditor::ShowPreview(), ScheduleCommon::ShowPrevious(), PlaybackBox::ShowRecGroupChanger(), PlaybackBox::showRecGroupPasswordChanger(), GuideGrid::ShowRecordingMenu(), GalleryThumbView::ShowRenameInput(), ChannelImporter::ShowResolveChannelPopup(), SmartPlaylistEditor::showResultsClicked(), EditMetadataCommon::showSaveMenu(), ScheduleEditor::ShowSchedInfo(), ScheduleEditor::ShowSchedOpt(), Weather::showScreen(), MythUIButtonList::ShowSearchDialog(), GalleryThumbView::ShowSettings(), WelcomeDialog::ShowSettings(), ProgramRecPriority::showSortMenu(), ViewScheduleDiff::showStatus(), showStatus(), ScheduleEditor::ShowStoreOpt(), ScheduleEditor::showTemplateMenu(), MusicCommon::showTrackInfo(), SmartPLResultViewer::showTrackInfo(), VisualizerView::showTrackInfoPopup(), EditAlbumartDialog::showTypeMenu(), ScreenSetup::showUnitsPopup(), ScheduleCommon::ShowUpcoming(), ScheduleEditor::showUpcomingByRule(), ScheduleCommon::ShowUpcomingScheduled(), PlaybackBox::showViewChanger(), MusicCommon::showVolume(), showWarningDialog(), MythBrowser::slotAddBookmark(), BookmarkManager::slotBookmarkClicked(), GeneralSetupWizard::slotDelete(), BookmarkManager::slotDeleteCurrent(), BookmarkManager::slotDeleteMarked(), RSSEditor::SlotDeleteSite(), NetBase::SlotDeleteVideo(), RSSEditor::SlotEditSite(), MythBrowser::slotEnterURL(), BookmarkEditor::slotFindCategory(), RSSEditor::SlotNewSite(), AudioSetupWizard::slotNext(), GeneralSetupWizard::slotNext(), BookmarkManager::slotSettings(), BookmarkManager::slotShowMarked(), GeneralSetupWizard::slotSubmit(), standbyScreen(), BurnMenu::start(), startAppearWiz(), startChannelRecPriorities(), EditAlbumartDialog::startCopyImageToTag(), startCustomEdit(), startCustomPriority(), startDatabaseTree(), startImport(), startKeysSetup(), startManaged(), startManageRecordingRules(), startManualSchedule(), startPlayback(), startPlaybackWithGroup(), startPrevious(), startPreviousOld(), Ripper::startRipper(), startRipper(), ImportMusicDialog::startScan(), startSearchCategory(), startSearchChannel(), startSearchKeyword(), startSearchMovie(), startSearchNew(), startSearchPeople(), startSearchPower(), startSearchStored(), startSearchTime(), startSearchTitle(), GalleryThumbView::StartSlideshow(), startStreamPlayback(), TV::StartTV(), CustomEdit::storeClicked(), VideoDialog::SwitchLayout(), EditMetadataDialog::switchToAlbumArt(), EditAlbumartDialog::switchToMetadata(), MusicCommon::switchView(), NetTree::SwitchView(), CustomEdit::testClicked(), CustomPriority::testSchedule(), ChannelEditor::transportEditor(), TVMenuCallback(), ChannelRecPriority::upcoming(), MythBurn::updateArchiveList(), CriteriaRowEditor::valueButtonClicked(), VideoDialog::VideoMenu(), VideoDialog::ViewPlot(), and WeatherCallback().
|
inline |
Definition at line 34 of file mythscreenstack.h.
Referenced by MythScreenType::LoadInBackground(), and MythScreenType::LoadInForeground().
Definition at line 299 of file mythscreenstack.cpp.
Referenced by MythNotificationScreenStack::CheckDeletes(), GetDrawOrder(), GetScreenList(), and ~MythScreenStack().
|
protected |
Definition at line 280 of file mythscreenstack.cpp.
Referenced by GetDrawOrder(), and GetScreenList().
|
inline |
Definition at line 37 of file mythscreenstack.h.
Referenced by MythThemeBase::MythThemeBase().
|
privateslot |
Definition at line 220 of file mythscreenstack.cpp.
Referenced by ScheduleInitIfNeeded().
|
protected |
Definition at line 258 of file mythscreenstack.cpp.
Referenced by AddScreen().
| void MythScreenStack::EnableEffects | ( | void | ) |
Definition at line 40 of file mythscreenstack.cpp.
Referenced by MythScreenStack().
| void MythScreenStack::GetDrawOrder | ( | QVector< MythScreenType * > & | screens | ) |
Definition at line 191 of file mythscreenstack.cpp.
| QString MythScreenStack::GetLocation | ( | bool | fullPath | ) | const |
Definition at line 365 of file mythscreenstack.cpp.
Referenced by MythUILocation::GetCurrentLocation().
|
static |
Definition at line 389 of file mythscreenstack.cpp.
Referenced by EnableEffects(), and MythScreenType::GetPainter().
| void MythScreenStack::GetScreenList | ( | QVector< MythScreenType * > & | screens | ) |
Definition at line 200 of file mythscreenstack.cpp.
Referenced by NCPrivate::GetNotificationScreens(), and handleGalleryMedia().
|
virtual |
Reimplemented in MythNotificationScreenStack.
Definition at line 182 of file mythscreenstack.cpp.
Referenced by CheckDeletes(), MythMainWindow::ExitToMainMenu(), MythUIWebBrowser::IsOnTopScreen(), MythMainWindow::IsTopScreenInitialized(), MythNotificationScreenStack::PopScreen(), PopScreen(), NetworkControl::processTheme(), RecalculateDrawOrder(), runMenu(), setDebugShowBorders(), setDebugShowNames(), SysEventHandleAction(), and MythDialogBox::updateMenu().
|
virtual |
Reimplemented in MythNotificationScreenStack.
Definition at line 86 of file mythscreenstack.cpp.
Referenced by Weather::clearScreens(), MythScreenType::Close(), GuideGrid::Close(), ProgLister::Close(), ScheduleEditor::Close(), ViewScheduled::Close(), NCPrivate::DeleteAllScreens(), MythContext::Impl::EndTempWindow(), GuideGrid::enter(), Weather::hideScreen(), MythContext::Impl::Init(), MythThemedMenu::keyPressEvent(), MythBrowser::keyPressEvent(), ProgFinder::keyPressEvent(), MythNotificationScreen::ProcessTimer(), LanguageSelection::prompt(), BackendSelection::Prompt(), MythThemeBase::Reload(), MythDialogBox::Select(), VideoDialog::SwitchLayout(), NetTree::SwitchView(), and ~MythScreenStack().
|
protectedvirtual |
Definition at line 235 of file mythscreenstack.cpp.
Referenced by AddScreen(), CheckDeletes(), CheckNewFadeTransition(), DoNewFadeTransition(), MythNotificationScreenStack::PopScreen(), and PopScreen().
| void MythScreenStack::ScheduleInitIfNeeded | ( | void | ) |
Definition at line 209 of file mythscreenstack.cpp.
|
signal |
Referenced by AddScreen(), CheckDeletes(), MythUIWebBrowser::Init(), main(), and PopScreen().
| int MythScreenStack::TotalScreens | ( | void | ) | const |
Definition at line 47 of file mythscreenstack.cpp.
Referenced by MythThemedMenu::keyPressEvent().
|
protected |
Definition at line 56 of file mythscreenstack.h.
Referenced by AddScreen(), CheckDeletes(), GetLocation(), GetScreenList(), MythNotificationScreenStack::GetTopScreen(), MythNotificationScreenStack::PopScreen(), PopScreen(), RecalculateDrawOrder(), TotalScreens(), and ~MythScreenStack().
Definition at line 62 of file mythscreenstack.h.
Referenced by AddScreen(), CheckNewFadeTransition(), doInit(), and ScheduleInitIfNeeded().
Definition at line 61 of file mythscreenstack.h.
Referenced by AddScreen(), EnableEffects(), MythNotificationScreenStack::PopScreen(), and PopScreen().
|
protected |
Definition at line 57 of file mythscreenstack.h.
Referenced by CheckDeletes(), DoNewFadeTransition(), GetDrawOrder(), GetTopScreen(), MythNotificationScreenStack::PopScreen(), PopScreen(), and RecalculateDrawOrder().
Definition at line 63 of file mythscreenstack.h.
Referenced by doInit(), and ScheduleInitIfNeeded().
Definition at line 64 of file mythscreenstack.h.
Referenced by CheckNewFadeTransition(), DoNewFadeTransition(), GetDrawOrder(), and GetScreenList().
|
protected |
Definition at line 65 of file mythscreenstack.h.
Referenced by AddScreen(), CheckDeletes(), CheckNewFadeTransition(), and DoNewFadeTransition().
|
protected |
Definition at line 67 of file mythscreenstack.h.
Referenced by MythNotificationScreenStack::CheckDeletes(), CheckDeletes(), MythNotificationScreenStack::PopScreen(), and PopScreen().
|
protected |
Definition at line 59 of file mythscreenstack.h.
Referenced by AddScreen(), doInit(), GetLocation(), GetTopScreen(), MythNotificationScreenStack::PopScreen(), PopScreen(), and ScheduleInitIfNeeded().