QTileRules Class

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

头: #include <QTileRules>
qmake: QT += widgets
Since: Qt 4.6

公共函数

QTileRules (Qt::TileRule horizontalRule , Qt::TileRule verticalRule )
QTileRules (Qt::TileRule rule = Qt::StretchTile)

公共变量

Qt::TileRule horizontal
Qt::TileRule vertical

详细描述

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

分割类似于 CSS3 边框图像 .

另请参阅 Qt::TileRule and QMargins .

成员函数文档编制

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

构造 QTileRules 采用给定 horizontalRule and verticalRule .

QTileRules:: QTileRules ( Qt::TileRule rule = Qt::StretchTile)

构造 QTileRules 采用给定 rule used for both the horizontal rule and the vertical rule.