MythMainWindow Class Reference

#include <mythmainwindow.h>

List of all members.

Public Slots

void mouseTimeout ()
void HideMouseTimeout ()
void IdleTimeout ()

Signals

void signalRemoteScreenShot (QString filename, int x, int y)

Public Member Functions

void Init (void)
void ReinitDone (void)
void Show (void)
void AddScreenStack (MythScreenStack *stack, bool main=false)
void PopScreenStack ()
int GetStackCount (void)
MythScreenStackGetMainStack ()
MythScreenStackGetStack (const QString &stackname)
MythScreenStackGetStackAt (int pos)
bool TranslateKeyPress (const QString &context, QKeyEvent *e, QStringList &actions, bool allowJumps=true) MUNUSED_RESULT
 Get a list of actions for a keypress in the given context.
void ReloadKeys (void)
void ClearKey (const QString &context, const QString &action)
void ClearKeyContext (const QString &context)
void BindKey (const QString &context, const QString &action, const QString &key)
void RegisterKey (const QString &context, const QString &action, const QString &description, const QString &key)
QString GetKey (const QString &context, const QString &action) const
void ClearJump (const QString &destination)
void BindJump (const QString &destination, const QString &key)
void RegisterJump (const QString &destination, const QString &description, const QString &key, void(*callback)(void), bool exittomain=true, QString localAction="")
void ClearAllJumps ()
void RegisterMediaPlugin (const QString &name, const QString &desc, MediaPlayCallback fn)
bool HandleMedia (const QString &handler, const QString &mrl, const QString &plot="", const QString &title="", const QString &subtitle="", const QString &director="", int season=0, int episode=0, const QString &inetref="", int lenMins=120, const QString &year="1895", const QString &id="", bool useBookmarks=false)
void HandleTVPower (bool poweron)
void JumpTo (const QString &destination, bool pop=true)
bool DestinationExists (const QString &destination) const
QStringList EnumerateDestinations (void) const
bool IsExitingToMain (void) const
MythPainterGetCurrentPainter ()
QWidget * GetPaintWindow ()
MythRenderGetRenderDevice ()
void ShowPainterWindow ()
void HidePainterWindow ()
void ResizePainterWindow (const QSize &size)
void GrabWindow (QImage &image)
bool SaveScreenShot (const QImage &image, QString filename="")
bool ScreenShot (int w=0, int h=0, QString filename="")
void RemoteScreenShot (QString filename, int x, int y)
void AllowInput (bool allow)
QRect GetUIScreenRect ()
void SetUIScreenRect (QRect &rect)
int GetDrawInterval () const
int NormalizeFontSize (int pointSize)
MythRect NormRect (const MythRect &rect)
QPoint NormPoint (const QPoint &point)
QSize NormSize (const QSize &size)
int NormX (const int x)
int NormY (const int y)
void SetScalingFactors (float wmult, float hmult)
void StartLIRC (void)
void attach (QWidget *child)
void detach (QWidget *child)
QWidget * currentWidget (void)
uint PushDrawDisabled (void)
uint PopDrawDisabled (void)
void SetEffectsEnabled (bool enable)
void draw (void)
void ResetIdleTimer (void)
void PauseIdleTimer (bool pause)
void EnterStandby (bool manual=true)
void ExitStandby (bool manual=true)

Static Public Member Functions

static MythMainWindowgetMainWindow (const bool useDB=true)
 Return the existing main window, or create one.
static void destroyMainWindow ()

Protected Slots

void animate ()
void doRemoteScreenShot (QString filename, int x, int y)

Protected Member Functions

 MythMainWindow (const bool useDB=true)
virtual ~MythMainWindow ()
void InitKeys (void)
bool eventFilter (QObject *o, QEvent *e)
void customEvent (QEvent *ce)
void closeEvent (QCloseEvent *e)
void drawScreen ()
bool event (QEvent *e)
void ExitToMainMenu ()
QObject * getTarget (QKeyEvent &key)
void SetDrawEnabled (bool enable)
void LockInputDevices (bool locked)
void ShowMouseCursor (bool show)

Protected Attributes

MythMainWindowPrivated

Friends

class MythPainterWindowGL
class MythPainterWindowQt
class MythPainterWindowVDPAU
class MythPainterWindowD3D9

Detailed Description

Definition at line 31 of file mythmainwindow.h.


Constructor & Destructor Documentation

MythMainWindow::MythMainWindow ( const bool  useDB = true  )  [protected]

Definition at line 417 of file mythmainwindow.cpp.

Referenced by getMainWindow().

MythMainWindow::~MythMainWindow (  )  [protected, virtual]

Definition at line 521 of file mythmainwindow.cpp.


Member Function Documentation

void MythMainWindow::Init ( void   ) 
void MythMainWindow::ReinitDone ( void   ) 

Definition at line 1240 of file mythmainwindow.cpp.

Referenced by reloadTheme(), and resetTheme().

void MythMainWindow::Show ( void   ) 

Definition at line 1260 of file mythmainwindow.cpp.

Referenced by Init().

void MythMainWindow::AddScreenStack ( MythScreenStack stack,
bool  main = false 
)

Definition at line 627 of file mythmainwindow.cpp.

Referenced by MythScreenStack::MythScreenStack().

void MythMainWindow::PopScreenStack (  ) 

Definition at line 634 of file mythmainwindow.cpp.

Referenced by Weather::~Weather().

int MythMainWindow::GetStackCount ( void   ) 
MythScreenStack * MythMainWindow::GetMainStack ( void   ) 

Definition at line 645 of file mythmainwindow.cpp.

Referenced by MythThemedMenu::aboutScreen(), customEvent(), ChannelEditor::customEvent(), VideoDialog::DoItemDetailShow(), ScreenSetup::doLocationDialog(), ProgramRecPriority::edit(), ScheduleCommon::EditCustom(), MythBurn::editDetails(), ScheduleCommon::EditScheduled(), MythBurn::editThumbnails(), MusicCommon::editTrackInfo(), ExitToMainMenu(), MythUIHelper::GetCurrentLocation(), gotoMainMenu(), MythBurn::handleAddFile(), MythBurn::handleAddRecording(), ExportNative::handleAddRecording(), MythBurn::handleAddVideo(), ExportNative::handleAddVideo(), SelectDestination::handleFind(), handleMedia(), DVDThemeSelector::handleNextPage(), SelectDestination::handleNextPage(), TV::Init(), internal_play_media(), MythUIHelper::IsTopScreenInitialized(), MythThemedMenu::keyPressEvent(), main(), ScheduleCommon::MakeOverride(), MusicCallback(), mythplugin_config(), mythplugin_run(), ProgramRecPriority::newTemplate(), ArchiveFileSelector::nextPressed(), ZMEvents::playPressed(), MythScreenStack::PopScreen(), LanguageSelection::prompt(), BackendSelection::Prompt(), PowerSearchPopup::recordClicked(), PhrasePopup::recordClicked(), ManualSchedule::recordClicked(), CustomEdit::recordClicked(), 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(), setDebugShowBorders(), setDebugShowNames(), SetupMenuCallback(), Weather::setupPage(), Weather::SetupScreens(), ScheduleCommon::ShowDetails(), MythNews::ShowEditDialog(), BookmarkManager::ShowEditDialog(), ImportMusicDialog::showEditMetadataDialog(), Ripper::showEditMetadataDialog(), MythNews::ShowFeedManager(), ScheduleEditor::ShowFilters(), ImportMusicDialog::showImportCoverArtDialog(), GameUI::showInfo(), showLogViewer(), MythThemedMenu::ShowMenu(), PlaybackBox::showMetadataEditor(), ScheduleEditor::ShowMetadataOptions(), ProgLister::ShowOldRecordedMenu(), ScheduleEditor::ShowPostProc(), ScheduleEditor::ShowPreview(), ScheduleEditor::showPrevious(), ScheduleEditor::ShowSchedOpt(), showStatus(), ScheduleEditor::ShowStoreOpt(), ScheduleCommon::ShowUpcoming(), ScheduleEditor::showUpcomingByRule(), ScheduleCommon::ShowUpcomingScheduled(), MythBrowser::slotAddBookmark(), BookmarkManager::slotBookmarkClicked(), RSSEditor::slotEditSite(), RSSEditor::slotNewSite(), GeneralSetupWizard::slotNext(), AudioSetupWizard::slotNext(), BookmarkManager::slotShowMarked(), standbyScreen(), startAppearWiz(), startChannelRecPriorities(), startCustomEdit(), startCustomPriority(), startDatabaseTree(), startDelete(), startImport(), startKeysSetup(), startManaged(), startManageRecordingRules(), startManualSchedule(), startPlayback(), startPlaybackWithGroup(), startPrevious(), startProgramRecPriorities(), startRipper(), Ripper::startRipper(), startSearchCategory(), startSearchChannel(), startSearchKeyword(), startSearchMovie(), startSearchNew(), startSearchPeople(), startSearchPower(), startSearchStored(), startSearchTime(), startSearchTitle(), CustomEdit::storeClicked(), EditMetadataDialog::switchToAlbumArt(), EditAlbumartDialog::switchToMetadata(), MusicCommon::switchView(), CustomEdit::testClicked(), CustomPriority::testSchedule(), TVMenuCallback(), ProgramRecPriority::upcoming(), ChannelRecPriority::upcoming(), VideoDialog::VideoDialog(), and WeatherCallback().

MythScreenStack * MythMainWindow::GetStack ( const QString &  stackname  ) 

Definition at line 650 of file mythmainwindow.cpp.

Referenced by MythControls::ActionButtonPressed(), MythBurn::changeProfile(), MythControls::ChangeView(), GuideGrid::ChannelGroupMenu(), ChannelEditor::channelIconImport(), MythThemedMenu::checkPinCode(), FileScanner::cleanDB(), GameHandler::clearAllGameData(), MythControls::Close(), MythNews::createProgress(), GameHandler::CreateProgress(), ProgramRecPriority::customEvent(), ProgFinder::customEvent(), MusicPlayer::customEvent(), MusicCommon::customEvent(), ChannelEditor::del(), ZMEvents::deleteAll(), ChannelEditor::deleteChannels(), MythControls::DeleteKey(), ViewScheduled::deleteRule(), GuideGrid::deleteRule(), PlaybackBox::displayRecGroup(), ParentalLevelChangeCheckerPrivate::DoCheck(), MythWebView::doDownloadRequested(), ScreenSetup::doListSelect(), ScreenWizard::doMenu(), VideoScanner::doScan(), GameScanner::doScan(), LocationDialog::doSearch(), PowerSearchPopup::editClicked(), CriteriaRowEditor::editDate(), EditMetadataDialog::EditMetadataDialog(), ExitPrompterPrivate::ExitPrompterPrivate(), MetadataOptions::FindImagePopup(), SourceManager::findScripts(), GeneralSetupWizard::GeneralSetupWizard(), MythUIHelper::GetCurrentLocation(), MythControls::GrabKey(), ExitPrompter::handleExit(), ImportIconsWizard::ImportIconsWizard(), RecordingSelector::Init(), MythUITextEdit::keyPressEvent(), MythBrowser::keyPressEvent(), BookmarkManager::keyPressEvent(), GrabberSettings::Load(), loadMusic(), ImportMusicDialog::locationPressed(), ChannelEditor::menu(), MetadataOptions::MetadataOptions(), NetSearch::NetSearch(), NetTree::NetTree(), EditMetadataDialog::NewCategoryPopup(), MusicPlayer::nextAuto(), EditMetadataDialog::OnArtworkSearchDone(), FileAssocDialog::OnNewExtensionPressed(), MythWebView::openBusyPopup(), MythScreenType::OpenBusyPopup(), PlaybackBox::PlaybackBox(), GameHandler::processGames(), BackendSelection::PromptForPassword(), StoreOptMixin::PromptForRecGroup(), GameHandler::promptForRemoval(), Q_DECLARE_METATYPE(), MusicData::reloadMusic(), ProgramRecPriority::remove(), MythControls::ResolveConflict(), RunVideoScreen(), FileScanner::ScanArtwork(), FileScanner::ScanMusic(), EditMetadataDialog::searchAlbum(), Ripper::searchAlbum(), EditMetadataDialog::searchArtist(), Ripper::searchArtist(), EditMetadataDialog::searchCompilationArtist(), FileScanner::SearchDir(), SearchEditor::SearchEditor(), EditMetadataDialog::searchGenre(), Ripper::searchGenre(), VideoDialog::searchStart(), GameUI::searchStart(), RSSEditPopup::SelectImagePopup(), PlaybackBox::setRecGroup(), ShowBusyPopup(), ProgLister::ShowChooseViewMenu(), Ripper::ShowConflictMenu(), ProgLister::ShowDeleteRuleMenu(), MythWebView::showDownloadMenu(), MusicCommon::showExitMenu(), GuideGrid::ShowJumpToTime(), ImportNative::showList(), 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(), MythNews::ShowMenu(), MythControls::ShowMenu(), MythBurn::showMenu(), MusicCommon::ShowMenu(), LogViewer::showMenu(), ImportMusicDialog::showMenu(), GuideGrid::ShowMenu(), ExportNative::showMenu(), EditAlbumartDialog::showMenu(), EditMetadataDialog::showMenu(), ChannelRecPriority::ShowMenu(), MusicPlayer::showMiniPlayer(), ScheduleCommon::ShowNotRecordingDialog(), ShowOkPopup(), MusicCommon::showPlaylistOptionsMenu(), ThemeChooser::showPopupMenu(), ScheduleCommon::ShowRecordingDialog(), GuideGrid::ShowRecordingMenu(), EditMetadataCommon::showSaveMenu(), ScheduleEditor::ShowSchedInfo(), MythUIButtonList::ShowSearchDialog(), ProgramRecPriority::showSortMenu(), ViewScheduleDiff::showStatus(), ScheduleEditor::showTemplateMenu(), SmartPLResultViewer::showTrackInfo(), MusicCommon::showTrackInfo(), VisualizerView::showTrackInfoPopup(), EditAlbumartDialog::showTypeMenu(), ScreenSetup::showUnitsPopup(), MusicCommon::showVolume(), showWarningDialog(), BookmarkManager::slotDeleteCurrent(), BookmarkManager::slotDeleteMarked(), RSSEditor::slotDeleteSite(), MythBrowser::slotEnterURL(), BookmarkEditor::slotFindCategory(), BurnMenu::start(), EditAlbumartDialog::startCopyImageToTag(), StartPrompterPrivate::StartPrompterPrivate(), ImportMusicDialog::startScan(), TV::StartTV(), StatusBox::StatusBox(), TreeEditor::TreeEditor(), MythBurn::updateArchiveList(), CriteriaRowEditor::valueButtonClicked(), VideoDialog::VideoDialog(), VideoSetupWizard::VideoSetupWizard(), and ZMConsole::ZMConsole().

MythScreenStack * MythMainWindow::GetStackAt ( int  pos  ) 
bool MythMainWindow::TranslateKeyPress ( const QString &  context,
QKeyEvent *  e,
QStringList &  actions,
bool  allowJumps = true 
)

Get a list of actions for a keypress in the given context.

Parameters:
context The context in which to lookup the keypress for actions.
e The keypress event to lookup.
actions The QStringList that will contain the list of actions.
allowJumps if true then jump points are allowed
Returns:
true if the key event has been handled (the keypress was a jumpoint) false if the caller should continue to handle keypress

Definition at line 1501 of file mythmainwindow.cpp.

Referenced by MythTerminalKeyFilter::eventFilter(), ZMPlayer::keyPressEvent(), ZMLivePlayer::keyPressEvent(), ZMEvents::keyPressEvent(), ZMConsole::keyPressEvent(), WelcomeDialog::keyPressEvent(), ScreenSetup::keyPressEvent(), Weather::keyPressEvent(), TrackInfoPopup::keyPressEvent(), VisualizerView::keyPressEvent(), VirtualKeyboardQt::keyPressEvent(), ViewScheduleDiff::keyPressEvent(), ViewScheduled::keyPressEvent(), VideoSelector::keyPressEvent(), VideoDialog::keyPressEvent(), ItemDetailPopup::keyPressEvent(), UIKeyboardType::keyPressEvent(), TreeEditor::keyPressEvent(), ThumbFinder::keyPressEvent(), ThemeChooser::keyPressEvent(), StatusBox::keyPressEvent(), SmartPLResultViewer::keyPressEvent(), SingleView::keyPressEvent(), SelectDestination::keyPressEvent(), SearchView::keyPressEvent(), SearchEditor::keyPressEvent(), ScreenWizard::keyPressEvent(), RSSEditor::keyPressEvent(), RSSEditPopup::keyPressEvent(), RecordingSelector::keyPressEvent(), ProgramRecPriority::keyPressEvent(), ProgLister::keyPressEvent(), ProgFinder::keyPressEvent(), ProgDetails::keyPressEvent(), PlaylistView::keyPressEvent(), PlaybackBox::keyPressEvent(), ChannelEditor::keyPressEvent(), NetTree::keyPressEvent(), NetSearch::keyPressEvent(), MythWizard::keyPressEvent(), MythListBox::keyPressEvent(), MythPushButton::keyPressEvent(), MythRemoteLineEdit::keyPressEvent(), MythLineEdit::keyPressEvent(), MythSlider::keyPressEvent(), MythSpinBox::keyPressEvent(), MythRadioButton::keyPressEvent(), MythCheckBox::keyPressEvent(), MythComboBox::keyPressEvent(), MythUIVirtualKeyboard::keyPressEvent(), MythUIWebBrowser::keyPressEvent(), MythWebView::keyPressEvent(), MythUITextEdit::keyPressEvent(), MythUICheckBox::keyPressEvent(), MythUIButtonTree::keyPressEvent(), SearchButtonListDialog::keyPressEvent(), MythUIButtonList::keyPressEvent(), MythUIButton::keyPressEvent(), MythThemedMenu::keyPressEvent(), MythScreenType::keyPressEvent(), MythUIProgressDialog::keyPressEvent(), MythUIBusyDialog::keyPressEvent(), MythNewsEditor::keyPressEvent(), MythNewsConfig::keyPressEvent(), MythNews::keyPressEvent(), MythFlashPlayer::keyPressEvent(), MythProgressDialog::keyPressEvent(), MythPopupBox::keyPressEvent(), MythDialog::keyPressEvent(), MythConfirmationDialog::keyPressEvent(), MythDialogBox::keyPressEvent(), ConfigurationDialogWidget::keyPressEvent(), MythBurn::keyPressEvent(), MythBrowser::keyPressEvent(), TrackInfoDialog::keyPressEvent(), MythMusicVolumeDialog::keyPressEvent(), MusicCommon::keyPressEvent(), MiniPlayer::keyPressEvent(), LogViewer::keyPressEvent(), ImportNative::keyPressEvent(), ImportCoverArtDialog::keyPressEvent(), ImportMusicDialog::keyPressEvent(), GuideGrid::keyPressEvent(), GLSingleView::keyPressEvent(), GameUI::keyPressEvent(), FileSelector::keyPressEvent(), ExportNative::keyPressEvent(), EditAlbumartDialog::keyPressEvent(), EditMetadataCommon::keyPressEvent(), CustomEdit::keyPressEvent(), ChannelRecPriority::keyPressEvent(), RipStatus::keyPressEvent(), Ripper::keyPressEvent(), BookmarkManager::keyPressEvent(), BookmarkEditor::keyPressEvent(), and TV::ProcessKeypress().

void MythMainWindow::ReloadKeys ( void   ) 

Definition at line 1232 of file mythmainwindow.cpp.

Referenced by main(), and resetAllKeys().

void MythMainWindow::ClearKey ( const QString &  context,
const QString &  action 
)

Definition at line 1573 of file mythmainwindow.cpp.

Referenced by KeyBindings::CommitAction().

void MythMainWindow::ClearKeyContext ( const QString &  context  ) 

Definition at line 1590 of file mythmainwindow.cpp.

Referenced by TV::ReloadKeys(), ReloadKeys(), and ReloadKeys().

void MythMainWindow::BindKey ( const QString &  context,
const QString &  action,
const QString &  key 
)

Definition at line 1597 of file mythmainwindow.cpp.

Referenced by KeyBindings::CommitAction(), and RegisterKey().

void MythMainWindow::RegisterKey ( const QString &  context,
const QString &  action,
const QString &  description,
const QString &  key 
)

Definition at line 1629 of file mythmainwindow.cpp.

Referenced by InitKeys().

QString MythMainWindow::GetKey ( const QString &  context,
const QString &  action 
) const

Definition at line 1697 of file mythmainwindow.cpp.

Referenced by MythUIButtonList::ParseElement().

void MythMainWindow::ClearJump ( const QString &  destination  ) 

