DtkDeclarative  5.6.10
DTK Declarative module
OutsideBoxBorder类 参考

提供一种外边框控件. 更多...

类 OutsideBoxBorder 继承关系图:

属性

real borderWidth
 borderWidth 属性用于表示 OutsideBoxBorder 控件的边框大小。 默认情况下,该值是 1。
 
color color
 color 属性表示外边框的颜色值。默认情况下,该值是 "white"
 
real radius
 radius 属性表示内边框的圆角大小,默认情况下,该大小为 0。
 

详细描述

提供一种外边框控件.

OutsideBoxBorder 控件是一种修饰宿主控件的外边框(外描边)控件,与 InsideBoxBorder 控件相对应, 在设计和美化界面时,离不开好的描边来使宿主控件显得更有层次,更加丰满。
OutsideBoxBorder 的用法如下所示:

Rectangle {
width: 200
height: 200
color: "darkBlue"
radius: 8
anchors.fill: parent
color: "darkCyan"
radius: 8
}
}
提供一种外边框控件.
Definition: OutsideBoxBorder.qml:5
real borderWidth
borderWidth 属性用于表示 OutsideBoxBorder 控件的边框大小。 默认情况下,该值是 1。
Definition: OutsideBoxBorder.qml:8
real radius
radius 属性表示内边框的圆角大小,默认情况下,该大小为 0。
Definition: OutsideBoxBorder.qml:12
color color
color 属性表示外边框的颜色值。默认情况下,该值是 "white"
Definition: OutsideBoxBorder.qml:10

其效果如下图所示:


该类的文档由以下文件生成: