64 return m_topBarStatusBarMiddlePoint + m_topBarStatusBarMiddle.
rect().
bottomLeft();
79 void setDefaultSizes();
98 QPixmap m_topBarStatusBarMiddle;
101 QPoint m_topBarUserIconPoint;
102 QPoint m_topBarUserStatusPoint;
103 QPoint m_topBarStatusBarLeftPoint;
104 QPoint m_topBarStatusBarRightPoint;
105 QPoint m_topBarStatusBarMiddlePoint;
106 QPoint m_topBarStatusBarTextPoint;
107 QPoint m_topBarTitlePoint;
The QFont class specifies a query for a font used for drawing text.
QGraphicsObject * parent
the parent of the item
The QGraphicsSceneMouseEvent class provides mouse events in the graphics view framework.
The QGraphicsSceneResizeEvent class provides events for widget resizing in the graphics view framewor...
The QGraphicsView class provides a widget for displaying the contents of a QGraphicsScene.
The QPainter class performs low-level painting on widgets and other paint devices.
The QPixmap class is an off-screen image representation that can be used as a paint device.
The QPoint class defines a point in the plane using integer precision.
The QRectF class defines a finite rectangle in the plane using floating point precision.
constexpr QPoint bottomLeft() const noexcept
The QSizeF class defines the size of a two-dimensional object using floating point precision.
The QStyleOptionGraphicsItem class is used to describe the parameters needed to draw a QGraphicsItem.
QRectF boundingRect() const
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
void resizeEvent(QGraphicsSceneResizeEvent *event)
void mousePressEvent(QGraphicsSceneMouseEvent *event)
QPoint getStatusBarLocation()
void clicked(bool checked=false)
TopBar(QGraphicsView *mainView, QGraphicsWidget *parent)
#define Q_DISABLE_COPY(Class)