UIRichTextType Class Reference

#include <uitypes.h>

Inheritance diagram for UIRichTextType:

UIType

List of all members.


Detailed Description

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
fontPropm_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

Constructor & Destructor Documentation

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.


Member Function Documentation

QString UIRichTextType::Name (  )  [inline]

Reimplemented from UIType.

Definition at line 825 of file uitypes.h.

void UIRichTextType::SetText ( const QString &  text  ) 

QString UIRichTextType::GetText (  )  [inline]

Definition at line 828 of file uitypes.h.

QRect UIRichTextType::DisplayArea (  )  [inline]

Definition at line 830 of file uitypes.h.

void UIRichTextType::SetDisplayArea ( const QRect &  rect  )  [inline]

Definition at line 831 of file uitypes.h.

void UIRichTextType::SetShowScrollArrows ( bool  bShowArrows  )  [inline]

Definition at line 832 of file uitypes.h.

Referenced by XMLParse::parseRichTextArea().

QRect UIRichTextType::TextArea (  )  [inline]

Definition at line 835 of file uitypes.h.

void UIRichTextType::SetTextArea ( const QRect &  rect  )  [inline]

Definition at line 836 of file uitypes.h.

void UIRichTextType::SetImageUpArrowReg ( QPixmap  img,
QPoint  loc 
) [inline]

Definition at line 838 of file uitypes.h.

Referenced by XMLParse::parseRichTextArea().

void UIRichTextType::SetImageDnArrowReg ( QPixmap  img,
QPoint  loc 
) [inline]

Definition at line 840 of file uitypes.h.

Referenced by XMLParse::parseRichTextArea().

void UIRichTextType::SetImageUpArrowSel ( QPixmap  img,
QPoint  loc 
) [inline]

Definition at line 842 of file uitypes.h.

Referenced by XMLParse::parseRichTextArea().

void UIRichTextType::SetImageDnArrowSel ( QPixmap  img,
QPoint  loc 
) [inline]

Definition at line 844 of file uitypes.h.

Referenced by XMLParse::parseRichTextArea().

void UIRichTextType::SetBackground ( QPixmap *  background  ) 

void UIRichTextType::SetBackgroundImages ( QString  bgImageReg,
QString  bgImageSel 
)

Definition at line 2650 of file uitypes.cpp.

Referenced by XMLParse::parseRichTextArea().

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]

Reimplemented from UIType.

Definition at line 2736 of file uitypes.cpp.

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]

Reimplemented from UIType.

Definition at line 2819 of file uitypes.cpp.

void UIRichTextType::looseFocus (  )  [virtual, slot]

Reimplemented from UIType.

Definition at line 2829 of file uitypes.cpp.

void UIRichTextType::refreshImage (  )  [protected]

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().


Member Data Documentation

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]

int UIRichTextType::m_yPos [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().

Definition at line 877 of file uitypes.h.

Referenced by refreshImage(), and UIRichTextType().

QPixmap* UIRichTextType::m_background [protected]

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]

Definition at line 884 of file uitypes.h.

Referenced by loadBackgroundImg(), and UIRichTextType().

QImage* UIRichTextType::m_backgroundImage [protected]

Definition at line 885 of file uitypes.h.

Referenced by loadBackgroundImg(), UIRichTextType(), updateBackground(), and ~UIRichTextType().

Definition at line 887 of file uitypes.h.

Referenced by Draw(), refreshImage(), and UIRichTextType().

Definition at line 888 of file uitypes.h.

Referenced by Draw(), refreshImage(), and SetText().

Definition at line 889 of file uitypes.h.

Referenced by Draw(), and refreshImage().

QPoint UIRichTextType::m_upArrowRegPos [protected]

Definition at line 891 of file uitypes.h.

Referenced by Draw().

QPoint UIRichTextType::m_dnArrowRegPos [protected]

Definition at line 892 of file uitypes.h.

Referenced by Draw().

QPoint UIRichTextType::m_upArrowSelPos [protected]

Definition at line 893 of file uitypes.h.

Referenced by Draw().

QPoint UIRichTextType::m_dnArrowSelPos [protected]

Definition at line 894 of file uitypes.h.

Referenced by Draw().

QPixmap UIRichTextType::m_upArrowReg [protected]

Definition at line 896 of file uitypes.h.

Referenced by Draw().

QPixmap UIRichTextType::m_dnArrowReg [protected]

Definition at line 897 of file uitypes.h.

Referenced by Draw().

QPixmap UIRichTextType::m_upArrowSel [protected]

Definition at line 898 of file uitypes.h.

Referenced by Draw().

QPixmap UIRichTextType::m_dnArrowSel [protected]

Definition at line 899 of file uitypes.h.

Referenced by Draw().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:13 2010 for MythTV by  doxygen 1.5.5