Changeset View
Changeset View
Standalone View
Standalone View
kded/qml/OsdSelector.qml
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 46 | model: [ | |||
---|---|---|---|---|---|
71 | }, | 71 | }, | ||
72 | { | 72 | { | ||
73 | iconSource: "dialog-cancel", | 73 | iconSource: "dialog-cancel", | ||
74 | label: i18n("Leave unchanged"), | 74 | label: i18n("Leave unchanged"), | ||
75 | action: OsdAction.NoAction | 75 | action: OsdAction.NoAction | ||
76 | } | 76 | } | ||
77 | ] | 77 | ] | ||
78 | delegate: PlasmaComponents.Button { | 78 | delegate: PlasmaComponents.Button { | ||
79 | Accessible.name: modelData.label | ||||
79 | PlasmaCore.IconItem { | 80 | PlasmaCore.IconItem { | ||
80 | source: modelData.iconSource | 81 | source: modelData.iconSource | ||
81 | height: buttonRow.height - ((units.smallSpacing / 2) * 3) | 82 | height: buttonRow.height - ((units.smallSpacing / 2) * 3) | ||
82 | width: height | 83 | width: height | ||
83 | anchors.centerIn: parent | 84 | anchors.centerIn: parent | ||
84 | } | 85 | } | ||
85 | height: parent.height | 86 | height: parent.height | ||
86 | width: height | 87 | width: height | ||
Show All 30 Lines |