Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/ExpandedRepresentation.qml
| Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Line(s) | 94 | PlasmaExtras.Heading { | |||
|---|---|---|---|---|---|
| 96 | visible: !activeApplet | 96 | visible: !activeApplet | ||
| 97 | Layout.fillWidth: true | 97 | Layout.fillWidth: true | ||
| 98 | level: 1 | 98 | level: 1 | ||
| 99 | text: i18n("Status and Notifications") | 99 | text: i18n("Status and Notifications") | ||
| 100 | } | 100 | } | ||
| 101 | 101 | | |||
| 102 | PlasmaComponents.ToolButton { | 102 | PlasmaComponents.ToolButton { | ||
| 103 | id: pinButton | 103 | id: pinButton | ||
| 104 | implicitHeight: Math.round(units.gridUnit * 1.25) | | |||
| 105 | implicitWidth: implicitHeight | | |||
| 106 | checkable: true | 104 | checkable: true | ||
| 107 | checked: plasmoid.configuration.pin | 105 | checked: plasmoid.configuration.pin | ||
| 108 | onToggled: plasmoid.configuration.pin = checked | 106 | onToggled: plasmoid.configuration.pin = checked | ||
| 109 | icon.name: "window-pin" | 107 | icon.name: "window-pin" | ||
| 110 | PlasmaComponents.ToolTip { | 108 | PlasmaComponents.ToolTip { | ||
| 111 | text: i18n("Keep Open") | 109 | text: i18n("Keep Open") | ||
| 112 | } | 110 | } | ||
| 113 | } | 111 | } | ||
| Show All 37 Lines | |||||