MythTV  0.28pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | Private Slots | List of all members
MythScreenStack Class Reference

#include <mythscreenstack.h>

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

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=NULL, 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
 
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
 
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 
)
virtual

Definition at line 56 of file mythscreenstack.cpp.

Referenced by MythThemedMenu::aboutScreen(), MythControls::ActionButtonPressed(), addCriteria(), ImportIconsWizard::askSubmit(), StartPrompter::backendRunningPrompt(), VideoDialog::ChangeFilter(), MythBurn::changeProfile(), MythControls::ChangeView(), GuideGrid::ChannelGroupMenu(), ChannelEditor::channelIconImport(), MythThemedMenu::checkPinCode(), CustomEdit::checkSyntax(), ImportMusicDialog::chooseBackend(), Ripper::chooseBackend(), GameHandler::clearAllGameData(), StatusBox::clicked(), MythControls::Close(), GalleryConfig::ConfirmClearDatabase(), GalleryView::ConfirmFileDelete(), GalleryView::ConfirmFileDeleteSelected(), GalleryView::ConfirmStartSync(), GalleryView::ConfirmStopSync(), ImportMusicDialog::copyFile(), CopyMarkedFiles(), GeneralSetupWizard::CreateBusyDialog(), EditMetadataDialog::createBusyDialog(), NetSearch::createBusyDialog(), SearchEditor::createBusyDialog(), TreeEditor::createBusyDialog(), NetTree::createBusyDialog(), GameUI::createBusyDialog(), VideoDialog::createBusyDialog(), MetadataOptions::CreateBusyDialog(), VideoDialog::createOkDialog(), GameHandler::CreateProgress(), ChannelEditor::customEvent(), StreamView::customEvent(), ProgFinder::customEvent(), GameUI::customEvent(), MusicCommon::customEvent(), ProgramRecPriority::customEvent(), VideoDialog::customEvent(), MusicPlayer::customEvent(), MetadataOptions::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(), ProgramRecPriority::edit(), PowerSearchPopup::editClicked(), editCriteria(), ScheduleCommon::EditCustom(), CriteriaRowEditor::editDate(), MythBurn::editDetails(), VideoDialog::EditMetadata(), ScheduleCommon::EditRecording(), ScheduleCommon::EditScheduled(), MythBurn::editThumbnails(), MusicCommon::editTrackInfo(), GalleryView::FileRenameInput(), MetadataOptions::FindImagePopup(), SourceManager::findScripts(), MythControls::GrabKey(), MythThemedMenu::handleAction(), MythBurn::handleAddFile(), ExportNative::handleAddRecording(), MythBurn::handleAddRecording(), ExportNative::handleAddVideo(), MythBurn::handleAddVideo(), ExitPrompter::handleExit(), SelectDestination::handleFind(), HandleMainMenu(), handleMedia(), HandleMkDir(), DVDThemeSelector::handleNextPage(), SelectDestination::handleNextPage(), HandleRename(), HandleSubMenuFilter(), MythThemeBase::Init(), RecordingSelector::Init(), MythNotificationScreen::Init(), TV::Init(), ImportIconsWizard::initialLoad(), VideoSetupWizard::initProgressDialog(), NetSearch::initProgressDialog(), NetTree::initProgressDialog(), GameUI::itemClicked(), StatusBox::keyPressEvent(), MythBrowser::keyPressEvent(), MythUITextEdit::keyPressEvent(), BookmarkManager::keyPressEvent(), MusicData::loadMusic(), ImportMusicDialog::locationPressed(), main(), ScheduleCommon::MakeOverride(), ExitPrompter::masterPromptExit(), ChannelEditor::menu(), GalleryView::MenuInformation(), GalleryView::MenuMain(), GalleryWidget::MenuMain(), GalleryView::MenuSettings(), MusicCallback(), mythplugin_config(), mythplugin_run(), EditMetadataDialog::NewCategoryPopup(), ProgramRecPriority::newTemplate(), MusicPlayer::nextAuto(), ArchiveFileSelector::nextPressed(), EditMetadataDialog::OnArtworkSearchDone(), MetadataOptions::OnArtworkSearchDone(), FileAssocDialog::OnNewExtensionPressed(), VideoDialog::OnRemoveVideo(), MythScreenType::OpenBusyPopup(), MythWebView::openBusyPopup(), orderByClicked(), ZMEvents::playPressed(), GameHandler::processGames(), LanguageSelection::prompt(), BackendSelection::Prompt(), BackendSelection::PromptForPassword(), StoreOptMixin::PromptForRecGroup(), GameHandler::promptForRemoval(), VideoDialog::PromptToScan(), CustomEdit::recordClicked(), ManualSchedule::recordClicked(), PhrasePopup::recordClicked(), PowerSearchPopup::recordClicked(), MythThemeBase::Reload(), MusicData::reloadMusic(), ProgramRecPriority::remove(), VideoDialog::RemoveVideo(), MythControls::ResolveConflict(), run(), 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(), 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(), showCategoryMenu(), ProgLister::ShowChooseViewMenu(), Ripper::ShowConflictMenu(), showCriteriaMenu(), ProgLister::ShowDeleteRuleMenu(), ScheduleCommon::ShowDetails(), MythWebView::showDownloadMenu(), MythNews::ShowEditDialog(), BookmarkManager::ShowEditDialog(), ZMConsole::showEditFunctionPopup(), ImportMusicDialog::showEditMetadataDialog(), Ripper::showEditMetadataDialog(), MusicCommon::showExitMenu(), VideoDialog::ShowExtensionSettings(), MythNews::ShowFeedManager(), GalleryView::ShowFile(), ScheduleEditor::ShowFilters(), PlaybackBox::showGroupFilter(), PlaybackBox::showIconHelp(), GameUI::showInfo(), GalleryWidget::ShowInformation(), GuideGrid::ShowJumpToTime(), ImportNative::showList(), showLogViewer(), VisualizerView::ShowMenu(), SearchView::ShowMenu(), ProgDetails::showMenu(), StreamView::ShowMenu(), ViewScheduled::ShowMenu(), LogViewer::showMenu(), WelcomeDialog::showMenu(), MythNews::ShowMenu(), ChannelRecPriority::ShowMenu(), RecordingSelector::showMenu(), ThumbFinder::showMenu(), ExportNative::showMenu(), GameUI::showMenu(), VideoSelector::showMenu(), ZMEvents::showMenu(), ProgFinder::ShowMenu(), MusicCommon::ShowMenu(), MythBurn::showMenu(), MythThemedMenu::ShowMenu(), ProgLister::ShowMenu(), ImportMusicDialog::showMenu(), NetSearch::showMenu(), EditMetadataDialog::showMenu(), ProgramRecPriority::showMenu(), Ripper::ShowMenu(), MythControls::ShowMenu(), NetTree::showMenu(), ScheduleEditor::showMenu(), EditAlbumartDialog::showMenu(), GuideGrid::ShowMenu(), PlaybackBox::showMetadataEditor(), ScheduleEditor::ShowMetadataOptions(), VideoDialog::ShowMetadataSettings(), MusicPlayer::showMiniPlayer(), ShowOkPopup(), ProgLister::ShowOldRecordedMenu(), VideoDialog::ShowPlayerSettings(), PlaybackBox::ShowPlayGroupChanger(), MusicCommon::showPlaylistOptionsMenu(), ThemeChooser::showPopupMenu(), ScheduleEditor::ShowPostProc(), ScheduleEditor::ShowPreview(), ScheduleCommon::ShowPrevious(), PlaybackBox::ShowRecGroupChanger(), PlaybackBox::showRecGroupPasswordChanger(), GuideGrid::ShowRecordingMenu(), showResultsClicked(), EditMetadataCommon::showSaveMenu(), ScheduleEditor::ShowSchedInfo(), ScheduleEditor::ShowSchedOpt(), Weather::showScreen(), MythUIButtonList::ShowSearchDialog(), 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(), NetSearch::slotDeleteVideo(), NetTree::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(), Ripper::startRipper(), startRipper(), ImportMusicDialog::startScan(), startSearchCategory(), startSearchChannel(), startSearchKeyword(), startSearchMovie(), startSearchNew(), startSearchPeople(), startSearchPower(), startSearchStored(), startSearchTime(), startSearchTitle(), startStreamPlayback(), TV::StartTV(), CustomEdit::storeClicked(), VideoDialog::SwitchLayout(), EditMetadataDialog::switchToAlbumArt(), EditAlbumartDialog::switchToMetadata(), MusicCommon::switchView(), NetTree::switchView(), CustomEdit::testClicked(), CustomPriority::testSchedule(), TVMenuCallback(), ChannelRecPriority::upcoming(), ProgramRecPriority::upcoming(), MythBurn::updateArchiveList(), CriteriaRowEditor::valueButtonClicked(), VideoDialog::VideoMenu(), VideoDialog::ViewPlot(), and WeatherCallback().

