#include <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, 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 () |
| UIType * | getUIObject (const QString &name) |
| UIType * | getCurrentFocusWidget () |
| void | setCurrentFocusWidget (UIType *widget) |
| UIKeyboardType * | getUIKeyboardType (const QString &name) |
| LayerSet * | getContainer (const QString &name) |
| fontProp * | getFont (const QString &name) |
| void | setContext (int a_context) |
| int | getContext () |
Protected Member Functions | |
| ~MythThemedDialog () | |
| void | paintEvent (QPaintEvent *e) |
| XMLParse * | getTheme () |
| QDomElement & | getXmlData () |
Protected Attributes | |
| UIType * | widget_with_current_focus |
| QPixmap | my_background |
| QPixmap | my_foreground |
Private Member Functions | |
| void | ReallyUpdateForeground (const QRect &) |
| void | UpdateForegroundRect (const QRect &inv_rect) |
Private Attributes | |
| XMLParse * | theme |
| QDomElement | xmldata |
| int | context |
| QList< LayerSet * > | my_containers |
| vector< UIType * > | focus_taking_widgets |
| QRect | redrawRect |
Definition at line 261 of file mythdialogs.h.
| 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.
| 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().
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().
UIType* MythThemedDialog::widget_with_current_focus [protected] |
Definition at line 311 of file mythdialogs.h.
Referenced by activateCurrent(), assignFirstFocus(), getCurrentFocusWidget(), loadThemedWindow(), nextPrevWidgetFocus(), and setCurrentFocusWidget().
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().
XMLParse* MythThemedDialog::theme [private] |
Definition at line 326 of file mythdialogs.h.
Referenced by deleteLater(), getFont(), getTheme(), loadThemedWindow(), loadWindow(), MythThemedDialog(), parseContainer(), parseFont(), updateBackground(), and ~MythThemedDialog().
QDomElement MythThemedDialog::xmldata [private] |
Definition at line 327 of file mythdialogs.h.
Referenced by getXmlData(), and loadThemedWindow().
int MythThemedDialog::context [private] |
Definition at line 328 of file mythdialogs.h.
Referenced by buildFocusList(), getContext(), loadThemedWindow(), setContext(), updateBackground(), and UpdateForegroundRect().
QList<LayerSet*> MythThemedDialog::my_containers [private] |
Definition at line 330 of file mythdialogs.h.
Referenced by buildFocusList(), getContainer(), getUIObject(), loadThemedWindow(), parseContainer(), and UpdateForegroundRect().
vector<UIType*> MythThemedDialog::focus_taking_widgets [private] |
Definition at line 331 of file mythdialogs.h.
Referenced by assignFirstFocus(), buildFocusList(), nextPrevWidgetFocus(), and setCurrentFocusWidget().
QRect MythThemedDialog::redrawRect [private] |
Definition at line 333 of file mythdialogs.h.
Referenced by loadThemedWindow(), paintEvent(), ReallyUpdateForeground(), and updateForeground().
1.6.3