Changeset View
Changeset View
Standalone View
Standalone View
applets/notifications/package/contents/ui/FullRepresentation.qml
Show First 20 Lines • Show All 186 Lines • ▼ Show 20 Line(s) | 76 | RowLayout { | |||
---|---|---|---|---|---|
187 | } | 187 | } | ||
188 | } | 188 | } | ||
189 | 189 | | |||
190 | Item { | 190 | Item { | ||
191 | Layout.fillWidth: true | 191 | Layout.fillWidth: true | ||
192 | } | 192 | } | ||
193 | 193 | | |||
194 | PlasmaComponents.ToolButton { | 194 | PlasmaComponents.ToolButton { | ||
195 | iconName: "edit-clear-history" | | |||
196 | tooltip: i18n("Clear History") | | |||
197 | visible: plasmoid.action("clearHistory").visible | | |||
198 | onClicked: action_clearHistory() | | |||
199 | } | | |||
200 | | ||||
201 | PlasmaComponents.ToolButton { | | |||
202 | iconName: "configure" | 195 | iconName: "configure" | ||
203 | // remove mnemonics | 196 | // remove mnemonics | ||
204 | tooltip: plasmoid.action("openKcm").text.replace(/([^&]*)&(.)([^&]*)/g, function (match, p1, p2, p3) { | 197 | tooltip: plasmoid.action("openKcm").text.replace(/([^&]*)&(.)([^&]*)/g, function (match, p1, p2, p3) { | ||
205 | return p1.concat(p2, p3); | 198 | return p1.concat(p2, p3); | ||
206 | }); | 199 | }); | ||
207 | visible: plasmoid.action("openKcm").enabled | 200 | visible: plasmoid.action("openKcm").enabled | ||
208 | onClicked: plasmoid.action("openKcm").trigger() | 201 | onClicked: plasmoid.action("openKcm").trigger() | ||
209 | } | 202 | } | ||
203 | | ||||
204 | PlasmaComponents.ToolButton { | ||||
205 | iconName: "edit-clear-history" | ||||
206 | tooltip: i18n("Clear History") | ||||
207 | enabled: plasmoid.action("clearHistory").visible | ||||
208 | onClicked: action_clearHistory() | ||||
209 | } | ||||
210 | } | 210 | } | ||
211 | 211 | | |||
212 | PlasmaExtras.DescriptiveLabel { | 212 | PlasmaExtras.DescriptiveLabel { | ||
213 | Layout.leftMargin: dndCheck.mirrored ? 0 : dndCheck.indicator.width + 2 * dndCheck.spacing + units.iconSizes.smallMedium | 213 | Layout.leftMargin: dndCheck.mirrored ? 0 : dndCheck.indicator.width + 2 * dndCheck.spacing + units.iconSizes.smallMedium | ||
214 | Layout.rightMargin: dndCheck.mirrored ? dndCheck.indicator.width + 2 * dndCheck.spacing + units.iconSizes.smallMedium : 0 | 214 | Layout.rightMargin: dndCheck.mirrored ? dndCheck.indicator.width + 2 * dndCheck.spacing + units.iconSizes.smallMedium : 0 | ||
215 | Layout.fillWidth: true | 215 | Layout.fillWidth: true | ||
216 | wrapMode: Text.WordWrap | 216 | wrapMode: Text.WordWrap | ||
217 | textFormat: Text.PlainText | 217 | textFormat: Text.PlainText | ||
▲ Show 20 Lines • Show All 343 Lines • Show Last 20 Lines |