31 void setRect(
const QRectF &rect)
override;
32 void setColor(
const QColor &color)
override;
51 void paint(QPainter *);
56 void paintRectangle(QPainter *painter,
const QRect &rect);
57 void paintRectangleIndividualCorners(QPainter *painter,
const QRect &rect);
58 void generateCornerPixmap();
64 QGradientStops m_stops;
66 qreal m_topLeftRadius;
67 qreal m_topRightRadius;
68 qreal m_bottomLeftRadius;
69 qreal m_bottomRightRadius;
72 QPixmap m_cornerPixmap;
73 qreal m_devicePixelRatio;
76 uint m_cornerPixmapIsDirty : 1;
77 uint m_isTopLeftRadiusSet : 1;
78 uint m_isTopRightRadiusSet : 1;
79 uint m_isBottomLeftRadiusSet : 1;
80 uint m_isBottomRightRadiusSet : 1;