#include <uitypes.h>

Definition at line 816 of file uitypes.h.
Public Slots | |
| void | ScrollDown (void) |
| void | ScrollUp (void) |
| void | ScrollPageDown (void) |
| void | ScrollPageUp (void) |
| virtual bool | takeFocus () |
| virtual void | looseFocus () |
Public Member Functions | |
| UIRichTextType (const QString &, fontProp *, const QString &, int, QRect displayrect, QRect textrect) | |
| ~UIRichTextType () | |
| QString | Name () |
| void | SetText (const QString &text) |
| QString | GetText () |
| QRect | DisplayArea () |
| void | SetDisplayArea (const QRect &rect) |
| void | SetShowScrollArrows (bool bShowArrows) |
| QRect | TextArea () |
| void | SetTextArea (const QRect &rect) |
| void | SetImageUpArrowReg (QPixmap img, QPoint loc) |
| void | SetImageDnArrowReg (QPixmap img, QPoint loc) |
| void | SetImageUpArrowSel (QPixmap img, QPoint loc) |
| void | SetImageDnArrowSel (QPixmap img, QPoint loc) |
| void | SetBackground (QPixmap *background) |
| void | SetBackgroundImages (QString bgImageReg, QString bgImageSel) |
| virtual void | calculateScreenArea () |
| virtual void | Draw (QPainter *, int, int) |
Protected Member Functions | |
| void | refreshImage () |
| void | updateBackground () |
| void | loadBackgroundImg (bool &changed) |
Protected Attributes | |
| QRect | m_displayArea |
| QRect | m_textArea |
| int | m_yPos |
| int | m_textHeight |
| QString | m_message |
| QString | m_bgImageReg |
| QString | m_bgImageSel |
| fontProp * | m_font |
| QPixmap * | m_background |
| QPixmap * | m_compBackground |
| QPixmap * | m_image |
| QString | m_backgroundFile |
| QImage * | m_backgroundImage |
| bool | m_showScrollArrows |
| bool | m_showUpArrow |
| bool | m_showDnArrow |
| QPoint | m_upArrowRegPos |
| QPoint | m_dnArrowRegPos |
| QPoint | m_upArrowSelPos |
| QPoint | m_dnArrowSelPos |
| QPixmap | m_upArrowReg |
| QPixmap | m_dnArrowReg |
| QPixmap | m_upArrowSel |
| QPixmap | m_dnArrowSel |
| UIRichTextType::UIRichTextType | ( | const QString & | name, | |
| fontProp * | font, | |||
| const QString & | text, | |||
| int | dorder, | |||
| QRect | displayrect, | |||
| QRect | textrect | |||
| ) |
Definition at line 2594 of file uitypes.cpp.
| UIRichTextType::~UIRichTextType | ( | ) |
Definition at line 2623 of file uitypes.cpp.
| QString UIRichTextType::Name | ( | ) | [inline] |
| void UIRichTextType::SetText | ( | const QString & | text | ) |
Definition at line 2638 of file uitypes.cpp.
Referenced by XMLParse::parseRichTextArea(), ProgDetails::ProgDetails(), and ProgDetails::setDetails().
| void UIRichTextType::SetDisplayArea | ( | const QRect & | rect | ) | [inline] |
| void UIRichTextType::SetShowScrollArrows | ( | bool | bShowArrows | ) | [inline] |
| void UIRichTextType::SetTextArea | ( | const QRect & | rect | ) | [inline] |
| void UIRichTextType::SetImageUpArrowReg | ( | QPixmap | img, | |
| QPoint | loc | |||
| ) | [inline] |
| void UIRichTextType::SetImageDnArrowReg | ( | QPixmap | img, | |
| QPoint | loc | |||
| ) | [inline] |
| void UIRichTextType::SetImageUpArrowSel | ( | QPixmap | img, | |
| QPoint | loc | |||
| ) | [inline] |
| void UIRichTextType::SetImageDnArrowSel | ( | QPixmap | img, | |
| QPoint | loc | |||
| ) | [inline] |
| void UIRichTextType::SetBackground | ( | QPixmap * | background | ) |
Definition at line 2660 of file uitypes.cpp.
Referenced by ProgDetails::ProgDetails(), and SevereWeatherScreen::SevereWeatherScreen().
| void UIRichTextType::SetBackgroundImages | ( | QString | bgImageReg, | |
| QString | bgImageSel | |||
| ) |
| void UIRichTextType::calculateScreenArea | ( | void | ) | [virtual] |
Reimplemented from UIType.
Definition at line 2762 of file uitypes.cpp.
Referenced by XMLParse::parseRichTextArea().
| void UIRichTextType::Draw | ( | QPainter * | dr, | |
| int | drawlayer, | |||
| int | context | |||
| ) | [virtual] |
| void UIRichTextType::ScrollDown | ( | void | ) | [slot] |
Definition at line 2782 of file uitypes.cpp.
Referenced by SevereWeatherScreen::handleKey(), and ProgDetails::keyPressEvent().
| void UIRichTextType::ScrollUp | ( | void | ) | [slot] |
Definition at line 2770 of file uitypes.cpp.
Referenced by SevereWeatherScreen::handleKey(), and ProgDetails::keyPressEvent().
| void UIRichTextType::ScrollPageDown | ( | void | ) | [slot] |
Definition at line 2807 of file uitypes.cpp.
Referenced by SevereWeatherScreen::handleKey(), and ProgDetails::keyPressEvent().
| void UIRichTextType::ScrollPageUp | ( | void | ) | [slot] |
Definition at line 2795 of file uitypes.cpp.
Referenced by SevereWeatherScreen::handleKey(), and ProgDetails::keyPressEvent().
| bool UIRichTextType::takeFocus | ( | ) | [virtual, slot] |
| void UIRichTextType::looseFocus | ( | ) | [virtual, slot] |
| void UIRichTextType::refreshImage | ( | ) | [protected] |
Definition at line 2700 of file uitypes.cpp.
Referenced by ScrollDown(), ScrollPageDown(), ScrollPageUp(), ScrollUp(), SetText(), and updateBackground().
| void UIRichTextType::updateBackground | ( | void | ) | [protected] |
Definition at line 2690 of file uitypes.cpp.
Referenced by looseFocus(), SetBackground(), SetBackgroundImages(), and takeFocus().
| void UIRichTextType::loadBackgroundImg | ( | bool & | changed | ) | [protected] |
Definition at line 2668 of file uitypes.cpp.
Referenced by looseFocus(), SetBackgroundImages(), and takeFocus().
QRect UIRichTextType::m_displayArea [protected] |
Definition at line 867 of file uitypes.h.
Referenced by calculateScreenArea(), Draw(), refreshImage(), SetBackground(), and UIRichTextType().
QRect UIRichTextType::m_textArea [protected] |
Definition at line 868 of file uitypes.h.
Referenced by refreshImage(), ScrollDown(), ScrollPageDown(), ScrollPageUp(), ScrollUp(), and UIRichTextType().
int UIRichTextType::m_yPos [protected] |
Definition at line 870 of file uitypes.h.
Referenced by refreshImage(), ScrollDown(), ScrollPageDown(), ScrollPageUp(), ScrollUp(), SetText(), and UIRichTextType().
int UIRichTextType::m_textHeight [protected] |
Definition at line 871 of file uitypes.h.
Referenced by refreshImage(), ScrollDown(), ScrollPageDown(), ScrollPageUp(), and ScrollUp().
QString UIRichTextType::m_message [protected] |
Definition at line 873 of file uitypes.h.
Referenced by refreshImage(), SetText(), and UIRichTextType().
QString UIRichTextType::m_bgImageReg [protected] |
Definition at line 874 of file uitypes.h.
Referenced by loadBackgroundImg(), SetBackgroundImages(), and UIRichTextType().
QString UIRichTextType::m_bgImageSel [protected] |
Definition at line 875 of file uitypes.h.
Referenced by loadBackgroundImg(), SetBackgroundImages(), and UIRichTextType().
fontProp* UIRichTextType::m_font [protected] |
QPixmap* UIRichTextType::m_background [protected] |
Definition at line 879 of file uitypes.h.
Referenced by refreshImage(), SetBackground(), UIRichTextType(), updateBackground(), and ~UIRichTextType().
QPixmap* UIRichTextType::m_compBackground [protected] |
Definition at line 880 of file uitypes.h.
Referenced by refreshImage(), UIRichTextType(), updateBackground(), and ~UIRichTextType().
QPixmap* UIRichTextType::m_image [protected] |
Definition at line 882 of file uitypes.h.
Referenced by Draw(), refreshImage(), UIRichTextType(), and ~UIRichTextType().
QString UIRichTextType::m_backgroundFile [protected] |
QImage* UIRichTextType::m_backgroundImage [protected] |
Definition at line 885 of file uitypes.h.
Referenced by loadBackgroundImg(), UIRichTextType(), updateBackground(), and ~UIRichTextType().
bool UIRichTextType::m_showScrollArrows [protected] |
Definition at line 887 of file uitypes.h.
Referenced by Draw(), refreshImage(), and UIRichTextType().
bool UIRichTextType::m_showUpArrow [protected] |
bool UIRichTextType::m_showDnArrow [protected] |
QPoint UIRichTextType::m_upArrowRegPos [protected] |
QPoint UIRichTextType::m_dnArrowRegPos [protected] |
QPoint UIRichTextType::m_upArrowSelPos [protected] |
QPoint UIRichTextType::m_dnArrowSelPos [protected] |
QPixmap UIRichTextType::m_upArrowReg [protected] |
QPixmap UIRichTextType::m_dnArrowReg [protected] |
QPixmap UIRichTextType::m_upArrowSel [protected] |
QPixmap UIRichTextType::m_dnArrowSel [protected] |
1.5.5