MythScreenStack Class Reference

#include <mythscreenstack.h>

List of all members.

Signals

void topScreenChanged (MythScreenType *screen)

Public Member Functions

 MythScreenStack (MythMainWindow *parent, const QString &name, bool main=false)
virtual ~MythScreenStack ()
void AddScreen (MythScreenType *screen, bool allowFade=true)
void PopScreen (bool allowFade=true, bool deleteScreen=true)
void PopScreen (MythScreenType *screen, bool allowFade=true, bool deleteScreen=true)
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
MythPainterGetPainter (void)

Protected Member Functions

void RecalculateDrawOrder (void)
void DoNewFadeTransition ()
void CheckNewFadeTransition ()
void CheckDeletes (bool force=false)

Protected Attributes

QVector< MythScreenType * > m_Children
QVector< MythScreenType * > m_DrawOrder
MythScreenTypem_topScreen
bool m_DoTransitions
bool m_DoInit
bool m_InitTimerStarted
bool m_InNewTransition
MythScreenTypem_newTop
QVector< MythScreenType * > m_ToDelete

Private Slots

void doInit (void)

Detailed Description

Definition at line 15 of file mythscreenstack.h.


Constructor & Destructor Documentation

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

Definition at line 15 of file mythscreenstack.cpp.

MythScreenStack::~MythScreenStack (  )  [virtual]

Definition at line 34 of file mythscreenstack.cpp.


Member Function Documentation

void MythScreenStack::AddScreen ( MythScreenType screen,
bool  allowFade = true 
)

Definition at line 56 of file mythscreenstack.cpp.

