MythThemedDialog Class Reference

#include <mythdialogs.h>

Inheritance diagram for MythThemedDialog:
MythDialog VirtualKeyboardQt

List of all members.

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, const QString &window_name, const QString &theme_filename=QString(), const char *name="MythThemedDialog", bool setsize=true)
 MythThemedDialog (MythMainWindow *parent, const char *name="MythThemedDialog", bool setsize=true)
virtual bool loadThemedWindow (QString window_name, QString theme_filename)
virtual void loadWindow (QDomElement &)
virtual void parseContainer (QDomElement &)
virtual void parseFont (QDomElement &)
bool buildFocusList ()
UITypegetUIObject (const QString &name)
UITypegetCurrentFocusWidget ()
void setCurrentFocusWidget (UIType *widget)
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
QList< LayerSet * > my_containers
vector< UIType * > focus_taking_widgets
QRect redrawRect

Detailed Description

Deprecated:
Due for removal, use libmythui's MythScreenType instead

Definition at line 261 of file mythdialogs.h.


Constructor & Destructor Documentation

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

Definition at line 932 of file mythdialogs.cpp.

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

Definition at line 956 of file mythdialogs.cpp.

MythThemedDialog::~MythThemedDialog (  )  [protected]

Definition at line 1050 of file mythdialogs.cpp.


Member Function Documentation

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

Definition at line 964 of file mythdialogs.cpp.

Referenced by MythThemedDialog(), and VirtualKeyboardQt::SwitchLayout().

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

Definition at line 1069 of file mythdialogs.cpp.

Referenced by loadThemedWindow().

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

Definition at line 1100 of file mythdialogs.cpp.

Referenced by loadWindow().

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

Definition at line 1123 of file mythdialogs.cpp.

bool MythThemedDialog::buildFocusList (  ) 

Definition at line 1018 of file mythdialogs.cpp.

Referenced by loadThemedWindow().

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

Definition at line 1426 of file mythdialogs.cpp.

UIType * MythThemedDialog::getCurrentFocusWidget (  ) 

Definition at line 1448 of file mythdialogs.cpp.

void MythThemedDialog::setCurrentFocusWidget ( UIType widget  ) 

Definition at line 1457 of file mythdialogs.cpp.

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

Definition at line 1473 of file mythdialogs.cpp.

Referenced by VirtualKeyboardQt::SwitchLayout().

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

Definition at line 1478 of file mythdialogs.cpp.

Referenced by VirtualKeyboardQt::SwitchLayout().

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

Definition at line 1490 of file mythdialogs.cpp.

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

Definition at line 291 of file mythdialogs.h.

int MythThemedDialog::getContext (  )  [inline]

Definition at line 292 of file mythdialogs.h.

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

Reimplemented from MythDialog.

Reimplemented in VirtualKeyboardQt.

Definition at line 1059 of file mythdialogs.cpp.

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

Definition at line 1139 of file mythdialogs.cpp.

Referenced by loadThemedWindow().

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

Definition at line 1133 of file mythdialogs.cpp.

Referenced by loadThemedWindow().

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

Definition at line 1178 of file mythdialogs.cpp.

Referenced by initForeground(), and loadThemedWindow().

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

draws anything that intersects

Definition at line 1188 of file mythdialogs.cpp.

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

only draws the region

Definition at line 1216 of file mythdialogs.cpp.

Referenced by loadThemedWindow().

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

Definition at line 1301 of file mythdialogs.cpp.

Referenced by nextPrevWidgetFocus().

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

Definition at line 1323 of file mythdialogs.cpp.

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

Definition at line 1397 of file mythdialogs.cpp.

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

Definition at line 1289 of file mythdialogs.cpp.

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

Definition at line 314 of file mythdialogs.h.

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

Definition at line 315 of file mythdialogs.h.

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

Definition at line 1202 of file mythdialogs.cpp.

Referenced by paintEvent().

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

Definition at line 1226 of file mythdialogs.cpp.

Referenced by ReallyUpdateForeground(), and updateForegroundRegion().


Member Data Documentation

QPixmap MythThemedDialog::my_background [protected]

Definition at line 317 of file mythdialogs.h.

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

QPixmap MythThemedDialog::my_foreground [protected]

Definition at line 318 of file mythdialogs.h.

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

QDomElement MythThemedDialog::xmldata [private]

Definition at line 327 of file mythdialogs.h.

Referenced by getXmlData(), and loadThemedWindow().


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