-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
873e881
commit a64faed
Showing
6 changed files
with
204 additions
and
0 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
184 changes: 184 additions & 0 deletions
184
org.kde.manymoons-eos.desktop/contents/splash/Splash.qml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,184 @@ | ||
import QtQuick 2.5 | ||
import QtGraphicalEffects 1.0 | ||
|
||
Image { | ||
id: root | ||
source: "images/background.png" | ||
fillMode: Image.PreserveAspectCrop | ||
|
||
property int stage | ||
|
||
onStageChanged: { | ||
if (stage == 1) { | ||
introAnimation.running = true | ||
preOpacityAnimation.from = 0; | ||
preOpacityAnimation.to = 1; | ||
preOpacityAnimation.running = true; | ||
} | ||
if (stage == 4) { | ||
preOpacityAnimation.from = 1; | ||
preOpacityAnimation.to = 0; | ||
preOpacityAnimation.running = true; | ||
pausa.start(); | ||
} | ||
} | ||
|
||
Item { | ||
id: content | ||
anchors.rightMargin: 0 | ||
anchors.bottomMargin: 0 | ||
anchors.leftMargin: 0 | ||
anchors.topMargin: 0 | ||
anchors.fill: parent | ||
opacity: 1 | ||
TextMetrics { | ||
id: units | ||
text: "M" | ||
property int gridUnit: boundingRect.height | ||
property int largeSpacing: units.gridUnit | ||
property int smallSpacing: Math.max(2, gridUnit/4) | ||
} | ||
|
||
Image { | ||
id: logo | ||
property real size: units.gridUnit * 18 | ||
anchors.centerIn: parent | ||
source: "images/KDE_Plasma_5_banner.png" | ||
sourceSize.width: size | ||
sourceSize.height: size | ||
} | ||
} | ||
|
||
Text { | ||
id: date | ||
text:Qt.formatDateTime(new Date(),"dddd, hh:mm") | ||
font.pointSize: 32 | ||
color: "#7d3dbd" | ||
opacity:0.85 | ||
font { family: "OpenSans Light"; weight: Font.Light ;capitalization: Font.Capitalize} | ||
anchors.horizontalCenter: parent.horizontalCenter | ||
y: (parent.height - height) / 2.7 | ||
} | ||
|
||
Image { | ||
id: topRect | ||
anchors.horizontalCenter: parent.horizontalCenter | ||
y: root.height | ||
source: "images/rectangle.svg" | ||
Rectangle { | ||
y: 232 | ||
radius: 0 | ||
anchors.horizontalCenterOffset: 0 | ||
color: "#fd7d7e" | ||
anchors { | ||
bottom: parent.bottom | ||
bottomMargin: 50 | ||
horizontalCenter: parent.horizontalCenter | ||
} | ||
height: 2 | ||
width: height*150 | ||
Rectangle { | ||
id: topRectRectangle | ||
radius: 1 | ||
anchors { | ||
left: parent.left | ||
top: parent.top | ||
bottom: parent.bottom | ||
} | ||
width: (parent.width / 6) * (stage - 0.01) | ||
color: "#7d3dbd" | ||
Behavior on width { | ||
PropertyAnimation { | ||
duration: 200 | ||
easing.type: Easing.InOutQuad | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
SequentialAnimation { | ||
id: introAnimation | ||
running: false | ||
|
||
ParallelAnimation { | ||
PropertyAnimation { | ||
property: "y" | ||
target: topRect | ||
to: ((root.height / 3) * 2) - 170 | ||
duration: 1500 | ||
easing.type: Easing.InOutBack | ||
easing.overshoot: 1.0 | ||
} | ||
|
||
} | ||
} | ||
|
||
Text { | ||
id: preLoadingText | ||
height: 30 | ||
anchors.bottomMargin: 0 | ||
anchors.topMargin: 0 | ||
text: "For Those Who Enjoy The Journey" | ||
color: "#7d3dbd" | ||
font.family: webFont.name | ||
font.weight: Font.ExtraLight | ||
|
||
font.pointSize: 20 | ||
opacity: 0 | ||
textFormat: Text.StyledText | ||
x: (root.width - width) / 2 | ||
y: (root.height / 3) * 2 | ||
} | ||
|
||
OpacityAnimator { | ||
id: preOpacityAnimation | ||
running: false | ||
target: preLoadingText | ||
from: 0 | ||
to: 1 | ||
duration: 700 | ||
easing.type: Easing.InOutQuad | ||
} | ||
|
||
Text { | ||
id: loadingText | ||
height: 30 | ||
anchors.bottomMargin: 0 | ||
anchors.topMargin: 0 | ||
text: "More Than The Destination" | ||
color: "#7d3dbd" | ||
font.family: webFont.name | ||
font.weight: Font.ExtraLight | ||
|
||
font.pointSize: 20 | ||
opacity: 0 | ||
textFormat: Text.StyledText | ||
x: (root.width - width) / 2 | ||
y: (root.height / 3) * 2 | ||
} | ||
|
||
OpacityAnimator { | ||
id: opacityAnimation | ||
running: false | ||
target: loadingText | ||
from: 0 | ||
to: 1 | ||
duration: 1500 | ||
easing.type: Easing.InOutQuad | ||
paused: true | ||
} | ||
|
||
Timer { | ||
id: pausa | ||
interval: 1500; running: false; repeat: false; | ||
onTriggered: root.viewLoadingText(); | ||
} | ||
|
||
function viewLoadingText() { | ||
opacityAnimation.from = 0; | ||
opacityAnimation.to = 1; | ||
opacityAnimation.running = true; | ||
} | ||
|
||
} |
Binary file added
BIN
+15.5 KB
org.kde.manymoons-eos.desktop/contents/splash/images/KDE_Plasma_5_banner.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
org.kde.manymoons-eos.desktop/contents/splash/images/rectangle.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[Desktop Entry] | ||
Comment=Many Moons EndeavourOS | ||
|
||
Encoding=UTF-8 | ||
Keywords=Desktop;Workspace;Appearance;Look and Feel;Logout;Lock;Suspend;Shutdown;Hibernate; | ||
Name=EndeavourOS Many Moons | ||
|
||
Type=Service | ||
|
||
X-KDE-ServiceTypes=Plasma/LookAndFeel | ||
X-KDE-ParentApp= | ||
X-KDE-PluginInfo-Author=Smokey | ||
X-KDE-PluginInfo-Category= | ||
X-KDE-PluginInfo-Email= | ||
X-KDE-PluginInfo-License= | ||
X-KDE-PluginInfo-Name=org.kde.manymoons-eos.desktop | ||
X-KDE-PluginInfo-Version=1.0 | ||
X-Plasma-MainScript=defaults | ||
|