QTileRules 结构

QTileRules 类提供用于将像素图 (或图像) 分割成 9 图块的规则。 更多...

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

This struct was introduced in Qt 4.6.

公共函数

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

详细描述

分割类似于 CSS3 边框图像 .

另请参阅 Qt::TileRule and QMargins .

成员函数文档编制

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

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

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

Constructs a QTileRules with the given horizontalRule and verticalRule .