Changeset View
Changeset View
Standalone View
Standalone View
src/declarativeimports/plasmacomponents3/CheckIndicator.qml
Show All 20 Lines | |||||
21 | import org.kde.plasma.core 2.0 as PlasmaCore | 21 | import org.kde.plasma.core 2.0 as PlasmaCore | ||
22 | import "private" as Private | 22 | import "private" as Private | ||
23 | 23 | | |||
24 | PlasmaCore.FrameSvgItem { | 24 | PlasmaCore.FrameSvgItem { | ||
25 | id: root | 25 | id: root | ||
26 | property Item control | 26 | property Item control | ||
27 | imagePath: "widgets/button" | 27 | imagePath: "widgets/button" | ||
28 | prefix: "normal" | 28 | prefix: "normal" | ||
29 | implicitWidth: units.gridUnit | 29 | implicitWidth: units.iconSizes.small | ||
30 | implicitHeight: units.gridUnit | 30 | implicitHeight: implicitWidth | ||
31 | opacity: control.enabled ? 1 : 0.6 | 31 | opacity: control.enabled ? 1 : 0.6 | ||
32 | 32 | | |||
33 | PlasmaCore.SvgItem { | 33 | PlasmaCore.SvgItem { | ||
34 | svg: PlasmaCore.Svg { | 34 | svg: PlasmaCore.Svg { | ||
35 | id: checkmarkSvg | 35 | id: checkmarkSvg | ||
36 | imagePath: "widgets/checkmarks" | 36 | imagePath: "widgets/checkmarks" | ||
37 | } | 37 | } | ||
38 | elementId: "checkbox" | 38 | elementId: "checkbox" | ||
Show All 30 Lines |