Definition at line 1719 of file mythmainwindow.cpp.

Referenced by ClearAllJumps(), and KeyBindings::CommitJumppoint().

void MythMainWindow::BindJump ( const QString &  destination,
const QString &  key 
)

Definition at line 1740 of file mythmainwindow.cpp.

Referenced by KeyBindings::CommitJumppoint(), and RegisterJump().

void MythMainWindow::RegisterJump ( const QString &  destination,
const QString &  description,
const QString &  key,
void(*)(void)  callback,
bool  exittomain = true,
QString  localAction = "" 
)

Definition at line 1779 of file mythmainwindow.cpp.

void MythMainWindow::ClearAllJumps (  ) 

Definition at line 1824 of file mythmainwindow.cpp.

Referenced by ReloadJumpPoints().

void MythMainWindow::RegisterMediaPlugin ( const QString &  name,
const QString &  desc,
MediaPlayCallback  fn 
)

Definition at line 1855 of file mythmainwindow.cpp.

bool MythMainWindow::HandleMedia ( const QString &  handler,
const QString &  mrl,
const QString &  plot = "",
const QString &  title = "",
const QString &  subtitle = "",
const QString &  director = "",
int  season = 0,
int  episode = 0,
const QString &  inetref = "",
int  lenMins = 120,
const QString &  year = "1895",
const QString &  id = "",
bool  useBookmarks = false 
)
void MythMainWindow::HandleTVPower ( bool  poweron  ) 

Definition at line 1899 of file mythmainwindow.cpp.

Referenced by MythScreenType::keyPressEvent().

void MythMainWindow::JumpTo ( const QString &  destination,
bool  pop = true 
)
bool MythMainWindow::DestinationExists ( const QString &  destination  )  const

Definition at line 1845 of file mythmainwindow.cpp.

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

QStringList MythMainWindow::EnumerateDestinations ( void   )  const

Definition at line 1850 of file mythmainwindow.cpp.

Referenced by main().

bool MythMainWindow::IsExitingToMain ( void   )  const

Definition at line 1411 of file mythmainwindow.cpp.

Referenced by MusicCommon::keyPressEvent(), and MythScreenStack::PopScreen().

MythMainWindow * MythMainWindow::getMainWindow ( const bool  useDB = true  )  [static]

Return the existing main window, or create one.

Parameters:
useDB If this is a temporary window, which is used to bootstrap the database, passing false prevents any database access.
See also:
MythContextPrivate::TempMainWindow()

Definition at line 327 of file mythmainwindow.cpp.

Referenced by GetMythMainWindow(), GetMythPainter(), MythDisplay::GetWindowID(), VideoOutputOpenGL::InitOSD(), VideoOutputOpenGL::SetupContext(), and MythContextPrivate::TempMainWindow().

void MythMainWindow::destroyMainWindow ( void   )  [static]

Definition at line 343 of file mythmainwindow.cpp.

Referenced by DestroyMythMainWindow().

MythPainter * MythMainWindow::GetCurrentPainter ( void   ) 
QWidget * MythMainWindow::GetPaintWindow ( void   ) 
MythRender * MythMainWindow::GetRenderDevice (  ) 

Definition at line 622 of file mythmainwindow.cpp.

Referenced by VAAPIDisplay::Create(), and VideoOutputOpenGL::SetupContext().

void MythMainWindow::ShowPainterWindow ( void   ) 

Definition at line 596 of file mythmainwindow.cpp.

Referenced by Init(), ReinitDone(), SetDrawEnabled(), and TVMenuCallback().

void MythMainWindow::HidePainterWindow ( void   ) 

Definition at line 604 of file mythmainwindow.cpp.

Referenced by SetDrawEnabled(), and TVMenuCallback().

void MythMainWindow::ResizePainterWindow ( const QSize &  size  ) 

Definition at line 614 of file mythmainwindow.cpp.

Referenced by TV::HandleStateChange(), TV::Init(), Init(), and TV::~TV().

void MythMainWindow::GrabWindow ( QImage &  image  ) 

Definition at line 821 of file mythmainwindow.cpp.

Referenced by ScreenShot().

bool MythMainWindow::SaveScreenShot ( const QImage &  image,
QString  filename = "" 
)

Definition at line 857 of file mythmainwindow.cpp.

Referenced by MythRenderVDPAU::GetScreenShot(), and ScreenShot().

bool MythMainWindow::ScreenShot ( int  w = 0,
int  h = 0,
QString  filename = "" 
)
void MythMainWindow::RemoteScreenShot ( QString  filename,
int  x,
int  y 
)

Definition at line 850 of file mythmainwindow.cpp.

Referenced by MythFEXML::GetScreenShot().

void MythMainWindow::AllowInput ( bool  allow  ) 
QRect MythMainWindow::GetUIScreenRect ( void   ) 
void MythMainWindow::SetUIScreenRect ( QRect &  rect  ) 

Definition at line 2490 of file mythmainwindow.cpp.

Referenced by OSD::OverrideUIScale(), and OSD::RevertUIScale().

int MythMainWindow::GetDrawInterval (  )  const

Definition at line 2495 of file mythmainwindow.cpp.

Referenced by MythUIAnimation::IncrementCurrentTime().

int MythMainWindow::NormalizeFontSize ( int  pointSize  ) 

Definition at line 2411 of file mythmainwindow.cpp.

Referenced by XMLParse::parseFont().

MythRect MythMainWindow::NormRect ( const MythRect rect  ) 

Definition at line 2439 of file mythmainwindow.cpp.

QPoint MythMainWindow::NormPoint ( const QPoint &  point  ) 

Definition at line 2451 of file mythmainwindow.cpp.

Referenced by MythThemeBase::Init(), and MythThemeBase::Reload().

QSize MythMainWindow::NormSize ( const QSize &  size  ) 

Definition at line 2460 of file mythmainwindow.cpp.

Referenced by XMLParseBase::parseSize().

int MythMainWindow::NormX ( const int  x  ) 
int MythMainWindow::NormY ( const int  y  ) 
void MythMainWindow::SetScalingFactors ( float  wmult,
float  hmult 
)

Definition at line 2479 of file mythmainwindow.cpp.

Referenced by OSD::OverrideUIScale(), and OSD::RevertUIScale().

void MythMainWindow::StartLIRC ( void   ) 

Definition at line 2500 of file mythmainwindow.cpp.

Referenced by MythMainWindow(), and signal_USR2_handler().

void MythMainWindow::attach ( QWidget *  child  ) 

Definition at line 1272 of file mythmainwindow.cpp.

Referenced by MythDialog::MythDialog(), and GalleryUtil::PlayVideo().

void MythMainWindow::detach ( QWidget *  child  ) 
QWidget * MythMainWindow::currentWidget ( void   ) 
uint MythMainWindow::PushDrawDisabled ( void   ) 

Definition at line 1338 of file mythmainwindow.cpp.

Referenced by TV::customEvent(), customEvent(), and TV::HandleStateChange().

uint MythMainWindow::PopDrawDisabled ( void   ) 

Definition at line 1347 of file mythmainwindow.cpp.

Referenced by customEvent(), TV::DoEditSchedule(), and TV::~TV().

void MythMainWindow::SetEffectsEnabled ( bool  enable  ) 

Definition at line 1399 of file mythmainwindow.cpp.

Referenced by reloadTheme().

void MythMainWindow::draw ( void   ) 

Definition at line 773 of file mythmainwindow.cpp.

