-
Notifications
You must be signed in to change notification settings - Fork 0
qml BusyIndicator
KerwinKoo edited this page Dec 26, 2015
·
1 revision
用来显示一个等待图元,在进行一些耗时操作时你可以使用它来缓解用户的焦躁情绪。
BusyIndicator 的 running 属性是个布尔值, 为 true
时显示。
该允许你定制 BusyIndicator 。一个转圈圈的动画。
BusyIndicator {
id: busy;
running: true;
anchors.centerIn: parent;
z: 2;
}
虽然 BusyIndicator 只有 running
和 style
两个属性,但它的祖先们有很多属性,上面用到的 anchors
和 z
,都是从 Item 继承来的属性,可以直接使用。