#include <mythuitext.h>

Definition at line 13 of file mythuitext.h.
Public Member Functions | |
| MythUIText (MythUIType *parent, const char *name) | |
| MythUIText (const QString &text, const MythFontProperties &font, QRect displayRect, QRect altDisplayRect, MythUIType *parent, const char *name) | |
| ~MythUIText () | |
| void | SetText (const QString &text) |
| QString | GetText (void) |
| QString | GetDefaultText (void) |
| void | SetFontProperties (const MythFontProperties &fontProps) |
| void | UseAlternateArea (bool useAlt) |
| void | SetJustification (int just) |
| int | GetJustification (void) |
| void | SetCutDown (bool cut) |
| void | SetArea (const QRect &rect) |
| virtual void | Pulse (void) |
| void | CycleColor (QColor startColor, QColor endColor, int numSteps) |
| void | StopCycling () |
Protected Member Functions | |
| virtual void | DrawSelf (MythPainter *p, int xoffset, int yoffset, int alphaMod, QRect clipRect) |
| virtual bool | ParseElement (QDomElement &element) |
| virtual void | CopyFrom (MythUIType *base) |
| virtual void | CreateCopy (MythUIType *parent) |
| virtual void | Finalize (void) |
Protected Attributes | |
| int | m_Justification |
| QRect | m_OrigDisplayRect |
| QRect | m_AltDisplayRect |
| QString | m_Message |
| QString | m_CutMessage |
| QString | m_DefaultMessage |
| bool | m_Cutdown |
| MythFontProperties * | m_Font |
| bool | m_colorCycling |
| QColor | m_startColor |
| QColor | m_endColor |
| int | m_numSteps |
| int | m_curStep |
| float | curR |
| float | curG |
| float | curB |
| float | incR |
| float | incG |
| float | incB |
| MythUIText::MythUIText | ( | MythUIType * | parent, | |
| const char * | name | |||
| ) |
| MythUIText::MythUIText | ( | const QString & | text, | |
| const MythFontProperties & | font, | |||
| QRect | displayRect, | |||
| QRect | altDisplayRect, | |||
| MythUIType * | parent, | |||
| const char * | name | |||
| ) |
Definition at line 28 of file mythuitext.cpp.
| MythUIText::~MythUIText | ( | ) |
Definition at line 49 of file mythuitext.cpp.
| void MythUIText::SetText | ( | const QString & | text | ) |
Definition at line 58 of file mythuitext.cpp.
Referenced by MythDialogBox::Create(), MythControls::customEvent(), MythUIButton::ParseElement(), MythControls::RefreshKeyInformation(), MythUIButton::SetText(), and MythAppearance::updateScreen().
| QString MythUIText::GetText | ( | void | ) |
| QString MythUIText::GetDefaultText | ( | void | ) |
Definition at line 73 of file mythuitext.cpp.
| void MythUIText::SetFontProperties | ( | const MythFontProperties & | fontProps | ) |
Definition at line 78 of file mythuitext.cpp.
Referenced by MythUIButton::SelectState(), and MythUIButton::SetFont().
| void MythUIText::UseAlternateArea | ( | bool | useAlt | ) |
Definition at line 84 of file mythuitext.cpp.
| void MythUIText::SetJustification | ( | int | just | ) |
Definition at line 94 of file mythuitext.cpp.
Referenced by MythThemedMenuPrivate::addButton(), MythUIButton::ParseElement(), and MythUIButton::SetText().
| int MythUIText::GetJustification | ( | void | ) |
Definition at line 104 of file mythuitext.cpp.
| void MythUIText::SetCutDown | ( | bool | cut | ) |
Definition at line 109 of file mythuitext.cpp.
| void MythUIText::SetArea | ( | const QRect & | rect | ) | [virtual] |
Reimplemented from MythUIType.
Definition at line 116 of file mythuitext.cpp.
Referenced by MythUIButton::SetTextRect().
| void MythUIText::Pulse | ( | void | ) | [virtual] |
Reimplemented from MythUIType.
Reimplemented in MythUIClock.
Definition at line 146 of file mythuitext.cpp.
Referenced by MythUIClock::Pulse().
| void MythUIText::CycleColor | ( | QColor | startColor, | |
| QColor | endColor, | |||
| int | numSteps | |||
| ) |
| void MythUIText::StopCycling | ( | void | ) |
Definition at line 200 of file mythuitext.cpp.
| void MythUIText::DrawSelf | ( | MythPainter * | p, | |
| int | xoffset, | |||
| int | yoffset, | |||
| int | alphaMod, | |||
| QRect | clipRect | |||
| ) | [protected, virtual] |
| bool MythUIText::ParseElement | ( | QDomElement & | element | ) | [protected, virtual] |
Reimplemented from MythUIType.
Reimplemented in MythUIClock.
Definition at line 210 of file mythuitext.cpp.
Referenced by MythUIClock::ParseElement().
| void MythUIText::CopyFrom | ( | MythUIType * | base | ) | [protected, virtual] |
Reimplemented from MythUIType.
Reimplemented in MythUIClock.
Definition at line 302 of file mythuitext.cpp.
Referenced by MythUIClock::CopyFrom(), and CreateCopy().
| void MythUIText::CreateCopy | ( | MythUIType * | parent | ) | [protected, virtual] |
Reimplemented from MythUIType.
Reimplemented in MythUIClock.
Definition at line 338 of file mythuitext.cpp.
| void MythUIText::Finalize | ( | void | ) | [protected, virtual] |
int MythUIText::m_Justification [protected] |
Definition at line 50 of file mythuitext.h.
Referenced by CopyFrom(), DrawSelf(), GetJustification(), MythUIText(), ParseElement(), and SetJustification().
QRect MythUIText::m_OrigDisplayRect [protected] |
Definition at line 51 of file mythuitext.h.
Referenced by CopyFrom(), MythUIText(), ParseElement(), and UseAlternateArea().
QRect MythUIText::m_AltDisplayRect [protected] |
Definition at line 52 of file mythuitext.h.
Referenced by CopyFrom(), MythUIText(), ParseElement(), and UseAlternateArea().
QString MythUIText::m_Message [protected] |
Definition at line 54 of file mythuitext.h.
Referenced by CopyFrom(), DrawSelf(), GetText(), MythUIClock::MythUIClock(), MythUIText(), ParseElement(), MythUIClock::Pulse(), and SetText().
QString MythUIText::m_CutMessage [protected] |
Definition at line 55 of file mythuitext.h.
Referenced by CopyFrom(), DrawSelf(), Finalize(), MythUIText(), MythUIClock::Pulse(), SetArea(), SetCutDown(), SetJustification(), SetText(), and UseAlternateArea().
QString MythUIText::m_DefaultMessage [protected] |
Definition at line 56 of file mythuitext.h.
Referenced by CopyFrom(), GetDefaultText(), and MythUIText().
bool MythUIText::m_Cutdown [protected] |
Definition at line 58 of file mythuitext.h.
Referenced by CopyFrom(), DrawSelf(), MythUIText(), ParseElement(), and SetCutDown().
MythFontProperties* MythUIText::m_Font [protected] |
Definition at line 60 of file mythuitext.h.
Referenced by CopyFrom(), DrawSelf(), MythUIText(), ParseElement(), Pulse(), SetFontProperties(), StopCycling(), MythUIClock::~MythUIClock(), and ~MythUIText().
bool MythUIText::m_colorCycling [protected] |
Definition at line 62 of file mythuitext.h.
Referenced by CopyFrom(), CycleColor(), MythUIText(), ParseElement(), Pulse(), and StopCycling().
QColor MythUIText::m_startColor [protected] |
Definition at line 63 of file mythuitext.h.
Referenced by CopyFrom(), CycleColor(), ParseElement(), and StopCycling().
QColor MythUIText::m_endColor [protected] |
Definition at line 63 of file mythuitext.h.
Referenced by CopyFrom(), CycleColor(), and ParseElement().
int MythUIText::m_numSteps [protected] |
Definition at line 64 of file mythuitext.h.
Referenced by CopyFrom(), CycleColor(), ParseElement(), and Pulse().
int MythUIText::m_curStep [protected] |
float MythUIText::curR [protected] |
float MythUIText::curG [protected] |
float MythUIText::curB [protected] |
float MythUIText::incR [protected] |
float MythUIText::incG [protected] |
float MythUIText::incB [protected] |
1.5.5