#include <uitypes.h>
Public Slots | |
| virtual bool | takeFocus () |
| virtual void | looseFocus () |
| virtual void | activate () |
| virtual void | refresh () |
| virtual void | show () |
| virtual void | hide () |
| virtual bool | toggleShow () |
Signals | |
| void | requestUpdate () |
| void | requestUpdate (const QRect &) |
| void | requestRegionUpdate (const QRect &) |
| void | takingFocus () |
| void | loosingFocus () |
Public Member Functions | |
| UIType (const QString &name) | |
| virtual | ~UIType () |
| void | SetOrder (int order) |
| void | SetParent (LayerSet *) |
| void | SetScreen (double wmult, double hmult) |
| void | SetContext (int con) |
| int | GetContext () |
| void | SetDebug (bool db) |
| void | allowFocus (bool yes_or_no) |
| void | SetDrawFontShadow (bool state) |
| QString | Name () |
| bool | canTakeFocus () |
| int | getOrder () |
| virtual void | Draw (QPainter *, int, int) |
| virtual void | DrawRegion (QPainter *, QRect &, int, int) |
| virtual void | calculateScreenArea () |
| QRect | getScreenArea () |
| QString | cutDown (const QString &data, QFont *font, bool multiline=false, int overload_width=-1, int overload_height=-1) |
| QString | getName () |
| bool | isShown () |
| bool | isHidden () |
| bool | isFocused () |
Protected Attributes | |
| double | m_wmult |
| double | m_hmult |
| int | m_context |
| int | m_order |
| bool | m_debug |
| QString | m_name |
| LayerSet * | m_parent |
| bool | has_focus |
| bool | takes_focus |
| QRect | screen_area |
| bool | drawFontShadow |
| bool | hidden |
Definition at line 78 of file uitypes.h.
| UIType::UIType | ( | const QString & | name | ) |
Definition at line 121 of file uitypes.cpp.
| UIType::~UIType | ( | ) | [virtual] |
Definition at line 146 of file uitypes.cpp.
| void UIType::SetOrder | ( | int | order | ) |
Definition at line 137 of file uitypes.cpp.
Referenced by XMLParse::parseKey().
| void UIType::SetParent | ( | LayerSet * | parent | ) |
Definition at line 165 of file uitypes.cpp.
Referenced by LayerSet::AddType(), XMLParse::parseKey(), and XMLParse::parseKeyboard().
| void UIType::SetScreen | ( | double | wmult, | |
| double | hmult | |||
| ) | [inline] |
Definition at line 88 of file uitypes.h.
Referenced by XMLParse::parseKey(), and XMLParse::parseKeyboard().
| void UIType::SetContext | ( | int | con | ) | [inline] |
Definition at line 89 of file uitypes.h.
Referenced by XMLParse::parseKeyboard().
| int UIType::GetContext | ( | void | ) | [inline] |
Definition at line 90 of file uitypes.h.
Referenced by MythThemedDialog::buildFocusList().
| void UIType::SetDebug | ( | bool | db | ) | [inline] |
Definition at line 91 of file uitypes.h.
Referenced by LayerSet::AddType().
| void UIType::SetDrawFontShadow | ( | bool | state | ) | [inline] |
Definition at line 93 of file uitypes.h.
Referenced by LayerSet::SetDrawFontShadow().
| QString UIType::Name | ( | ) |
Definition at line 170 of file uitypes.cpp.
Referenced by LayerSet::AddType().
| bool UIType::canTakeFocus | ( | ) | [inline] |
Definition at line 97 of file uitypes.h.
Referenced by MythThemedDialog::assignFirstFocus(), MythThemedDialog::buildFocusList(), and MythThemedDialog::nextPrevWidgetFocus().
| int UIType::getOrder | ( | ) | [inline] |
Definition at line 98 of file uitypes.h.
Referenced by LayerSet::AddType().
| void UIType::Draw | ( | QPainter * | dr, | |
| int | drawlayer, | |||
| int | context | |||
| ) | [virtual] |
Reimplemented in UIKeyType, and UIKeyboardType.
Definition at line 150 of file uitypes.cpp.
Referenced by LayerSet::Draw().
| void UIType::DrawRegion | ( | QPainter * | dr, | |
| QRect & | area, | |||
| int | drawlayer, | |||
| int | context | |||
| ) | [virtual] |
Definition at line 157 of file uitypes.cpp.
Referenced by LayerSet::DrawRegion().
| void UIType::calculateScreenArea | ( | ) | [virtual] |
Reimplemented in UIKeyType, and UIKeyboardType.
Definition at line 195 of file uitypes.cpp.
| QString UIType::cutDown | ( | const QString & | data, | |
| QFont * | font, | |||
| bool | multiline = false, |
|||
| int | overload_width = -1, |
|||
| int | overload_height = -1 | |||
| ) |
Definition at line 237 of file uitypes.cpp.
| bool UIType::isHidden | ( | ) | [inline] |
Definition at line 108 of file uitypes.h.
Referenced by MythThemedDialog::buildFocusList().
| bool UIType::takeFocus | ( | ) | [virtual, slot] |
Definition at line 175 of file uitypes.cpp.
Referenced by UIKeyboardType::AddKey(), MythThemedDialog::assignFirstFocus(), UIKeyboardType::moveDown(), UIKeyboardType::moveLeft(), UIKeyboardType::moveRight(), UIKeyboardType::moveUp(), MythThemedDialog::nextPrevWidgetFocus(), and MythThemedDialog::setCurrentFocusWidget().
| void UIType::looseFocus | ( | ) | [virtual, slot] |
Definition at line 188 of file uitypes.cpp.
Referenced by MythThemedDialog::assignFirstFocus(), UIKeyboardType::moveDown(), UIKeyboardType::moveLeft(), UIKeyboardType::moveRight(), UIKeyboardType::moveUp(), MythThemedDialog::nextPrevWidgetFocus(), and MythThemedDialog::setCurrentFocusWidget().
| virtual void UIType::activate | ( | ) | [inline, virtual, slot] |
Reimplemented in UIKeyType.
Definition at line 115 of file uitypes.h.
Referenced by MythThemedDialog::activateCurrent().
| void UIType::refresh | ( | ) | [virtual, slot] |
Definition at line 200 of file uitypes.cpp.
Referenced by hide(), looseFocus(), UIKeyType::push(), UIKeyType::SetOn(), UIKeyType::SetShiftState(), show(), takeFocus(), and UIKeyType::unPush().
| void UIType::show | ( | ) | [virtual, slot] |
Definition at line 205 of file uitypes.cpp.
Referenced by toggleShow().
| void UIType::hide | ( | void | ) | [virtual, slot] |
Definition at line 217 of file uitypes.cpp.
Referenced by toggleShow().
| bool UIType::toggleShow | ( | ) | [virtual, slot] |
Definition at line 223 of file uitypes.cpp.
| void UIType::requestUpdate | ( | ) | [signal] |
Referenced by refresh().
| void UIType::requestUpdate | ( | const QRect & | ) | [signal] |
| void UIType::requestRegionUpdate | ( | const QRect & | ) | [signal] |
| void UIType::takingFocus | ( | ) | [signal] |
Referenced by takeFocus().
| void UIType::loosingFocus | ( | ) | [signal] |
Referenced by looseFocus().
double UIType::m_wmult [protected] |
Definition at line 136 of file uitypes.h.
Referenced by UIKeyType::Draw().
double UIType::m_hmult [protected] |
int UIType::m_context [protected] |
Definition at line 138 of file uitypes.h.
Referenced by UIKeyboardType::Draw(), UIKeyType::Draw(), and UIType().
int UIType::m_order [protected] |
Definition at line 139 of file uitypes.h.
Referenced by UIKeyboardType::Draw(), UIKeyType::Draw(), SetOrder(), UIKeyboardType::UIKeyboardType(), and UIType().
bool UIType::m_debug [protected] |
QString UIType::m_name [protected] |
LayerSet* UIType::m_parent [protected] |
Definition at line 142 of file uitypes.h.
Referenced by UIKeyboardType::calculateScreenArea(), UIKeyType::calculateScreenArea(), SetOrder(), SetParent(), and UIType().
bool UIType::has_focus [protected] |
Definition at line 143 of file uitypes.h.
Referenced by UIKeyType::Draw(), looseFocus(), takeFocus(), and UIType().
bool UIType::takes_focus [protected] |
Definition at line 144 of file uitypes.h.
Referenced by takeFocus(), UIKeyType::UIKeyType(), and UIType().
QRect UIType::screen_area [protected] |
Definition at line 145 of file uitypes.h.
Referenced by UIKeyboardType::calculateScreenArea(), UIKeyType::calculateScreenArea(), calculateScreenArea(), cutDown(), refresh(), and UIType().
bool UIType::drawFontShadow [protected] |
Definition at line 146 of file uitypes.h.
Referenced by UIKeyType::Draw(), and UIType().
bool UIType::hidden [protected] |
Definition at line 147 of file uitypes.h.
Referenced by UIKeyboardType::Draw(), hide(), show(), toggleShow(), and UIType().
1.6.3