QTileRules 结构

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 .

成员函数文档编制

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

Constructs a QTileRules with the given horizontalRule and verticalRule .

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

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