
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. | |
| TextItemWithOpacity * | m_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 | |
Definition at line 62 of file kgamepopupitem.cpp.
| KGamePopupItemPrivate::KGamePopupItemPrivate | ( | ) | [inline] |
Definition at line 68 of file kgamepopupitem.cpp.
| QTimeLine KGamePopupItemPrivate::m_timeLine |
Timeline for animations.
Definition at line 75 of file kgamepopupitem.cpp.
Referenced by KGamePopupItem::forceHide(), KGamePopupItem::KGamePopupItem(), and KGamePopupItem::showMessage().
Timer used to start hiding.
Definition at line 79 of file kgamepopupitem.cpp.
Referenced by KGamePopupItem::forceHide(), KGamePopupItem::KGamePopupItem(), and KGamePopupItem::showMessage().
Holds bounding rect of an item.
Definition at line 83 of file kgamepopupitem.cpp.
Referenced by KGamePopupItem::boundingRect(), KGamePopupItem::paint(), and KGamePopupItem::showMessage().
Position where item will appear.
Definition at line 87 of file kgamepopupitem.cpp.
Referenced by KGamePopupItem::showMessage().
Timeout to stay visible on screen.
Definition at line 91 of file kgamepopupitem.cpp.
Referenced by KGamePopupItem::messageTimeout(), KGamePopupItem::setMessageTimeout(), and KGamePopupItem::showMessage().
Item opacity.
Definition at line 95 of file kgamepopupitem.cpp.
Referenced by KGamePopupItem::messageOpacity(), KGamePopupItem::paint(), and KGamePopupItem::setMessageOpacity().
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().
Set to true when mouse hovers the message.
Definition at line 107 of file kgamepopupitem.cpp.
Referenced by KGamePopupItem::forceHide().
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().
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().
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().
1.5.3