QTileRules 類提供用於將像素圖 (或圖像) 分割成 9 圖塊的規則。 更多...
| 頭: | #include <QTileRules> |
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS Widgets)
target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
| qmake: | QT += widgets |
| QTileRules (Qt::TileRule horizontalRule , Qt::TileRule verticalRule ) | |
| QTileRules (Qt::TileRule rule = Qt::StretchTile) |
分割類似於 CSS3 邊框圖像 .
另請參閱 Qt::TileRule and QMargins .
Constructs a QTileRules with the given horizontalRule and verticalRule .
Constructs a QTileRules with the given rule used for both the horizontal rule and the vertical rule.