void MythScreenStack::PopScreen ( MythScreenType screen = NULL,
bool  allowFade = true,
bool  deleteScreen = true 
)
virtual
MythScreenType * MythScreenStack::GetTopScreen ( void  ) const
virtual
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().

void MythScreenStack::ScheduleInitIfNeeded ( void  )

Definition at line 214 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 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().

void MythScreenStack::topScreenChanged ( MythScreenType screen)
signal

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

void MythScreenStack::doInit ( void  )
privateslot

Definition at line 225 of file mythscreenstack.cpp.

Referenced by ScheduleInitIfNeeded().

void MythScreenStack::RecalculateDrawOrder ( void  )
protectedvirtual
void MythScreenStack::DoNewFadeTransition ( void  )
protected

Definition at line 267 of file mythscreenstack.cpp.

Referenced by AddScreen().

void MythScreenStack::CheckNewFadeTransition ( void  )
protected

Definition at line 288 of file mythscreenstack.cpp.

Referenced by GetDrawOrder(), and GetScreenList().

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

Member Data Documentation

QVector<MythScreenType *> MythScreenStack::m_Children
protected
QVector<MythScreenType *> MythScreenStack::m_DrawOrder
protected
MythScreenType* MythScreenStack::m_topScreen
protected
bool MythScreenStack::m_DoTransitions
protected
bool MythScreenStack::m_DoInit
protected
bool MythScreenStack::m_InitTimerStarted
protected

Definition at line 62 of file mythscreenstack.h.

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

bool MythScreenStack::m_InNewTransition
protected
MythScreenType* MythScreenStack::m_newTop
protected
QVector<MythScreenType *> MythScreenStack::m_ToDelete
protected

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