Referenced by MythThemedMenu::aboutScreen(), MythControls::ActionButtonPressed(), ImportIconsWizard::askSubmit(), StartPrompter::backendRunningPrompt(), VideoDialog::ChangeFilter(), MythBurn::changeProfile(), MythControls::ChangeView(), GuideGrid::ChannelGroupMenu(), ChannelEditor::channelIconImport(), MythThemedMenu::checkPinCode(), CustomEdit::checkSyntax(), FileScanner::cleanDB(), GameHandler::clearAllGameData(), StatusBox::clicked(), MythControls::Close(), VideoDialog::createBusyDialog(), TreeEditor::createBusyDialog(), GeneralSetupWizard::CreateBusyDialog(), SearchEditor::createBusyDialog(), MetadataOptions::CreateBusyDialog(), NetTree::createBusyDialog(), NetSearch::createBusyDialog(), GameUI::createBusyDialog(), EditMetadataDialog::createBusyDialog(), VideoDialog::createOkDialog(), MythNews::createProgress(), GameHandler::CreateProgress(), VideoDialog::customEvent(), MetadataOptions::customEvent(), ProgramRecPriority::customEvent(), ProgFinder::customEvent(), MusicPlayer::customEvent(), MusicCommon::customEvent(), GameUI::customEvent(), ChannelEditor::customEvent(), BackendConnectionManager::customEvent(), ChannelEditor::del(), ZMEvents::deleteAll(), ChannelEditor::deleteChannels(), MythControls::DeleteKey(), ViewScheduled::deleteRule(), GuideGrid::deleteRule(), VideoDialog::DisplayMenu(), PlaybackBox::DisplayPopupMenu(), PlaybackBox::displayRecGroup(), ParentalLevelChangeCheckerPrivate::DoCheck(), MythWebView::doDownloadRequested(), VideoDialog::DoItemDetailShow(), ScreenSetup::doListSelect(), ScreenSetup::doLocationDialog(), ScreenWizard::doMenu(), VideoScanner::doScan(), GameScanner::doScan(), LocationDialog::doSearch(), ProgramRecPriority::edit(), PowerSearchPopup::editClicked(), ScheduleCommon::EditCustom(), CriteriaRowEditor::editDate(), MythBurn::editDetails(), VideoDialog::EditMetadata(), ScheduleCommon::EditScheduled(), MythBurn::editThumbnails(), MusicCommon::editTrackInfo(), MetadataOptions::FindImagePopup(), SourceManager::findScripts(), MythControls::GrabKey(), MythThemedMenu::handleAction(), MythBurn::handleAddFile(), MythBurn::handleAddRecording(), ExportNative::handleAddRecording(), MythBurn::handleAddVideo(), ExportNative::handleAddVideo(), ExitPrompter::handleExit(), SelectDestination::handleFind(), handleMedia(), DVDThemeSelector::handleNextPage(), SelectDestination::handleNextPage(), TV::Init(), RecordingSelector::Init(), MythThemeBase::Init(), ImportIconsWizard::initialLoad(), VideoSetupWizard::initProgressDialog(), NetTree::initProgressDialog(), NetSearch::initProgressDialog(), GameUI::itemClicked(), StatusBox::keyPressEvent(), MythUITextEdit::keyPressEvent(), MythBrowser::keyPressEvent(), BookmarkManager::keyPressEvent(), GrabberSettings::Load(), loadMusic(), ImportMusicDialog::locationPressed(), main(), ScheduleCommon::MakeOverride(), ExitPrompter::masterPromptExit(), ChannelEditor::menu(), MusicCallback(), mythplugin_config(), mythplugin_run(), EditMetadataDialog::NewCategoryPopup(), ProgramRecPriority::newTemplate(), MusicPlayer::nextAuto(), ArchiveFileSelector::nextPressed(), MetadataOptions::OnArtworkSearchDone(), EditMetadataDialog::OnArtworkSearchDone(), FileAssocDialog::OnNewExtensionPressed(), VideoDialog::OnRemoveVideo(), MythWebView::openBusyPopup(), MythScreenType::OpenBusyPopup(), ZMEvents::playPressed(), GameHandler::processGames(), LanguageSelection::prompt(), BackendSelection::Prompt(), BackendSelection::PromptForPassword(), StoreOptMixin::PromptForRecGroup(), GameHandler::promptForRemoval(), VideoDialog::PromptToScan(), PowerSearchPopup::recordClicked(), PhrasePopup::recordClicked(), ManualSchedule::recordClicked(), CustomEdit::recordClicked(), MythThemeBase::Reload(), MusicData::reloadMusic(), ProgramRecPriority::remove(), VideoDialog::RemoveVideo(), MythControls::ResolveConflict(), run(), runCreateArchive(), runCreateDVD(), RunGames(), 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(), FileScanner::ScanArtwork(), FileScanner::ScanMusic(), EditMetadataDialog::searchAlbum(), Ripper::searchAlbum(), EditMetadataDialog::searchArtist(), Ripper::searchArtist(), EditMetadataDialog::searchCompilationArtist(), FileScanner::SearchDir(), EditMetadataDialog::searchGenre(), Ripper::searchGenre(), VideoDialog::searchStart(), GameUI::searchStart(), NetSearch::searchTimeout(), RSSEditPopup::SelectImagePopup(), PlaybackBox::setRecGroup(), SetupMenuCallback(), Weather::setupPage(), Weather::SetupScreens(), ShowBusyPopup(), VideoDialog::ShowCastDialog(), ProgLister::ShowChooseViewMenu(), Ripper::ShowConflictMenu(), ProgLister::ShowDeleteRuleMenu(), ScheduleCommon::ShowDetails(), MythWebView::showDownloadMenu(), MythNews::ShowEditDialog(), BookmarkManager::ShowEditDialog(), ZMConsole::showEditFunctionPopup(), ImportMusicDialog::showEditMetadataDialog(), Ripper::showEditMetadataDialog(), MusicCommon::showExitMenu(), VideoDialog::ShowExtensionSettings(), MythNews::ShowFeedManager(), ScheduleEditor::ShowFilters(), PlaybackBox::showGroupFilter(), PlaybackBox::showIconHelp(), ImportMusicDialog::showImportCoverArtDialog(), GameUI::showInfo(), GuideGrid::ShowJumpToTime(), ImportNative::showList(), showLogViewer(), ZMEvents::showMenu(), WelcomeDialog::showMenu(), VisualizerView::ShowMenu(), ViewScheduled::ShowMenu(), VideoSelector::showMenu(), ThumbFinder::showMenu(), SearchView::ShowMenu(), ScheduleEditor::showMenu(), RecordingSelector::showMenu(), ProgramRecPriority::showMenu(), ProgLister::ShowMenu(), ProgFinder::ShowMenu(), ProgDetails::showMenu(), NetTree::showMenu(), NetSearch::showMenu(), MythThemedMenu::ShowMenu(), MythNews::ShowMenu(), MythControls::ShowMenu(), MythBurn::showMenu(), MusicCommon::ShowMenu(), LogViewer::showMenu(), ImportMusicDialog::showMenu(), GuideGrid::ShowMenu(), GameUI::showMenu(), ExportNative::showMenu(), EditAlbumartDialog::showMenu(), EditMetadataDialog::showMenu(), ChannelRecPriority::ShowMenu(), PlaybackBox::showMetadataEditor(), ScheduleEditor::ShowMetadataOptions(), VideoDialog::ShowMetadataSettings(), MusicPlayer::showMiniPlayer(), ScheduleCommon::ShowNotRecordingDialog(), ShowOkPopup(), ProgLister::ShowOldRecordedMenu(), VideoDialog::ShowPlayerSettings(), PlaybackBox::ShowPlayGroupChanger(), MusicCommon::showPlaylistOptionsMenu(), ThemeChooser::showPopupMenu(), ScheduleEditor::ShowPostProc(), ScheduleEditor::ShowPreview(), ScheduleEditor::showPrevious(), PlaybackBox::ShowRecGroupChanger(), PlaybackBox::showRecGroupPasswordChanger(), GuideGrid::ShowRecordingMenu(), EditMetadataCommon::showSaveMenu(), ScheduleEditor::ShowSchedInfo(), ScheduleEditor::ShowSchedOpt(), Weather::showScreen(), MythUIButtonList::ShowSearchDialog(), ProgramRecPriority::showSortMenu(), ViewScheduleDiff::showStatus(), showStatus(), ScheduleEditor::ShowStoreOpt(), ScheduleEditor::showTemplateMenu(), SmartPLResultViewer::showTrackInfo(), MusicCommon::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(), NetTree::slotDeleteVideo(), NetSearch::slotDeleteVideo(), RSSEditor::slotEditSite(), MythBrowser::slotEnterURL(), BookmarkEditor::slotFindCategory(), RSSEditor::slotNewSite(), GeneralSetupWizard::slotNext(), AudioSetupWizard::slotNext(), BookmarkManager::slotShowMarked(), GeneralSetupWizard::slotSubmit(), standbyScreen(), BurnMenu::start(), startAppearWiz(), startChannelRecPriorities(), EditAlbumartDialog::startCopyImageToTag(), startCustomEdit(), startCustomPriority(), startDatabaseTree(), startDelete(), startImport(), startKeysSetup(), startManaged(), startManageRecordingRules(), startManualSchedule(), startPlayback(), startPlaybackWithGroup(), startPrevious(), startProgramRecPriorities(), startRipper(), Ripper::startRipper(), ImportMusicDialog::startScan(), startSearchCategory(), startSearchChannel(), startSearchKeyword(), startSearchMovie(), startSearchNew(), startSearchPeople(), startSearchPower(), startSearchStored(), startSearchTime(), startSearchTitle(), TV::StartTV(), CustomEdit::storeClicked(), VideoDialog::SwitchLayout(), EditMetadataDialog::switchToAlbumArt(), EditAlbumartDialog::switchToMetadata(), NetTree::switchView(), MusicCommon::switchView(), CustomEdit::testClicked(), CustomPriority::testSchedule(), TVMenuCallback(), ProgramRecPriority::upcoming(), ChannelRecPriority::upcoming(), MythBurn::updateArchiveList(), CriteriaRowEditor::valueButtonClicked(), VideoDialog::VideoMenu(), VideoDialog::ViewPlot(), and WeatherCallback().

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

