MythTV  master
Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Slots | List of all members
MythScreenStack Class Reference

#include <libmythui/mythscreenstack.h>

Inheritance diagram for MythScreenStack:
[legend]
Collaboration diagram for MythScreenStack:
[legend]

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 MythScreenTypeGetTopScreen (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 MythPainterGetPainter (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
 
MythScreenTypem_topScreen {nullptr}
 
bool m_doTransitions {false}
 
bool m_doInit {false}
 
bool m_initTimerStarted {false}
 
bool m_inNewTransition {false}
 
MythScreenTypem_newTop {nullptr}
 
QVector< MythScreenType * > m_toDelete
 

Private Slots

void doInit (void)
 

Detailed Description

Definition at line 16 of file mythscreenstack.h.

Constructor & Destructor Documentation

◆ MythScreenStack()

MythScreenStack::MythScreenStack ( MythMainWindow parent,
const QString &  name,
bool  main = false 
)

Definition at line 17 of file mythscreenstack.cpp.

◆ ~MythScreenStack()

MythScreenStack::~MythScreenStack ( )
override

Definition at line 29 of file mythscreenstack.cpp.

Member Function Documentation

◆ AddScreen()

void MythScreenStack::AddScreen ( MythScreenType screen,
bool  allowFade = true 
)
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(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), GameHandler::clearAllGameData(), StatusBox::clicked(), GUIStartup::Close(), MythControls::Close(), StandardSettingDialog::Close(), ExitPrompter::Confirm(), GalleryThumbView::Copy(), ImportMusicDialog::copyFile(), 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(), 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(), DVDThemeSelector::handleNextPage(), SelectDestination::handleNextPage(), RecordingSelector::Init(), MythNotificationScreen::Init(), TV::Init(), ImportIconsWizard::initialLoad(), NetBase::InitProgressDialog(), VideoSetupWizard::initProgressDialog(), GameUI::itemClicked(), MythBrowser::keyPressEvent(), MythUITextEdit::keyPressEvent(), BookmarkManager::keyPressEvent(), PlaylistEditorView::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(), 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(), MythWebView::openBusyPopup(), MythScreenType::OpenBusyPopup(), SmartPlaylistEditor::orderByClicked(), RecMetadataEdit::PerformQuery(), ZMEvents::playPressed(), AudioTest::prepareTest(), GameHandler::processGames(), LanguageSelection::prompt(), BackendSelection::Prompt(), MythContextPrivate::PromptForDatabaseParams(), BackendSelection::PromptForPassword(), StoreOptMixin::PromptForRecGroup(), GameHandler::promptForRemoval(), VideoDialog::PromptToScan(), ChannelImporter::QueryUserDelete(), ChannelImporter::QueryUserInsert(), ChannelImporter::QueryUserUpdate(), ManualSchedule::recordClicked(), CustomEdit::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(), 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(), 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(), 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(), ImportMusicDialog::showImportCoverArtDialog(), GameUI::showInfo(), PrevRecordedList::ShowItemMenu(), GuideGrid::ShowJumpToTime(), ImportNative::showList(), showLogViewer(), ChannelImporter::ShowManualChannelPopup(), VisualizerView::ShowMenu(), LyricsView::ShowMenu(), SearchView::ShowMenu(), StreamView::ShowMenu(), WelcomeDialog::ShowMenu(), ViewScheduled::ShowMenu(), MythNews::ShowMenu(), PrevRecordedList::ShowMenu(), ChannelRecPriority::ShowMenu(), LogViewer::ShowMenu(), RecordingSelector::ShowMenu(), ThumbFinder::ShowMenu(), GameUI::ShowMenu(), ExportNative::ShowMenu(), VideoSelector::ShowMenu(), ProgFinder::ShowMenu(), ZMEvents::ShowMenu(), NetSearch::ShowMenu(), MusicCommon::ShowMenu(), ZMLivePlayer::ShowMenu(), MythThemedMenu::ShowMenu(), MythBurn::ShowMenu(), PlaylistEditorView::ShowMenu(), ProgLister::ShowMenu(), ImportMusicDialog::ShowMenu(), EditMetadataDialog::showMenu(), NetTree::ShowMenu(), ProgramRecPriority::showMenu(), Ripper::ShowMenu(), MythControls::ShowMenu(), EditAlbumartDialog::showMenu(), ScheduleEditor::showMenu(), GuideGrid::ShowMenu(), StandardSettingDialog::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(), 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(), 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(), 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().

◆ PopScreen()

void MythScreenStack::PopScreen ( MythScreenType screen = nullptr,
bool  allowFade = true,
bool  deleteScreen = true 
)
virtual

◆ GetTopScreen()

MythScreenType * MythScreenStack::GetTopScreen ( void  ) const
virtual

◆ GetDrawOrder()

void MythScreenStack::GetDrawOrder ( QVector< MythScreenType * > &  screens)

Definition at line 191 of file mythscreenstack.cpp.

◆ GetScreenList()

void MythScreenStack::GetScreenList ( QVector< MythScreenType * > &  screens)

Definition at line 200 of file mythscreenstack.cpp.

Referenced by NCPrivate::GetNotificationScreens(), and handleGalleryMedia().

◆ ScheduleInitIfNeeded()

void MythScreenStack::ScheduleInitIfNeeded ( void  )

Definition at line 209 of file mythscreenstack.cpp.

◆ AllowReInit()

void MythScreenStack::AllowReInit ( void  )
inline

◆ TotalScreens()

int MythScreenStack::TotalScreens ( ) const

Definition at line 47 of file mythscreenstack.cpp.

Referenced by MythThemedMenu::keyPressEvent().

◆ DisableEffects()

void MythScreenStack::DisableEffects ( void  )
inline

Definition at line 37 of file mythscreenstack.h.

Referenced by MythThemeBase::MythThemeBase().

◆ EnableEffects()

void MythScreenStack::EnableEffects ( void  )

Definition at line 40 of file mythscreenstack.cpp.

Referenced by MythScreenStack().

◆ GetLocation()

QString MythScreenStack::GetLocation ( bool  fullPath) const

Definition at line 365 of file mythscreenstack.cpp.

Referenced by MythUILocation::GetCurrentLocation().

◆ GetPainter()

MythPainter * MythScreenStack::GetPainter ( void  )
static

Definition at line 389 of file mythscreenstack.cpp.

Referenced by EnableEffects(), and MythScreenType::GetPainter().

◆ topScreenChanged

void MythScreenStack::topScreenChanged ( MythScreenType screen)
signal

◆ doInit

void MythScreenStack::doInit ( void  )
privateslot

Definition at line 220 of file mythscreenstack.cpp.

Referenced by ScheduleInitIfNeeded().

◆ RecalculateDrawOrder()

void MythScreenStack::RecalculateDrawOrder ( void  )
protectedvirtual

◆ DoNewFadeTransition()

void MythScreenStack::DoNewFadeTransition ( )
protected

Definition at line 258 of file mythscreenstack.cpp.

Referenced by AddScreen().

◆ CheckNewFadeTransition()

void MythScreenStack::CheckNewFadeTransition ( )
protected

Definition at line 280 of file mythscreenstack.cpp.

Referenced by GetDrawOrder(), and GetScreenList().

◆ CheckDeletes()

void MythScreenStack::CheckDeletes ( bool  force = false)
protected

Member Data Documentation

◆ m_children

QVector<MythScreenType *> MythScreenStack::m_children
protected

◆ m_drawOrder

QVector<MythScreenType *> MythScreenStack::m_drawOrder
protected

◆ m_topScreen

MythScreenType* MythScreenStack::m_topScreen {nullptr}
protected

◆ m_doTransitions

bool MythScreenStack::m_doTransitions {false}
protected

◆ m_doInit

bool MythScreenStack::m_doInit {false}
protected

Definition at line 62 of file mythscreenstack.h.

Referenced by AddScreen(), CheckNewFadeTransition(), doInit(), and ScheduleInitIfNeeded().

◆ m_initTimerStarted

bool MythScreenStack::m_initTimerStarted {false}
protected

Definition at line 63 of file mythscreenstack.h.

Referenced by doInit(), and ScheduleInitIfNeeded().

◆ m_inNewTransition

bool MythScreenStack::m_inNewTransition {false}
protected

◆ m_newTop

MythScreenType* MythScreenStack::m_newTop {nullptr}
protected

◆ m_toDelete

QVector<MythScreenType *> MythScreenStack::m_toDelete
protected

The documentation for this class was generated from the following files: