4#ifndef QSGSOFTWAREINTERNALRECTANGLENODE_H
5#define QSGSOFTWAREINTERNALRECTANGLENODE_H
18#include <private/qsgadaptationlayer_p.h>
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;
void setBottomRightRadius(qreal radius) override
void setRect(const QRectF &rect) override
void setRadius(qreal radius) override
void setAntialiasing(bool antialiasing) override
void setGradientVertical(bool vertical) override
void resetBottomRightRadius() override
void setTopLeftRadius(qreal radius) override
QSGSoftwareInternalRectangleNode()
void setTopRightRadius(qreal radius) override
void setBottomLeftRadius(qreal radius) override
void setColor(const QColor &color) override
void setGradientStops(const QGradientStops &stops) override
void setPenWidth(qreal width) override
void resetBottomLeftRadius() override
void setPenColor(const QColor &color) override
void setAligned(bool aligned) override
void resetTopLeftRadius() override
void resetTopRightRadius() override
Combined button and popup list for selecting options.