Changeset View
Changeset View
Standalone View
Standalone View
components/containmentlayoutmanager/qml/BasicAppletContainer.qml
Show All 39 Lines | 39 | && !(contentItem.effectiveBackgroundHints & PlasmaCore.Types.TranslucentBackground) | |||
---|---|---|---|---|---|
40 | ? Kirigami.Theme.Complementary | 40 | ? Kirigami.Theme.Complementary | ||
41 | : Kirigami.Theme.Window | 41 | : Kirigami.Theme.Window | ||
42 | 42 | | |||
43 | PlasmaCore.ColorScope.inherit: false | 43 | PlasmaCore.ColorScope.inherit: false | ||
44 | PlasmaCore.ColorScope.colorGroup: Kirigami.Theme.colorSet == Kirigami.Theme.Complementary | 44 | PlasmaCore.ColorScope.colorGroup: Kirigami.Theme.colorSet == Kirigami.Theme.Complementary | ||
45 | ? PlasmaCore.Theme.ComplementaryColorGroup | 45 | ? PlasmaCore.Theme.ComplementaryColorGroup | ||
46 | : PlasmaCore.Theme.NormalColorGroup | 46 | : PlasmaCore.Theme.NormalColorGroup | ||
47 | 47 | | |||
48 | onFocusChanged: { | 48 | function onFocusChanged() { | ||
49 | if (!focus) { | 49 | if (!focus) { | ||
50 | editMode = false; | 50 | editMode = false; | ||
51 | } | 51 | } | ||
52 | } | 52 | } | ||
53 | Layout.minimumWidth: { | 53 | Layout.minimumWidth: { | ||
54 | if (!applet) { | 54 | if (!applet) { | ||
55 | return leftPadding + rightPadding; | 55 | return leftPadding + rightPadding; | ||
56 | } | 56 | } | ||
▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines |