Add nyancache bar.
This commit is contained in:
parent
d87dc4e066
commit
d1e977a23f
|
@ -119,6 +119,15 @@ Slider {
|
||||||
height: parent.height
|
height: parent.height
|
||||||
color: getAppearanceValueForTheme(appearance.themeName,
|
color: getAppearanceValueForTheme(appearance.themeName,
|
||||||
"progressCachedColor")
|
"progressCachedColor")
|
||||||
|
AnimatedImage {
|
||||||
|
visible: fun.nyanCat
|
||||||
|
height: parent.height
|
||||||
|
id: nyancacheimation
|
||||||
|
smooth: false
|
||||||
|
anchors.fill: parent
|
||||||
|
source: "qrc:/icons/nyancache.gif"
|
||||||
|
fillMode: Image.TileHorizontally
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
z: 40
|
z: 40
|
||||||
|
@ -184,6 +193,7 @@ Slider {
|
||||||
paused: progressBar.pressed
|
paused: progressBar.pressed
|
||||||
height: mainWindow.virtualHeight / 28
|
height: mainWindow.virtualHeight / 28
|
||||||
id: nyanimation
|
id: nyanimation
|
||||||
|
smooth: false
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
source: "qrc:/icons/nyancat.gif"
|
source: "qrc:/icons/nyancat.gif"
|
||||||
fillMode: Image.PreserveAspectFit
|
fillMode: Image.PreserveAspectFit
|
||||||
|
|
BIN
src/qml/icons/nyancache.gif
Normal file
BIN
src/qml/icons/nyancache.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 674 B |
|
@ -75,6 +75,7 @@
|
||||||
<file>icons/Niconico/forward.svg</file>
|
<file>icons/Niconico/forward.svg</file>
|
||||||
<file>icons/Niconico/backward.svg</file>
|
<file>icons/Niconico/backward.svg</file>
|
||||||
<file>icons/nyancat.gif</file>
|
<file>icons/nyancat.gif</file>
|
||||||
|
<file>icons/nyancache.gif</file>
|
||||||
<file>icons/rainbow.png</file>
|
<file>icons/rainbow.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
Loading…
Reference in a new issue