22 #ifndef STATUSBARITEMGROUP_H
23 #define STATUSBARITEMGROUP_H
29 #include <QPropertyAnimation>
30 #include <QGraphicsSceneMouseEvent>
44 void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget);
65 #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
85 void slotChildBoundingRectChanged();
86 void slotFadeAnimationFinished();
87 void slotOverlayAnimationFinished();
88 void slotOverlayAnimValueChanged(
const QVariant& value);
97 QVector<StatusBarItem*> m_items;
99 qreal m_arrowAnimProg;
100 qreal m_overlayOpacity;
104 QPixmap* m_activeBkgPix;
107 QPixmap* m_separatorPix;
111 QPointer<QPropertyAnimation> m_opacityAnimPtr;
112 QPointer<QPropertyAnimation> m_arrowFadeAnimPtr;
113 QPointer<QPropertyAnimation> m_overlayAnimPtr;