Qt 4.8
Public Functions | Public Variables | List of all members
QTileRules Class Reference

Holds the rules used to draw a pixmap or image split into nine segments, similar to [CSS3 border-images](http://www. More...

#include <qdrawutil.h>

Public Functions

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

Public Variables

Qt::TileRule horizontal
 
Qt::TileRule vertical
 

Detailed Description

Holds the rules used to draw a pixmap or image split into nine segments, similar to [CSS3 border-images](http://www.

Since
4.6

w3.org/TR/css3-background/).

\sa Qt::TileRule, QMargins

Definition at line 136 of file qdrawutil.h.

Constructors and Destructors

◆ QTileRules() [1/2]

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

Constructs a QTileRules with the given horizontalRule and verticalRule.

Definition at line 138 of file qdrawutil.h.

139  : horizontal(horizontalRule), vertical(verticalRule) {}
Qt::TileRule vertical
Definition: qdrawutil.h:143
Qt::TileRule horizontal
Definition: qdrawutil.h:142

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

141  : horizontal(rule), vertical(rule) {}
Qt::TileRule vertical
Definition: qdrawutil.h:143
Qt::TileRule horizontal
Definition: qdrawutil.h:142

Properties

◆ horizontal

Qt::TileRule QTileRules::horizontal

Definition at line 142 of file qdrawutil.h.

Referenced by qDrawBorderPixmap().

◆ vertical

Qt::TileRule QTileRules::vertical

Definition at line 143 of file qdrawutil.h.

Referenced by qDrawBorderPixmap().


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