|
MythTV
0.26-pre
|
Simplified text widget, displays a text string. More...
#include <mythuisimpletext.h>
Public Member Functions | |
| MythUISimpleText (MythUIType *parent, const QString &name) | |
| MythUISimpleText (const QString &text, const MythFontProperties &font, const QRect &rect, Qt::Alignment align, MythUIType *parent, const QString &name) | |
| ~MythUISimpleText () | |
Protected Member Functions | |
| virtual void | DrawSelf (MythPainter *p, int xoffset, int yoffset, int alphaMod, QRect clipRect) |
| virtual void | CopyFrom (MythUIType *base) |
| Copy this widgets state from another. | |
| virtual void | CreateCopy (MythUIType *parent) |
| Copy the state of this widget to the one given, it must be of the same type. | |
Protected Attributes | |
| Qt::Alignment | m_Justification |
| MythFontProperties | m_Font |
| QString | m_Message |
Simplified text widget, displays a text string.
Font and alignment may be applied to the text in this widget.
Definition at line 25 of file mythuisimpletext.h.
| MythUISimpleText::MythUISimpleText | ( | MythUIType * | parent, |
| const QString & | name | ||
| ) |
Definition at line 20 of file mythuisimpletext.cpp.
Referenced by CreateCopy().
| MythUISimpleText::MythUISimpleText | ( | const QString & | text, |
| const MythFontProperties & | font, | ||
| const QRect & | rect, | ||
| Qt::Alignment | align, | ||
| MythUIType * | parent, | ||
| const QString & | name | ||
| ) |
Definition at line 26 of file mythuisimpletext.cpp.
Definition at line 39 of file mythuisimpletext.cpp.
| void MythUISimpleText::DrawSelf | ( | MythPainter * | p, |
| int | xoffset, | ||
| int | yoffset, | ||
| int | alphaMod, | ||
| QRect | clipRect | ||
| ) | [protected, virtual] |
Reimplemented from MythUIType.
Definition at line 43 of file mythuisimpletext.cpp.
| void MythUISimpleText::CopyFrom | ( | MythUIType * | base | ) | [protected, virtual] |
Copy this widgets state from another.
Reimplemented from MythUIType.
Definition at line 54 of file mythuisimpletext.cpp.
Referenced by CreateCopy().
| void MythUISimpleText::CreateCopy | ( | MythUIType * | parent | ) | [protected, virtual] |
Copy the state of this widget to the one given, it must be of the same type.
Reimplemented from MythUIType.
Definition at line 71 of file mythuisimpletext.cpp.
Qt::Alignment MythUISimpleText::m_Justification [protected] |
Definition at line 41 of file mythuisimpletext.h.
Referenced by CopyFrom(), and DrawSelf().
MythFontProperties MythUISimpleText::m_Font [protected] |
Definition at line 42 of file mythuisimpletext.h.
Referenced by CopyFrom(), DrawSelf(), and MythUISimpleText().
QString MythUISimpleText::m_Message [protected] |
Definition at line 43 of file mythuisimpletext.h.
Referenced by CopyFrom(), and DrawSelf().
1.7.6.1