KGamePopupItemPrivate Class Reference

Collaboration diagram for KGamePopupItemPrivate:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 KGamePopupItemPrivate ()

Public Attributes

QTimeLine m_timeLine
 Timeline for animations.
QTimer m_timer
 Timer used to start hiding.
QRectF m_boundRect
 Holds bounding rect of an item.
KGamePopupItem::Position m_position
 Position where item will appear.
int m_timeout
 Timeout to stay visible on screen.
qreal m_opacity
 Item opacity.
qreal m_animOpacity
 Opacity used while animating appearing in center.
QPixmap m_iconPix
 Pixmap to display at the left of the text.
bool m_hoveredByMouse
 Set to true when mouse hovers the message.
TextItemWithOpacitym_textChildItem
 Child of KGamePopupItem used to display text.
QRectF m_visibleSceneRect
 Part of the scene that is actually visible in QGraphicsView This is needed for item to work correctly when scene is larger than the View.
KStatefulBrush m_brush
 Background brush color.
KGamePopupItem::Sharpness m_sharpness
 popup angles sharpness
QPainterPath m_path
 painter path to draw a frame


Detailed Description

Definition at line 62 of file kgamepopupitem.cpp.


Constructor & Destructor Documentation

KGamePopupItemPrivate::KGamePopupItemPrivate (  )  [inline]

Definition at line 68 of file kgamepopupitem.cpp.


Member Data Documentation

QTimeLine KGamePopupItemPrivate::m_timeLine

Timeline for animations.

Definition at line 75 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::forceHide(), KGamePopupItem::KGamePopupItem(), and KGamePopupItem::showMessage().

QTimer KGamePopupItemPrivate::m_timer

Timer used to start hiding.

Definition at line 79 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::forceHide(), KGamePopupItem::KGamePopupItem(), and KGamePopupItem::showMessage().

QRectF KGamePopupItemPrivate::m_boundRect

Holds bounding rect of an item.

Definition at line 83 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::boundingRect(), KGamePopupItem::paint(), and KGamePopupItem::showMessage().

KGamePopupItem::Position KGamePopupItemPrivate::m_position

Position where item will appear.

Definition at line 87 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::showMessage().

int KGamePopupItemPrivate::m_timeout

Timeout to stay visible on screen.

Definition at line 91 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::messageTimeout(), KGamePopupItem::setMessageTimeout(), and KGamePopupItem::showMessage().

qreal KGamePopupItemPrivate::m_opacity

Item opacity.

Definition at line 95 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::messageOpacity(), KGamePopupItem::paint(), and KGamePopupItem::setMessageOpacity().

qreal KGamePopupItemPrivate::m_animOpacity

Opacity used while animating appearing in center.

Definition at line 99 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::paint().

QPixmap KGamePopupItemPrivate::m_iconPix

Pixmap to display at the left of the text.

Definition at line 103 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::paint(), KGamePopupItem::setMessageIcon(), and KGamePopupItem::showMessage().

bool KGamePopupItemPrivate::m_hoveredByMouse

Set to true when mouse hovers the message.

Definition at line 107 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::forceHide().

TextItemWithOpacity* KGamePopupItemPrivate::m_textChildItem

Child of KGamePopupItem used to display text.

Definition at line 111 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::KGamePopupItem(), KGamePopupItem::setMessageIcon(), KGamePopupItem::setMessageOpacity(), KGamePopupItem::setTextColor(), and KGamePopupItem::showMessage().

QRectF KGamePopupItemPrivate::m_visibleSceneRect

Part of the scene that is actually visible in QGraphicsView This is needed for item to work correctly when scene is larger than the View.

Definition at line 117 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::showMessage().

KStatefulBrush KGamePopupItemPrivate::m_brush

Background brush color.

Definition at line 121 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::KGamePopupItem(), KGamePopupItem::paint(), KGamePopupItem::setBackgroundBrush(), and KGamePopupItem::setTextColor().

KGamePopupItem::Sharpness KGamePopupItemPrivate::m_sharpness

popup angles sharpness

Definition at line 125 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::setSharpness(), KGamePopupItem::sharpness(), and KGamePopupItem::showMessage().

QPainterPath KGamePopupItemPrivate::m_path

painter path to draw a frame

Definition at line 129 of file kgamepopupitem.cpp.

Referenced by KGamePopupItem::paint(), and KGamePopupItem::showMessage().


The documentation for this class was generated from the following file:
Generated on Sun Mar 16 08:03:20 2008 for Libkdegames by  doxygen 1.5.3