このページでは

QTileRules Struct

QTileRules クラスは、ピクマップや画像を 9 つのセグメントに分割して描画するために使用されるルールを提供します。詳細...

ヘッダー: #include <QTileRules>
CMake: find_package(Qt6 REQUIRED COMPONENTS Widgets)
target_link_libraries(mytarget PRIVATE Qt6::Widgets)
qmake: QT += widgets

パブリック関数

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

詳細な説明

分割は、CSS3のborder-imagesに似ています。

Qt::TileRule およびQMarginsも参照してください 。

メンバー関数のドキュメント

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

指定されたrule を使用して、水平線と垂直線の両方に適用されるQTileRulesを作成します。

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

指定されたhorizontalRule およびverticalRule を使用して、QTileRulesを構築します。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.