mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-09-01 18:04:05 +02:00
fix busy indicator and use correct graphics
This commit is contained in:
@@ -65,16 +65,6 @@ Rectangle {
|
|||||||
height: stationListView.height
|
height: stationListView.height
|
||||||
width: stationListView.width
|
width: stationListView.width
|
||||||
|
|
||||||
Image {
|
|
||||||
id: busyIndicator
|
|
||||||
source: "../images/advanced-settings.svg"
|
|
||||||
anchors.centerIn: parent
|
|
||||||
height: defaultFontHeight * 4
|
|
||||||
width: height
|
|
||||||
visible: mainView.loading
|
|
||||||
RotationAnimation { target: busyIndicator; from: 360; to: 0; duration: 1500; running: visible; loops: Animation.Infinite }
|
|
||||||
}
|
|
||||||
|
|
||||||
CoverFlip {
|
CoverFlip {
|
||||||
id: coverView
|
id: coverView
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
@@ -94,6 +84,23 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Image {
|
||||||
|
id: busyIndicator
|
||||||
|
source: "../images/loading-animation.svg"
|
||||||
|
anchors.centerIn: parent
|
||||||
|
height: defaultFontHeight * 4
|
||||||
|
width: height
|
||||||
|
visible: mainView.loading
|
||||||
|
RotationAnimation {
|
||||||
|
target: busyIndicator
|
||||||
|
from: 0
|
||||||
|
to: 360
|
||||||
|
duration: 1500
|
||||||
|
running: true
|
||||||
|
loops: Animation.Infinite
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -170,5 +170,6 @@
|
|||||||
<file>data/qml/DeclarativeHeader.qml</file>
|
<file>data/qml/DeclarativeHeader.qml</file>
|
||||||
<file>data/images/inputfield-border.svg</file>
|
<file>data/images/inputfield-border.svg</file>
|
||||||
<file>data/images/search-box-dismiss-x.svg</file>
|
<file>data/images/search-box-dismiss-x.svg</file>
|
||||||
|
<file>data/images/loading-animation.svg</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
Reference in New Issue
Block a user