Changeset View
Changeset View
Standalone View
Standalone View
applets/notifications/package/contents/ui/JobItem.qml
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Line(s) | 88 | PlasmaComponents.ToolButton { | |||
---|---|---|---|---|---|
89 | id: killButton | 89 | id: killButton | ||
90 | tooltip: i18ndc("plasma_applet_org.kde.plasma.notifications", "Cancel running job", "Cancel") | 90 | tooltip: i18ndc("plasma_applet_org.kde.plasma.notifications", "Cancel running job", "Cancel") | ||
91 | iconSource: "media-playback-stop" | 91 | iconSource: "media-playback-stop" | ||
92 | onClicked: jobItem.killJobClicked() | 92 | onClicked: jobItem.killJobClicked() | ||
93 | } | 93 | } | ||
94 | 94 | | |||
95 | PlasmaComponents.ToolButton { | 95 | PlasmaComponents.ToolButton { | ||
96 | id: expandButton | 96 | id: expandButton | ||
97 | Layout.leftMargin: units.smallSpacing | | |||
98 | iconSource: checked ? "arrow-down" : (LayoutMirroring.enabled ? "arrow-left" : "arrow-right") | 97 | iconSource: checked ? "arrow-down" : (LayoutMirroring.enabled ? "arrow-left" : "arrow-right") | ||
99 | tooltip: checked ? i18ndc("plasma_applet_org.kde.plasma.notifications", "A button tooltip; hides item details", "Hide Details") | 98 | tooltip: checked ? i18ndc("plasma_applet_org.kde.plasma.notifications", "A button tooltip; hides item details", "Hide Details") | ||
100 | : i18ndc("plasma_applet_org.kde.plasma.notifications", "A button tooltip; expands the item to show details", "Show Details") | 99 | : i18ndc("plasma_applet_org.kde.plasma.notifications", "A button tooltip; expands the item to show details", "Show Details") | ||
101 | checkable: true | 100 | checkable: true | ||
102 | enabled: jobItem.jobDetails && jobItem.jobDetails.hasDetails | 101 | enabled: jobItem.jobDetails && jobItem.jobDetails.hasDetails | ||
103 | } | 102 | } | ||
104 | } | 103 | } | ||
105 | } | 104 | } | ||
▲ Show 20 Lines • Show All 97 Lines • Show Last 20 Lines |