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
QTileRules Class Reference

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

#include <qdrawutil.h>

Collaboration diagram for 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 88 of file qdrawutil.h.

Constructor & Destructor Documentation

◆ QTileRules() [1/2]

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

Constructs a QTileRules with the given horizontalRule and verticalRule.

Definition at line 90 of file qdrawutil.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]

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 92 of file qdrawutil.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 QTileRules::horizontal

Definition at line 94 of file qdrawutil.h.

◆ vertical

Qt::TileRule QTileRules::vertical

Definition at line 95 of file qdrawutil.h.


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