Changeset View
Changeset View
Standalone View
Standalone View
src/qmlcontrols/kcmcontrols/qml/GridDelegate.qml
Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Line(s) | 103 | Kirigami.Icon { | |||
---|---|---|---|---|---|
108 | source: delegate.text === i18n("None") ? "edit-none" : "view-preview" | 108 | source: delegate.text === i18n("None") ? "edit-none" : "view-preview" | ||
109 | } | 109 | } | ||
110 | } | 110 | } | ||
111 | 111 | | |||
112 | Rectangle { | 112 | Rectangle { | ||
113 | anchors.fill: thumbnailArea | 113 | anchors.fill: thumbnailArea | ||
114 | visible: actionsRow.children.length > 0 | 114 | visible: actionsRow.children.length > 0 | ||
115 | opacity: Kirigami.Settings.isMobile || delegate.hovered || (actionsScope.focus) ? 1 : 0 | 115 | opacity: Kirigami.Settings.isMobile || delegate.hovered || (actionsScope.focus) ? 1 : 0 | ||
116 | radius: Kirigami.Units.smallSpacing | | |||
117 | color: Kirigami.Settings.isMobile ? "transparent" : Qt.rgba(1, 1, 1, 0.2) | 116 | color: Kirigami.Settings.isMobile ? "transparent" : Qt.rgba(1, 1, 1, 0.2) | ||
118 | 117 | | |||
119 | Behavior on opacity { | 118 | Behavior on opacity { | ||
120 | PropertyAnimation { | 119 | PropertyAnimation { | ||
121 | duration: Kirigami.Units.longDuration | 120 | duration: Kirigami.Units.longDuration | ||
122 | easing.type: Easing.OutQuad | 121 | easing.type: Easing.OutQuad | ||
123 | } | 122 | } | ||
124 | } | 123 | } | ||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |