在本页

BorderStyle QML Type

定义代表的边框样式。更多

Import Statement: import Qt.labs.StyleKit

属性

详细说明

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.