Definition at line 96 of file mythscreenstack.cpp.

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

Definition at line 198 of file mythscreenstack.cpp.

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

Definition at line 207 of file mythscreenstack.cpp.

void MythScreenStack::ScheduleInitIfNeeded ( void   ) 

Definition at line 216 of file mythscreenstack.cpp.

void MythScreenStack::AllowReInit ( void   )  [inline]
int MythScreenStack::TotalScreens ( void   )  const

Definition at line 51 of file mythscreenstack.cpp.

Referenced by MythThemedMenu::keyPressEvent(), and main().

void MythScreenStack::DisableEffects ( void   )  [inline]

Definition at line 37 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 375 of file mythscreenstack.cpp.

Referenced by MythUIHelper::GetCurrentLocation().

MythPainter * MythScreenStack::GetPainter ( void   ) 

Definition at line 402 of file mythscreenstack.cpp.

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

void MythScreenStack::topScreenChanged ( MythScreenType screen  )  [signal]

Referenced by AddScreen(), CheckDeletes(), and PopScreen().

void MythScreenStack::doInit ( void   )  [private, slot]

Definition at line 227 of file mythscreenstack.cpp.

Referenced by ScheduleInitIfNeeded().

void MythScreenStack::RecalculateDrawOrder ( void   )  [protected]
void MythScreenStack::DoNewFadeTransition ( void   )  [protected]

Definition at line 269 of file mythscreenstack.cpp.

Referenced by AddScreen().

void MythScreenStack::CheckNewFadeTransition ( void   )  [protected]

Definition at line 290 of file mythscreenstack.cpp.

Referenced by GetDrawOrder(), and GetScreenList().

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

Definition at line 309 of file mythscreenstack.cpp.

Referenced by GetDrawOrder(), GetScreenList(), and ~MythScreenStack().


Member Data Documentation

Definition at line 61 of file mythscreenstack.h.

Referenced by AddScreen(), EnableEffects(), and PopScreen().

Definition at line 63 of file mythscreenstack.h.

Referenced by doInit(), MythScreenStack(), and ScheduleInitIfNeeded().

Definition at line 67 of file mythscreenstack.h.

Referenced by CheckDeletes(), and PopScreen().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:16 2012 for MythTV by  doxygen 1.6.3