Changeset View
Changeset View
Standalone View
Standalone View
ksplash/ksplashqml/themes/Minimalistic/main.qml
Show All 32 Lines | 23 | Item { | |||
---|---|---|---|---|---|
33 | property int iconSize: (screenSize.width <= 1024) ? 64 : 128 | 33 | property int iconSize: (screenSize.width <= 1024) ? 64 : 128 | ||
34 | /* }}} */ | 34 | /* }}} */ | ||
35 | 35 | | |||
36 | /* signal declarations ----------------------------{{{ */ | 36 | /* signal declarations ----------------------------{{{ */ | ||
37 | 37 | | |||
38 | /* }}} */ | 38 | /* }}} */ | ||
39 | 39 | | |||
40 | /* JavaScript functions ---------------------------{{{ */ | 40 | /* JavaScript functions ---------------------------{{{ */ | ||
41 | onStageChanged: { | 41 | function onStageChanged() { | ||
42 | if (stage == 1) { | 42 | if (stage == 1) { | ||
43 | background.opacity = 1 | 43 | background.opacity = 1 | ||
44 | gear.opacity = 0.5 | 44 | gear.opacity = 0.5 | ||
45 | } | 45 | } | ||
46 | if (stage == 2) { | 46 | if (stage == 2) { | ||
47 | gear.opacity = 1 | 47 | gear.opacity = 1 | ||
48 | mask.opacity = 1 | 48 | mask.opacity = 1 | ||
49 | letter.opacity = 1 | 49 | letter.opacity = 1 | ||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |