MythTV
master
|
#include <mythscreenstack.h>
Signals | |
void | topScreenChanged (MythScreenType *screen) |
Public Member Functions | |
MythScreenStack (MythMainWindow *parent, const QString &name, bool main=false) | |
virtual | ~MythScreenStack () |
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 |
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 |
bool | m_DoTransitions |
bool | m_DoInit |
bool | m_InitTimerStarted |
bool | m_InNewTransition |
MythScreenType * | m_newTop |
QVector< MythScreenType * > | m_ToDelete |
Private Slots | |
void | doInit (void) |
Definition at line 15 of file mythscreenstack.h.
MythScreenStack::MythScreenStack | ( | MythMainWindow * | parent, |
const QString & | name, | ||
bool | main = false |
||
) |
Definition at line 15 of file mythscreenstack.cpp.
|
virtual |
Definition at line 34 of file mythscreenstack.cpp.
|
virtual |
Definition at line 56 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(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), GameHandler::clearAllGameData(), StatusBox::clicked(), GUIStartup::Close(), MythControls::Close(), StandardSettingDialog::Close(), GalleryThumbView::Copy(), ImportMusicDialog::copyFile(), IconView::CopyMarkedFiles(), GeneralSetupWizard::CreateBusyDialog(), EditMetadataDialog::createBusyDialog(), NetEditorBase::CreateBusyDialog(), GameUI::createBusyDialog(), VideoDialog::createBusyDialog(), MetadataOptions::CreateBusyDialog(), CardInput::CreateNewInputGroup(), PlayGroupEditor::CreateNewPlayBackGroup(), VideoDialog::createOkDialog(), GameHandler::CreateProgress(), ChannelEditor::customEvent(), StreamView::customEvent(), ProgFinder::customEvent(), GameUI::customEvent(), MusicCommon::customEvent(), ProgramRecPriority::customEvent(), PlaylistEditorView::customEvent(), SmartPlaylistEditor::customEvent(), VideoDialog::customEvent(), MusicPlayer::customEvent(), MetadataOptions::customEvent(), RecMetadataEdit::customEvent(), ChannelEditor::del(), ZMEvents::deleteAll(), ChannelEditor::deleteChannels(), MythControls::DeleteKey(), ViewScheduled::deleteRule(), GuideGrid::deleteRule(), VideoDialog::DisplayMenu(), PlaybackBox::DisplayPopupMenu(), PlaybackBox::displayRecGroup(), ParentalLevelChangeCheckerPrivate::DoCheck(), EditAlbumartDialog::doCopyImageToTag(), MythWebView::doDownloadRequested(), ScreenWizard::doExit(), VideoDialog::DoItemDetailShow(), ScreenSetup::doListSelect(), ScreenSetup::doLocationDialog(), ScreenWizard::doMenu(), VideoScanner::doScan(), GameScanner::doScan(), LocationDialog::doSearch(), ChannelEditor::edit(), ProgramRecPriority::edit(), MythUITextEditSetting::edit(), MythUIFileBrowserSetting::edit(), MythUIComboBoxSetting::edit(), MythUISpinBoxSetting::edit(), PowerSearchPopup::editClicked(), SmartPlaylistEditor::editCriteria(), ScheduleCommon::EditCustom(), CriteriaRowEditor::editDate(), MythBurn::editDetails(), LyricsView::editLyrics(), VideoDialog::EditMetadata(), ScheduleCommon::EditRecording(), ScheduleCommon::EditScheduled(), MythBurn::editThumbnails(), MusicCommon::editTrackInfo(), MetadataOptions::FindImagePopup(), SourceManager::findScripts(), GameCallback(), MythControls::GrabKey(), MythThemedMenu::handleAction(), MythBurn::handleAddFile(), ExportNative::handleAddRecording(), MythBurn::handleAddRecording(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), ExitPrompter::handleExit(), SelectDestination::handleFind(), IconView::HandleImport(), IconView::HandleMainMenu(), handleMedia(), IconView::HandleMkDir(), DVDThemeSelector::handleNextPage(), SelectDestination::handleNextPage(), IconView::HandleRename(), IconView::HandleSettings(), IconView::HandleSubMenuFilter(), MythThemeBase::Init(), RecordingSelector::Init(), MythNotificationScreen::Init(), TV::Init(), ImportIconsWizard::initialLoad(), NetBase::InitProgressDialog(), VideoSetupWizard::initProgressDialog(), GameUI::itemClicked(), StatusBox::keyPressEvent(), MythBrowser::keyPressEvent(), MythUITextEdit::keyPressEvent(), PlaylistEditorView::keyPressEvent(), BookmarkManager::keyPressEvent(), MusicData::loadMusic(), ImportMusicDialog::locationPressed(), main(), GalleryThumbView::MakeDir(), ScheduleCommon::MakeOverride(), ExitPrompter::masterPromptExit(), ChannelEditor::menu(), TransportListEditor::Menu(), GallerySlideView::MenuMain(), GalleryThumbView::MenuMain(), ChannelScannerGUI::MonitorProgress(), GalleryThumbView::Move(), MusicCallback(), mythplugin_config(), mythplugin_run(), EditMetadataDialog::NewCategoryPopup(), PlaybackSettings::NewPlaybackProfileSlot(), GamePlayersList::NewPlayerDialog(), ProgramRecPriority::newTemplate(), MusicPlayer::nextAuto(), ArchiveFileSelector::nextPressed(), EditMetadataDialog::OnArtworkSearchDone(), MetadataOptions::OnArtworkSearchDone(), FileAssocDialog::OnNewExtensionPressed(), VideoDialog::OnRemoveVideo(), MythScreenType::OpenBusyPopup(), MythWebView::openBusyPopup(), SmartPlaylistEditor::orderByClicked(), RecMetadataEdit::PerformQuery(), ZMEvents::playPressed(), VideoOutputOMX::PrepareFrame(), AudioTest::prepareTest(), GameHandler::processGames(), LanguageSelection::prompt(), BackendSelection::Prompt(), MythContextPrivate::PromptForDatabaseParams(), BackendSelection::PromptForPassword(), StoreOptMixin::PromptForRecGroup(), GameHandler::promptForRemoval(), VideoDialog::PromptToScan(), ChannelImporter::QueryUserDelete(), ChannelImporter::QueryUserInsert(), ChannelImporter::QueryUserUpdate(), PhrasePopup::recordClicked(), ManualSchedule::recordClicked(), CustomEdit::recordClicked(), PowerSearchPopup::recordClicked(), MythThemeBase::Reload(), MusicData::reloadMusic(), ProgramRecPriority::remove(), VideoDialog::RemoveVideo(), MythControls::ResolveConflict(), MythUIComboBoxSetting::resultEdit(), run(), XMLTV_generic_config::RunConfig(), runCreateArchive(), runCreateDVD(), RunGallery(), RunGames(), runHomepage(), runImportVideo(), runMenu(), RunMenu(), RunNetTree(), RunNetVision(), RunNews(), PlaybackBox::RunPlaybackBox(), RunProgramFinder(), GuideGrid::RunProgramGuide(), runRipCD(), NetTree::RunRSSEditor(), ScheduleEditor::RunScheduleEditor(), NetSearch::RunSearchEditor(), NetTree::RunTreeEditor(), RunVideoScreen(), ViewScheduled::RunViewScheduled(), RunWeather(), runZMConsole(), runZMEventView(), runZMLiveView(), runZMMiniPlayer(), ChannelEditor::scan(), AlbumArtImages::scanForImages(), EditMetadataDialog::searchAlbum(), Ripper::searchAlbum(), EditMetadataDialog::searchArtist(), Ripper::searchArtist(), EditStreamMetadata::searchClicked(), EditMetadataDialog::searchCompilationArtist(), EditMetadataDialog::searchGenre(), Ripper::searchGenre(), GameUI::searchStart(), VideoDialog::searchStart(), NetSearch::SearchTimeout(), 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(), MythWebView::showDownloadMenu(), MythNews::ShowEditDialog(), BookmarkManager::ShowEditDialog(), ZMConsole::showEditFunctionPopup(), ImportMusicDialog::showEditMetadataDialog(), Ripper::showEditMetadataDialog(), MythUISpinBox::ShowEntryDialog(), MusicCommon::showExitMenu(), VideoDialog::ShowExtensionSettings(), MythNews::ShowFeedManager(), StorageGroupEditor::ShowFileBrowser(), ScheduleEditor::ShowFilters(), PlaybackBox::showGroupFilter(), MythContextPrivate::ShowGuiStartup(), PlaybackBox::showIconHelp(), GameUI::showInfo(), PrevRecordedList::ShowItemMenu(), GuideGrid::ShowJumpToTime(), ImportNative::showList(), showLogViewer(), ChannelImporter::ShowManualChannelPopup(), VisualizerView::ShowMenu(), LyricsView::ShowMenu(), SearchView::ShowMenu(), StreamView::ShowMenu(), ViewScheduled::ShowMenu(), LogViewer::ShowMenu(), PrevRecordedList::ShowMenu(), WelcomeDialog::ShowMenu(), MythNews::ShowMenu(), ChannelRecPriority::ShowMenu(), RecordingSelector::ShowMenu(), ExportNative::ShowMenu(), GameUI::ShowMenu(), ThumbFinder::ShowMenu(), VideoSelector::ShowMenu(), ProgFinder::ShowMenu(), ZMEvents::ShowMenu(), MusicCommon::ShowMenu(), NetSearch::ShowMenu(), ZMLivePlayer::showMenu(), MythBurn::ShowMenu(), PlaylistEditorView::ShowMenu(), ProgLister::ShowMenu(), MythThemedMenu::ShowMenu(), ImportMusicDialog::ShowMenu(), ProgramRecPriority::showMenu(), EditMetadataDialog::showMenu(), NetTree::ShowMenu(), Ripper::ShowMenu(), MythControls::ShowMenu(), ScheduleEditor::showMenu(), EditAlbumartDialog::showMenu(), GuideGrid::ShowMenu(), StandardSettingDialog::ShowMenu(), PlaybackBox::showMetadataEditor(), ScheduleEditor::ShowMetadataOptions(), VideoDialog::ShowMetadataSettings(), ZMClient::showMiniPlayer(), MusicPlayer::showMiniPlayer(), StorageGroupListEditor::ShowNewGroupDialog(), ChannelGroupsSetting::ShowNewGroupDialog(), 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(), SmartPlaylistEditor::showResultsClicked(), EditMetadataCommon::showSaveMenu(), ScheduleEditor::ShowSchedInfo(), ScheduleEditor::ShowSchedOpt(), Weather::showScreen(), MythUIButtonList::ShowSearchDialog(), WelcomeDialog::ShowSettings(), GalleryThumbView::ShowSettings(), ProgramRecPriority::showSortMenu(), ViewScheduleDiff::showStatus(), showStatus(), ScheduleEditor::ShowStoreOpt(), ScheduleEditor::showTemplateMenu(), MusicCommon::showTrackInfo(), SmartPLResultViewer::showTrackInfo(), VisualizerView::showTrackInfoPopup(), EditAlbumartDialog::showTypeMenu(), ScreenSetup::showUnitsPopup(), ScheduleCommon::ShowUpcoming(), ScheduleEditor::showUpcomingByRule(), 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(), GeneralSetupWizard::slotNext(), AudioSetupWizard::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().
|
virtual |
Reimplemented in MythNotificationScreenStack.
Definition at line 90 of file mythscreenstack.cpp.
Referenced by Weather::clearScreens(), ViewScheduled::Close(), MythScreenType::Close(), GuideGrid::Close(), ScheduleEditor::Close(), NCPrivate::DeleteAllScreens(), MythContextPrivate::EndTempWindow(), GuideGrid::enter(), Weather::hideScreen(), MythContextPrivate::Init(), MythBrowser::keyPressEvent(), ProgFinder::keyPressEvent(), MythThemedMenu::keyPressEvent(), MythNotificationScreen::ProcessTimer(), LanguageSelection::prompt(), BackendSelection::Prompt(), MythThemeBase::Reload(), MythDialogBox::Select(), VideoDialog::SwitchLayout(), NetTree::SwitchView(), and ~MythScreenStack().
|
virtual |
Reimplemented in MythNotificationScreenStack.
Definition at line 187 of file mythscreenstack.cpp.
Referenced by CheckDeletes(), MythMainWindow::customEvent(), MythMainWindow::ExitToMainMenu(), MythUIWebBrowser::IsOnTopScreen(), MythUIHelper::IsTopScreenInitialized(), PopScreen(), MythNotificationScreenStack::PopScreen(), VideoOutputOpenGL::PrepareFrame(), NetworkControl::processTheme(), RecalculateDrawOrder(), runMenu(), setDebugShowBorders(), setDebugShowNames(), SysEventHandleAction(), and MythDialogBox::updateMenu().
void MythScreenStack::GetDrawOrder | ( | QVector< MythScreenType * > & | screens | ) |
Definition at line 196 of file mythscreenstack.cpp.
void MythScreenStack::GetScreenList | ( | QVector< MythScreenType * > & | screens | ) |
Definition at line 205 of file mythscreenstack.cpp.
Referenced by NCPrivate::GetNotificationScreens(), and handleGalleryMedia().
void MythScreenStack::ScheduleInitIfNeeded | ( | void | ) |
Definition at line 214 of file mythscreenstack.cpp.
|
inline |
Definition at line 33 of file mythscreenstack.h.
Referenced by MythScreenType::LoadInBackground(), and MythScreenType::LoadInForeground().
int MythScreenStack::TotalScreens | ( | void | ) | const |
Definition at line 51 of file mythscreenstack.cpp.
Referenced by MythThemedMenu::keyPressEvent().
|
inline |
Definition at line 36 of file mythscreenstack.h.
Referenced by MythThemeBase::Init().
void MythScreenStack::EnableEffects | ( | void | ) |
Definition at line 45 of file mythscreenstack.cpp.
Referenced by MythScreenStack().
QString MythScreenStack::GetLocation | ( | bool | fullPath | ) | const |
Definition at line 373 of file mythscreenstack.cpp.
Referenced by MythUIHelper::GetCurrentLocation().
MythPainter * MythScreenStack::GetPainter | ( | void | ) |
Definition at line 400 of file mythscreenstack.cpp.
Referenced by EnableEffects(), and MythScreenType::GetPainter().
|
signal |
Referenced by AddScreen(), CheckDeletes(), main(), and PopScreen().
|
privateslot |
Definition at line 225 of file mythscreenstack.cpp.
Referenced by ScheduleInitIfNeeded().
|
protectedvirtual |
Definition at line 240 of file mythscreenstack.cpp.
Referenced by AddScreen(), CheckDeletes(), CheckNewFadeTransition(), DoNewFadeTransition(), PopScreen(), and MythNotificationScreenStack::PopScreen().
|
protected |
Definition at line 267 of file mythscreenstack.cpp.
Referenced by AddScreen().
|
protected |
Definition at line 288 of file mythscreenstack.cpp.
Referenced by GetDrawOrder(), and GetScreenList().
Definition at line 307 of file mythscreenstack.cpp.
Referenced by MythNotificationScreenStack::CheckDeletes(), GetDrawOrder(), GetScreenList(), and ~MythScreenStack().
|
protected |
Definition at line 55 of file mythscreenstack.h.
Referenced by AddScreen(), CheckDeletes(), GetLocation(), GetScreenList(), MythNotificationScreenStack::GetTopScreen(), PopScreen(), MythNotificationScreenStack::PopScreen(), RecalculateDrawOrder(), TotalScreens(), and ~MythScreenStack().
|
protected |
Definition at line 56 of file mythscreenstack.h.
Referenced by CheckDeletes(), DoNewFadeTransition(), GetDrawOrder(), GetTopScreen(), PopScreen(), MythNotificationScreenStack::PopScreen(), and RecalculateDrawOrder().
|
protected |
Definition at line 58 of file mythscreenstack.h.
Referenced by AddScreen(), doInit(), GetLocation(), GetTopScreen(), MythScreenStack(), PopScreen(), MythNotificationScreenStack::PopScreen(), and ScheduleInitIfNeeded().
|
protected |
Definition at line 60 of file mythscreenstack.h.
Referenced by AddScreen(), EnableEffects(), PopScreen(), and MythNotificationScreenStack::PopScreen().
|
protected |
Definition at line 61 of file mythscreenstack.h.
Referenced by AddScreen(), CheckNewFadeTransition(), doInit(), MythScreenStack(), and ScheduleInitIfNeeded().
|
protected |
Definition at line 62 of file mythscreenstack.h.
Referenced by doInit(), MythScreenStack(), and ScheduleInitIfNeeded().
|
protected |
Definition at line 63 of file mythscreenstack.h.
Referenced by CheckNewFadeTransition(), DoNewFadeTransition(), GetDrawOrder(), GetScreenList(), and MythScreenStack().
|
protected |
Definition at line 64 of file mythscreenstack.h.
Referenced by AddScreen(), CheckDeletes(), CheckNewFadeTransition(), DoNewFadeTransition(), and MythScreenStack().
|
protected |
Definition at line 66 of file mythscreenstack.h.
Referenced by CheckDeletes(), MythNotificationScreenStack::CheckDeletes(), PopScreen(), and MythNotificationScreenStack::PopScreen().