Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
The QTileRules class provides the rules used to draw a pixmap or image split into nine segments. More...
#include <qdrawutil.h>
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 |
The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.
\inmodule QtWidgets
Spliiting is similar to \l{http://www.w3.org/TR/css3-background/}{CSS3 border-images}.
Definition at line 87 of file qdrawutil.h.
|
inline |
Constructs a QTileRules with the given horizontalRule and verticalRule.
Definition at line 89 of file qdrawutil.h.
|
inline |
Constructs a QTileRules with the given rule used for both the horizontal rule and the vertical rule.
Definition at line 91 of file qdrawutil.h.
Qt::TileRule QTileRules::horizontal |
Definition at line 93 of file qdrawutil.h.
Qt::TileRule QTileRules::vertical |
Definition at line 94 of file qdrawutil.h.