Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask-vpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vladimir KozLove
bitmask-vpn
Commits
94d6694a
Unverified
Commit
94d6694a
authored
3 years ago
by
Kali Kaneko
Browse files
Options
Downloads
Patches
Plain Diff
[ui] first attempt at animated birds
parent
90cee035
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
gui/components/StatusBox.qml
+7
-1
7 additions, 1 deletion
gui/components/StatusBox.qml
gui/components/VPNState.qml
+2
-2
2 additions, 2 deletions
gui/components/VPNState.qml
gui/gui.qrc
+1
-0
1 addition, 0 deletions
gui/gui.qrc
gui/resources/ravens.gif
+0
-0
0 additions, 0 deletions
gui/resources/ravens.gif
with
10 additions
and
3 deletions
gui/components/StatusBox.qml
+
7
−
1
View file @
94d6694a
...
...
@@ -100,13 +100,19 @@ Item {
height
:
120
}
Image
{
Animated
Image
{
id
:
connectionImage
height
:
160
speed
:
0.8
source
:
"
../resources/icon-noshield.svg
"
anchors.horizontalCenter
:
parent
.
horizontalCenter
fillMode
:
Image
.
PreserveAspectFit
onStatusChanged
:
playing
=
(
status
==
AnimatedImage
.
Ready
)
}
// TODO this can be synced with opacity serial animation, see
// https://doc.qt.io/qt-5/qml-qtquick-animatedimage.html#example-usage
// If you want to customize your asset, here's how:
// convert -delay 50 -loop 0 ravens2_*.png ravens.gif
VerticalSpacer
{
id
:
spacerPostImg
...
...
This diff is collapsed.
Click to expand it.
gui/components/VPNState.qml
+
2
−
2
View file @
94d6694a
...
...
@@ -31,7 +31,7 @@ StateGroup {
}
PropertyChanges
{
target
:
connectionImage
source
:
"
../resources/ravens.
svg
"
source
:
"
../resources/ravens.
gif
"
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
PropertyChanges
{
...
...
@@ -130,7 +130,7 @@ StateGroup {
}
PropertyChanges
{
target
:
connectionImage
source
:
"
../resources/ravens.
svg
"
source
:
"
../resources/ravens.
gif
"
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
PropertyChanges
{
...
...
This diff is collapsed.
Click to expand it.
gui/gui.qrc
+
1
−
0
View file @
94d6694a
...
...
@@ -53,6 +53,7 @@
<file>resources/arrow-left.svg</file>
<file>resources/globe.svg</file>
<file>resources/ravens.svg</file>
<file>resources/ravens.gif</file>
<file>resources/riseup-icon.svg</file>
<file>resources/spy.gif</file>
<file>resources/quit.svg</file>
...
...
This diff is collapsed.
Click to expand it.
gui/resources/ravens.gif
0 → 100644
+
0
−
0
View file @
94d6694a
1.86 KiB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment