32 Q_PROPERTY(
int left READ left WRITE setLeft NOTIFY leftBorderChanged FINAL)
33 Q_PROPERTY(
int top READ top WRITE setTop NOTIFY topBorderChanged FINAL)
34 Q_PROPERTY(
int right READ right WRITE setRight NOTIFY rightBorderChanged FINAL)
35 Q_PROPERTY(
int bottom READ bottom WRITE setBottom NOTIFY bottomBorderChanged FINAL)
37 QML_ADDED_IN_VERSION(2, 0)
40 QQuickScaleGrid(QObject *parent=
nullptr);
44 int left()
const {
return _left; }
47 int top()
const {
return _top; }
50 int right()
const {
return _right; }
53 int bottom()
const {
return _bottom; }
58 void leftBorderChanged();
59 void topBorderChanged();
60 void rightBorderChanged();
61 void bottomBorderChanged();
73 QQuickGridScaledImage();
74 QQuickGridScaledImage(
const QQuickGridScaledImage &);
75 QQuickGridScaledImage(QIODevice*);
76 QQuickGridScaledImage &operator=(
const QQuickGridScaledImage &);
79 int gridRight()
const;
81 int gridBottom()
const;
82 QQuickBorderImage::TileMode horizontalTileRule()
const {
return _h; }
83 QQuickBorderImage::TileMode verticalTileRule()
const {
return _v; }
85 QString pixmapUrl()
const;
88 static QQuickBorderImage::TileMode stringToRule(QStringView);
95 QQuickBorderImage::TileMode _h;
96 QQuickBorderImage::TileMode _v;