MythThemedDialog Class Reference

#include <mythdialogs.h>

Inheritance diagram for MythThemedDialog:

MythDialog DatabaseBox DirectoryFinder DVDRipBox EditMetadataDialog EditMetadataDialog EditMetadataDialog ExportNativeWizard FileAssocDialog FileSelector GameTree GlobalSetup ImportCoverArtDialog ImportMusicDialog ImportNativeWizard LocationDialog MiniPlayer MoviesUI MythburnWizard MythImageFileDialog PhoneUIBox PlaybackBoxMusic ProgDetails RecordingSelector Ripper RipStatus ScreenSetup SourceSetup ThumbFinder TitleDialog VideoFilterDialog VideoManager VideoSelector VideoTree VirtualKeyboard WebcamSettingsBox WelcomeDialog ZMConsole ZMEvents ZMLivePlayer ZMPlayer

List of all members.


Detailed Description

Definition at line 343 of file mythdialogs.h.


Public Slots

virtual void deleteLater (void)
virtual void updateBackground ()
virtual void initForeground ()
virtual void updateForeground ()
virtual void updateForeground (const QRect &)
 draws anything that intersects
virtual void updateForegroundRegion (const QRect &)
 only draws the region
virtual bool assignFirstFocus ()
virtual bool nextPrevWidgetFocus (bool up_or_down)
virtual void activateCurrent ()

Public Member Functions

 MythThemedDialog (MythMainWindow *parent, QString window_name, QString theme_filename="", const char *name=0, bool setsize=true)
 MythThemedDialog (MythMainWindow *parent, const char *name=0, bool setsize=true)
virtual bool loadThemedWindow (QString window_name, QString theme_filename)
virtual void loadWindow (QDomElement &)
virtual void parseContainer (QDomElement &)
virtual void parseFont (QDomElement &)
virtual void parsePopup (QDomElement &)
bool buildFocusList ()
UITypegetUIObject (const QString &name)
UITypegetCurrentFocusWidget ()
void setCurrentFocusWidget (UIType *widget)
UIManagedTreeListTypegetUIManagedTreeListType (const QString &name)
UITextTypegetUITextType (const QString &name)
UIRichTextTypegetUIRichTextType (const QString &name)
UIMultiTextTypegetUIMultiTextType (const QString &name)
UIPushButtonTypegetUIPushButtonType (const QString &name)
UITextButtonTypegetUITextButtonType (const QString &name)
UIRemoteEditTypegetUIRemoteEditType (const QString &name)
UIRepeatedImageTypegetUIRepeatedImageType (const QString &name)
UICheckBoxTypegetUICheckBoxType (const QString &name)
UISelectorTypegetUISelectorType (const QString &name)
UIBlackHoleTypegetUIBlackHoleType (const QString &name)
UIImageGridTypegetUIImageGridType (const QString &name)
UIImageTypegetUIImageType (const QString &name)
UIStatusBarTypegetUIStatusBarType (const QString &name)
UIListBtnTypegetUIListBtnType (const QString &name)
UIListTreeTypegetUIListTreeType (const QString &name)
UIKeyboardTypegetUIKeyboardType (const QString &name)
LayerSetgetContainer (const QString &name)
fontPropgetFont (const QString &name)
void setContext (int a_context)
int getContext ()

Protected Member Functions

 ~MythThemedDialog ()
void paintEvent (QPaintEvent *e)
XMLParsegetTheme ()
QDomElement & getXmlData ()

Protected Attributes

UITypewidget_with_current_focus
QPixmap my_background
QPixmap my_foreground

Private Member Functions

void ReallyUpdateForeground (const QRect &)
void UpdateForegroundRect (const QRect &inv_rect)

Private Attributes

XMLParsetheme
QDomElement xmldata
int context
QPtrList< LayerSetmy_containers
QPtrList< UITypefocus_taking_widgets
QRect redrawRect

Constructor & Destructor Documentation

MythThemedDialog::MythThemedDialog ( MythMainWindow parent,
QString  window_name,
QString  theme_filename = "",
const char *  name = 0,
bool  setsize = true 
)

Definition at line 982 of file mythdialogs.cpp.

MythThemedDialog::MythThemedDialog ( MythMainWindow parent,
const char *  name = 0,
bool  setsize = true 
)

Definition at line 1004 of file mythdialogs.cpp.

MythThemedDialog::~MythThemedDialog (  )  [protected]

Definition at line 1103 of file mythdialogs.cpp.


Member Function Documentation

bool MythThemedDialog::loadThemedWindow ( QString  window_name,
QString  theme_filename 
) [virtual]

void MythThemedDialog::loadWindow ( QDomElement &  element  )  [virtual]

Definition at line 1122 of file mythdialogs.cpp.

Referenced by loadThemedWindow().

void MythThemedDialog::parseContainer ( QDomElement &  element  )  [virtual]

Definition at line 1157 of file mythdialogs.cpp.

Referenced by loadWindow().

void MythThemedDialog::parseFont ( QDomElement &  element  )  [virtual]

Definition at line 1179 of file mythdialogs.cpp.

void MythThemedDialog::parsePopup ( QDomElement &  element  )  [virtual]

Definition at line 1189 of file mythdialogs.cpp.

Referenced by loadWindow().

bool MythThemedDialog::buildFocusList (  ) 

Definition at line 1067 of file mythdialogs.cpp.

Referenced by Ripper::compilationChanged(), ScreenSetup::cursorRight(), ImportMusicDialog::fillWidgets(), GlobalSetup::GlobalSetup(), MythburnWizard::handleNextPage(), ExportNativeWizard::handleNextPage(), MythburnWizard::handlePrevPage(), ExportNativeWizard::handlePrevPage(), loadThemedWindow(), ImportNativeWizard::nextPressed(), ImportNativeWizard::prevPressed(), ScreenSetup::ScreenSetup(), MythburnWizard::setDestination(), ExportNativeWizard::setDestination(), ZMEvents::setView(), SourceSetup::SourceSetup(), Ripper::startScanCD(), EditMetadataDialog::switchToAlbumArt(), EditMetadataDialog::switchToDBStats(), EditMetadataDialog::switchToMetadata(), VideoSelector::titleChanged(), RecordingSelector::titleChanged(), MythburnWizard::titleChanged(), ExportNativeWizard::titleChanged(), VideoManager::VideoManager(), ZMPlayer::wireUpTheme(), ZMEvents::wireUpTheme(), ZMConsole::wireUpTheme(), WelcomeDialog::wireUpTheme(), VideoSelector::wireUpTheme(), VideoFilterDialog::wireUpTheme(), TitleDialog::wireUpTheme(), ThumbFinder::wireUpTheme(), RecordingSelector::wireUpTheme(), ProgDetails::wireUpTheme(), MythburnWizard::wireUpTheme(), ImportNativeWizard::wireUpTheme(), ImportMusicDialog::wireUpTheme(), FileSelector::wireUpTheme(), FileAssocDialog::wireUpTheme(), ExportNativeWizard::wireUpTheme(), EditMetadataDialog::wireUpTheme(), DVDRipBox::wireUpTheme(), DirectoryFinder::wireUpTheme(), RipStatus::wireupTheme(), and Ripper::wireupTheme().

UIType * MythThemedDialog::getUIObject ( const QString &  name  ) 

UIType * MythThemedDialog::getCurrentFocusWidget (  ) 

void MythThemedDialog::setCurrentFocusWidget ( UIType widget  ) 

UIManagedTreeListType * MythThemedDialog::getUIManagedTreeListType ( const QString &  name  ) 

UITextType * MythThemedDialog::getUITextType ( const QString &  name  ) 

UIRichTextType * MythThemedDialog::getUIRichTextType ( const QString &  name  ) 

Definition at line 1558 of file mythdialogs.cpp.

Referenced by ProgDetails::wireUpTheme().

UIMultiTextType * MythThemedDialog::getUIMultiTextType ( const QString &  name  ) 

Definition at line 1568 of file mythdialogs.cpp.

UIPushButtonType * MythThemedDialog::getUIPushButtonType ( const QString &  name  ) 

UITextButtonType * MythThemedDialog::getUITextButtonType ( const QString &  name  ) 

UIRemoteEditType * MythThemedDialog::getUIRemoteEditType ( const QString &  name  ) 

UIRepeatedImageType * MythThemedDialog::getUIRepeatedImageType ( const QString &  name  ) 

UICheckBoxType * MythThemedDialog::getUICheckBoxType ( const QString &  name  ) 

UISelectorType * MythThemedDialog::getUISelectorType ( const QString &  name  ) 

UIBlackHoleType * MythThemedDialog::getUIBlackHoleType ( const QString &  name  ) 

UIImageGridType * MythThemedDialog::getUIImageGridType ( const QString &  name  ) 

Definition at line 1628 of file mythdialogs.cpp.

Referenced by ZMEvents::wireUpTheme(), and ThumbFinder::wireUpTheme().

UIImageType * MythThemedDialog::getUIImageType ( const QString &  name  ) 

UIStatusBarType * MythThemedDialog::getUIStatusBarType ( const QString &  name  ) 

UIListBtnType * MythThemedDialog::getUIListBtnType ( const QString &  name  ) 

UIListTreeType * MythThemedDialog::getUIListTreeType ( const QString &  name  ) 

Definition at line 1618 of file mythdialogs.cpp.

Referenced by DatabaseBox::DatabaseBox().

UIKeyboardType * MythThemedDialog::getUIKeyboardType ( const QString &  name  ) 

Definition at line 1623 of file mythdialogs.cpp.

Referenced by VirtualKeyboard::SwitchLayout().

LayerSet * MythThemedDialog::getContainer ( const QString &  name  ) 

Definition at line 1633 of file mythdialogs.cpp.

Referenced by VirtualKeyboard::SwitchLayout(), and MiniPlayer::wireupTheme().

fontProp * MythThemedDialog::getFont ( const QString &  name  ) 

void MythThemedDialog::setContext ( int  a_context  )  [inline]

int MythThemedDialog::getContext (  )  [inline]

void MythThemedDialog::deleteLater ( void   )  [virtual, slot]

void MythThemedDialog::updateBackground (  )  [virtual, slot]

Definition at line 1205 of file mythdialogs.cpp.

Referenced by loadThemedWindow().

void MythThemedDialog::initForeground (  )  [virtual, slot]

Definition at line 1199 of file mythdialogs.cpp.

Referenced by loadThemedWindow().

void MythThemedDialog::updateForeground (  )  [virtual, slot]

void MythThemedDialog::updateForeground ( const QRect &  r  )  [virtual, slot]

draws anything that intersects

Definition at line 1248 of file mythdialogs.cpp.

void MythThemedDialog::updateForegroundRegion ( const QRect &  r  )  [virtual, slot]

only draws the region

Definition at line 1284 of file mythdialogs.cpp.

Referenced by loadThemedWindow().

bool MythThemedDialog::assignFirstFocus (  )  [virtual, slot]

bool MythThemedDialog::nextPrevWidgetFocus ( bool  up_or_down  )  [virtual, slot]

void MythThemedDialog::activateCurrent (  )  [virtual, slot]

void MythThemedDialog::paintEvent ( QPaintEvent *  e  )  [protected]

Definition at line 1361 of file mythdialogs.cpp.

XMLParse* MythThemedDialog::getTheme (  )  [inline, protected]

Definition at line 409 of file mythdialogs.h.

Referenced by ProgDetails::themeText(), and VideoManager::VideoManager().

QDomElement& MythThemedDialog::getXmlData (  )  [inline, protected]

Definition at line 410 of file mythdialogs.h.

void MythThemedDialog::ReallyUpdateForeground ( const QRect &  r  )  [private]

Definition at line 1266 of file mythdialogs.cpp.

Referenced by paintEvent().

void MythThemedDialog::UpdateForegroundRect ( const QRect &  inv_rect  )  [private]

Definition at line 1294 of file mythdialogs.cpp.

Referenced by ReallyUpdateForeground(), and updateForegroundRegion().


Member Data Documentation

QPixmap MythThemedDialog::my_background [protected]

QPixmap MythThemedDialog::my_foreground [protected]

Definition at line 413 of file mythdialogs.h.

Referenced by initForeground(), paintEvent(), and UpdateForegroundRect().

QDomElement MythThemedDialog::xmldata [private]

Definition at line 422 of file mythdialogs.h.

Referenced by loadThemedWindow().


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

Generated on Sat Dec 18 05:16:08 2010 for MythTV by  doxygen 1.5.5