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) |
The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.
分割类似于 CSS3 边框图像 .
另请参阅 Qt::TileRule and QMargins .
构造 QTileRules 采用给定 horizontalRule and verticalRule .
构造 QTileRules 采用给定 rule used for both the horizontal rule and the vertical rule.