本页内容

BorderStyle QML Type

定义委托的边框样式。更多...

Import Statement: import Qt.labs.StyleKit
Status: Technology preview

此类型处于技术预览阶段,可能会有变动。

属性

详细说明

BorderStyle 提供了用于绘制DelegateStyle 周围边框的属性。它作为border 分组属性,可在任何委托上使用。

注意: Qt.labs 模块中的类型在未来版本中无法保证保持兼容性。

另请参阅 DelegateStyle 、ControlStyle 、ControlStateStyle 以及FallbackStyle 参考文档。

属性文档

color : color

边框的颜色。默认值为transparent 。

width : real

边框的宽度(以像素为单位)。

© 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.