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>.
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 87 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 89 of file qdrawutil.h.

◆ 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 91 of file qdrawutil.h.

Member Data Documentation

◆ horizontal

Qt::TileRule QTileRules::horizontal

Definition at line 93 of file qdrawutil.h.

◆ vertical

Qt::TileRule QTileRules::vertical

Definition at line 94 of file qdrawutil.h.


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