Compare commits
No commits in common. "5240f826c55090f95b5fdc48a1e616e744ae4453" and "7716ab02a6386f92e6957e7ec730df82ce0a2286" have entirely different histories.
5240f826c5
...
7716ab02a6
|
@ -13,13 +13,6 @@ ProgressBar{
|
|||
id:d
|
||||
property real _radius: strokeWidth/2
|
||||
}
|
||||
onIndeterminateChanged:{
|
||||
if(!indeterminate){
|
||||
animator_x.duration = 0
|
||||
rect_progress.x = 0
|
||||
animator_x.duration = 888
|
||||
}
|
||||
}
|
||||
background: Rectangle {
|
||||
implicitWidth: 150
|
||||
implicitHeight: control.strokeWidth
|
||||
|
@ -41,7 +34,6 @@ ProgressBar{
|
|||
radius: d._radius
|
||||
color: control.color
|
||||
PropertyAnimation on x {
|
||||
id:animator_x
|
||||
running: control.indeterminate && control.visible
|
||||
from: -rect_progress.width
|
||||
to:control.width+rect_progress.width
|
||||
|
@ -65,3 +57,4 @@ ProgressBar{
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -19,13 +19,6 @@ ProgressBar{
|
|||
border.color: control.backgroundColor
|
||||
border.width: control.strokeWidth
|
||||
}
|
||||
onIndeterminateChanged:{
|
||||
if(!indeterminate){
|
||||
animator_r.duration = 0
|
||||
layout_item.rotation = 0
|
||||
animator_r.duration = 888
|
||||
}
|
||||
}
|
||||
QtObject{
|
||||
id:d
|
||||
property real _radius: control.width/2-control.strokeWidth/2
|
||||
|
@ -41,9 +34,7 @@ ProgressBar{
|
|||
}
|
||||
}
|
||||
contentItem: Item {
|
||||
id:layout_item
|
||||
RotationAnimation on rotation {
|
||||
id:animator_r
|
||||
running: control.indeterminate && control.visible
|
||||
from: 0
|
||||
to:360
|
||||
|
|
|
@ -13,13 +13,6 @@ ProgressBar{
|
|||
id:d
|
||||
property real _radius: strokeWidth/2
|
||||
}
|
||||
onIndeterminateChanged:{
|
||||
if(!indeterminate){
|
||||
animator_x.duration = 0
|
||||
rect_progress.x = 0
|
||||
animator_x.duration = 888
|
||||
}
|
||||
}
|
||||
background: Rectangle {
|
||||
implicitWidth: 150
|
||||
implicitHeight: control.strokeWidth
|
||||
|
@ -41,7 +34,6 @@ ProgressBar{
|
|||
radius: d._radius
|
||||
color: control.color
|
||||
PropertyAnimation on x {
|
||||
id:animator_x
|
||||
running: control.indeterminate && control.visible
|
||||
from: -rect_progress.width
|
||||
to:control.width+rect_progress.width
|
||||
|
@ -65,3 +57,4 @@ ProgressBar{
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -19,13 +19,6 @@ ProgressBar{
|
|||
border.color: control.backgroundColor
|
||||
border.width: control.strokeWidth
|
||||
}
|
||||
onIndeterminateChanged:{
|
||||
if(!indeterminate){
|
||||
animator_r.duration = 0
|
||||
layout_item.rotation = 0
|
||||
animator_r.duration = 888
|
||||
}
|
||||
}
|
||||
QtObject{
|
||||
id:d
|
||||
property real _radius: control.width/2-control.strokeWidth/2
|
||||
|
@ -41,9 +34,7 @@ ProgressBar{
|
|||
}
|
||||
}
|
||||
contentItem: Item {
|
||||
id:layout_item
|
||||
RotationAnimation on rotation {
|
||||
id:animator_r
|
||||
running: control.indeterminate && control.visible
|
||||
from: 0
|
||||
to:360
|
||||
|
@ -80,3 +71,4 @@ ProgressBar{
|
|||
anchors.centerIn: parent
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue