Qt 4.6: QTileRules Class Reference

|  | Home · All Classes · Overviews |

# QTileRules Class Reference
[QtGui module]

     #include <QTileRules>

This class was introduced in Qt 4.6.

- List of all members, including inherited members

## Public Functions

| QTileRules ( Qt::TileRule horizontalRule, Qt::TileRule verticalRule = Qt::Stretch )
| QTileRules ( Qt::TileRule rule = Qt::Stretch )

## Detailed Description

Holds the rules used to draw a pixmap or image split into nine segments, similar to CSS3 border-images.

See also Qt::TileRule and QMargins.

## Member Function Documentation

### QTileRules::QTileRules ( Qt::TileRule horizontalRule, Qt::TileRule verticalRule = Qt::Stretch )

Constructs a QTileRules with the given horizontalRule and verticalRule.

### QTileRules::QTileRules ( Qt::TileRule rule = Qt::Stretch )

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