Changeset View
Changeset View
Standalone View
Standalone View
src/declarativeimports/plasmastyle/RadioButtonStyle.qml
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 27 | QtQuickControlStyle.RadioButtonStyle { | |||
---|---|---|---|---|---|
46 | indicator: PlasmaCore.SvgItem { | 46 | indicator: PlasmaCore.SvgItem { | ||
47 | svg: PlasmaCore.Svg { | 47 | svg: PlasmaCore.Svg { | ||
48 | id: buttonSvg | 48 | id: buttonSvg | ||
49 | imagePath: "widgets/actionbutton" | 49 | imagePath: "widgets/actionbutton" | ||
50 | } | 50 | } | ||
51 | elementId: "normal" | 51 | elementId: "normal" | ||
52 | opacity: control.enabled ? 1 : 0.6 | 52 | opacity: control.enabled ? 1 : 0.6 | ||
53 | 53 | | |||
54 | width: height | 54 | width: units.iconSizes.small | ||
55 | height: theme.mSize(theme.defaultFont).height * 1.6 | 55 | height: width | ||
56 | 56 | | |||
57 | PlasmaCore.SvgItem { | 57 | PlasmaCore.SvgItem { | ||
58 | id: checkmark | 58 | id: checkmark | ||
59 | svg: PlasmaCore.Svg { | 59 | svg: PlasmaCore.Svg { | ||
60 | id: checkmarkSvg | 60 | id: checkmarkSvg | ||
61 | imagePath: "widgets/checkmarks" | 61 | imagePath: "widgets/checkmarks" | ||
62 | } | 62 | } | ||
63 | elementId: "radiobutton" | 63 | elementId: "radiobutton" | ||
Show All 18 Lines |