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