Referenced by drawScreen(), and VideoOutputOpenGL::PrepareFrame().

void MythMainWindow::ResetIdleTimer ( void   ) 

Definition at line 2570 of file mythmainwindow.cpp.

Referenced by eventFilter().

void MythMainWindow::PauseIdleTimer ( bool  pause  ) 
void MythMainWindow::EnterStandby ( bool  manual = true  ) 

Definition at line 2619 of file mythmainwindow.cpp.

Referenced by IdleScreen::IdleScreen(), and IdleTimeout().

void MythMainWindow::ExitStandby ( bool  manual = true  ) 

Definition at line 2639 of file mythmainwindow.cpp.

Referenced by ResetIdleTimer(), and IdleScreen::~IdleScreen().

void MythMainWindow::mouseTimeout ( void   )  [slot]

Definition at line 1914 of file mythmainwindow.cpp.

Referenced by MythMainWindow().

void MythMainWindow::HideMouseTimeout ( void   )  [slot]

Definition at line 2565 of file mythmainwindow.cpp.

Referenced by MythMainWindow().

void MythMainWindow::IdleTimeout ( void   )  [slot]

Definition at line 2598 of file mythmainwindow.cpp.

Referenced by MythMainWindow().

void MythMainWindow::animate ( void   )  [protected, slot]

Definition at line 669 of file mythmainwindow.cpp.

Referenced by MythMainWindow().

void MythMainWindow::doRemoteScreenShot ( QString  filename,
int  x,
int  y 
) [protected, slot]

Definition at line 838 of file mythmainwindow.cpp.

Referenced by MythMainWindow().

void MythMainWindow::signalRemoteScreenShot ( QString  filename,
int  x,
int  y 
) [signal]

Referenced by MythMainWindow(), and RemoteScreenShot().

void MythMainWindow::InitKeys ( void   )  [protected]

Definition at line 1083 of file mythmainwindow.cpp.

Referenced by MythMainWindow(), and ReloadKeys().

bool MythMainWindow::eventFilter ( QObject *  o,
QEvent *  e 
) [protected]

Definition at line 1931 of file mythmainwindow.cpp.

void MythMainWindow::customEvent ( QEvent *  ce  )  [protected]

Definition at line 2127 of file mythmainwindow.cpp.

void MythMainWindow::closeEvent ( QCloseEvent *  e  )  [protected]

Definition at line 808 of file mythmainwindow.cpp.

void MythMainWindow::drawScreen ( void   )  [protected]
bool MythMainWindow::event ( QEvent *  e  )  [protected]

Definition at line 898 of file mythmainwindow.cpp.

void MythMainWindow::ExitToMainMenu ( void   )  [protected]

Definition at line 1416 of file mythmainwindow.cpp.

Referenced by customEvent().

QObject * MythMainWindow::getTarget ( QKeyEvent &  key  )  [protected]

Definition at line 2382 of file mythmainwindow.cpp.

Referenced by customEvent(), eventFilter(), and ExitToMainMenu().

void MythMainWindow::SetDrawEnabled ( bool  enable  )  [protected]

Definition at line 1359 of file mythmainwindow.cpp.

Referenced by customEvent(), PopDrawDisabled(), and PushDrawDisabled().

void MythMainWindow::LockInputDevices ( bool  locked  )  [protected]

Definition at line 2535 of file mythmainwindow.cpp.

Referenced by customEvent().

void MythMainWindow::ShowMouseCursor ( bool  show  )  [protected]

Definition at line 2551 of file mythmainwindow.cpp.

Referenced by eventFilter(), HideMouseTimeout(), and Init().


Friends And Related Function Documentation

friend class MythPainterWindowGL [friend]

Definition at line 34 of file mythmainwindow.h.

Referenced by Init().

friend class MythPainterWindowQt [friend]

Definition at line 35 of file mythmainwindow.h.

Referenced by Init().

friend class MythPainterWindowVDPAU [friend]

Definition at line 36 of file mythmainwindow.h.

friend class MythPainterWindowD3D9 [friend]

Definition at line 37 of file mythmainwindow.h.

Referenced by Init().


Member Data Documentation


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