Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQC2::QTileRules Class Reference

The QTileRules class provides the rules used to draw a pixmap or image split into nine segments. More...

#include <qquickdrawutil.h>

Collaboration diagram for QQC2::QTileRules:

Public Member Functions

 QTileRules (Qt::TileRule horizontalRule, Qt::TileRule verticalRule)
 Constructs a QTileRules with the given horizontalRule and verticalRule.
 QTileRules (Qt::TileRule rule=Qt::StretchTile)
 Constructs a QTileRules with the given rule used for both the horizontal rule and the vertical rule.

Public Attributes

Qt::TileRule horizontal
Qt::TileRule vertical

Detailed Description

The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.

Since
4.6

\inmodule QtWidgets

Spliiting is similar to \l{http://www.w3.org/TR/css3-background/}{CSS3 border-images}.

See also
Qt::TileRule, QMargins

Definition at line 79 of file qquickdrawutil.h.

Constructor & Destructor Documentation

◆ QTileRules() [1/2]

QQC2::QTileRules::QTileRules ( Qt::TileRule horizontalRule,
Qt::TileRule verticalRule )
inline

Constructs a QTileRules with the given horizontalRule and verticalRule.

Definition at line 81 of file qquickdrawutil.h.

References QTileRules().

Referenced by QTileRules().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ QTileRules() [2/2]

QQC2::QTileRules::QTileRules ( Qt::TileRule rule = Qt::StretchTile)
inline

Constructs a QTileRules with the given rule used for both the horizontal rule and the vertical rule.

Definition at line 83 of file qquickdrawutil.h.

References QTileRules().

Referenced by QTileRules().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ horizontal

Qt::TileRule QQC2::QTileRules::horizontal

Definition at line 85 of file qquickdrawutil.h.

◆ vertical

Qt::TileRule QQC2::QTileRules::vertical

Definition at line 86 of file qquickdrawutil.h.


The documentation for this class was generated from the following files: