Changeset View
Changeset View
Standalone View
Standalone View
plasmoid/contents/ui/DashWeatherDelegate.qml
Show All 19 Lines | |||||
20 | import QtQuick 2.9 | 20 | import QtQuick 2.9 | ||
21 | import QtQuick.Controls 2.2 | 21 | import QtQuick.Controls 2.2 | ||
22 | import QtQuick.Layouts 1.3 | 22 | import QtQuick.Layouts 1.3 | ||
23 | import QtGraphicalEffects 1.0 | 23 | import QtGraphicalEffects 1.0 | ||
24 | import org.kde.plasma.core 2.0 as PlasmaCore | 24 | import org.kde.plasma.core 2.0 as PlasmaCore | ||
25 | import org.kde.plasma.plasmoid 2.0 | 25 | import org.kde.plasma.plasmoid 2.0 | ||
26 | import org.kde.plasma.components 2.0 as PlasmaComponents | 26 | import org.kde.plasma.components 2.0 as PlasmaComponents | ||
27 | 27 | | |||
28 | Item { | 28 | Rectangle { | ||
29 | id: dashDelegateItm | 29 | id: dashDelegateItm | ||
30 | height: units.gridUnit * 4 | 30 | height: units.gridUnit * 5.25 | ||
31 | width: cbwidth | 31 | width: cbwidth - units.gridUnit * 0.50 | ||
32 | color: theme.backgroundColor | ||||
33 | layer.enabled: true | ||||
34 | layer.effect: DropShadow { | ||||
35 | horizontalOffset: 0 | ||||
36 | verticalOffset: 1 | ||||
37 | radius: 10 | ||||
38 | samples: 32 | ||||
39 | spread: 0.1 | ||||
40 | color: Qt.rgba(0, 0, 0, 0.3) | ||||
41 | } | ||||
32 | 42 | | |||
33 | Item { | 43 | Item { | ||
34 | id: contentdlgtitem | 44 | id: contentdlgtitem | ||
35 | width: parent.width | 45 | width: parent.width | ||
36 | height: parent.height | 46 | height: parent.height | ||
37 | 47 | | |||
38 | Item { | 48 | Item { | ||
39 | id: skillTopRowLayout | 49 | id: skillTopRowLayout | ||
▲ Show 20 Lines • Show All 268 Lines • Show Last 20 Lines |