Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
glacier-home
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
glacier-home
Commits
22a9ece3
Commit
22a9ece3
authored
Oct 14, 2014
by
Aleksi Suomalainen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[system] Shutdown screen.
parent
2343f3db
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
3 deletions
+41
-3
ShutdownScreen.qml
src/qml/ShutdownScreen.qml
+24
-0
src.pro
src/src.pro
+17
-3
No files found.
src/qml/ShutdownScreen.qml
0 → 100644
View file @
22a9ece3
import
QtQuick
2.0
import
QtQuick
.
Window
2.0
import
org
.
nemomobile
.
lipstick
0.1
Rectangle
{
id
:
shutdownWindow
width
:
Screen
.
width
height
:
Screen
.
height
color
:
"
black
"
property
bool
shouldVisible
opacity
:
shutdownScreen
.
windowVisible
Image
{
anchors.centerIn
:
parent
source
:
shutdownMode
?
""
:
"
image://theme/graphic-shutdown-logo
"
}
Behavior
on
opacity
{
NumberAnimation
{
duration
:
500
onRunningChanged
:
if
(
!
running
&&
shutdownWindow
.
opacity
==
0
)
shutdownScreen
.
windowVisible
=
false
}
}
}
src/src.pro
View file @
22a9ece3
...
...
@@ -33,7 +33,8 @@ qml.files = qml/MainScreen.qml \
qml
/
Pager
.
qml
\
qml
/
VolumeControl
.
qml
\
qml
/
BatteryPanel
.
qml
\
qml
/
CommonPanel
.
qml
qml
/
CommonPanel
.
qml
\
qml
/
ShutdownScreen
.
qml
qmlcompositor
.
path
=
/
usr
/
share
/
lipstick
-
glacier
-
home
-
qt5
/
qml
/
compositor
qmlcompositor
.
files
=
qml
/
compositor
/
WindowWrapperMystic
.
qml
\
...
...
@@ -44,7 +45,19 @@ qmlcompositor.files = qml/compositor/WindowWrapperMystic.qml \
scripts
.
path
=
/
usr
/
share
/
lipstick
-
glacier
-
home
-
qt5
/
qml
/
scripts
scripts
.
files
=
qml
/
scripts
/
desktop
.
js
INSTALLS
+=
styles
qml
qmlcompositor
scripts
system
.
path
=
/
usr
/
share
/
lipstick
-
glacier
-
home
-
qt5
/
qml
/
system
system
.
files
=
qml
/
ShutdownScreen
.
qml
volumecontrol
.
path
=
/
usr
/
share
/
lipstick
-
glacier
-
home
-
qt5
/
qml
/
volumecontrol
volumecontrol
.
files
=
qml
/
VolumeControl
.
qml
connectivity
.
path
=
/
usr
/
share
/
lipstick
-
glacier
-
home
-
qt5
/
qml
/
connectivity
connectivity
.
files
=
qml
/
USBModeSelector
.
qml
notifications
.
path
=
/
usr
/
share
/
lipstick
-
glacier
-
home
-
qt5
/
qml
/
notifications
notifications
.
files
=
qml
/
NotificationPreview
.
qml
INSTALLS
+=
styles
qml
qmlcompositor
scripts
system
volumecontrol
connectivity
notifications
CONFIG
+=
qt
link_pkgconfig
QT
+=
quick
compositor
...
...
@@ -90,6 +103,7 @@ OTHER_FILES += qml/*.qml \
qml/USBModeSelector.qml \
qml/VolumeControl.qml \
qml/BatteryPanel.qml \
qml/CommonPanel.qml
qml/CommonPanel.qml \
qml/ShutdownScreen.qml
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment