Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/ExpandedRepresentation.qml
Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Line(s) | 91 | PlasmaExtras.Heading { | |||
---|---|---|---|---|---|
93 | visible: !activeApplet | 93 | visible: !activeApplet | ||
94 | Layout.fillWidth: true | 94 | Layout.fillWidth: true | ||
95 | level: 1 | 95 | level: 1 | ||
96 | text: i18n("Status and Notifications") | 96 | text: i18n("Status and Notifications") | ||
97 | } | 97 | } | ||
98 | 98 | | |||
99 | PlasmaComponents.ToolButton { | 99 | PlasmaComponents.ToolButton { | ||
100 | id: pinButton | 100 | id: pinButton | ||
101 | Layout.preferredHeight: Math.round(units.gridUnit * 1.25) | 101 | implicitHeight: Math.round(units.gridUnit * 1.25) | ||
102 | Layout.preferredWidth: Layout.preferredHeight | 102 | implicitWidth: implicitHeight | ||
103 | checkable: true | 103 | checkable: true | ||
104 | checked: plasmoid.configuration.pin | 104 | checked: plasmoid.configuration.pin | ||
105 | onToggled: plasmoid.configuration.pin = checked | 105 | onToggled: plasmoid.configuration.pin = checked | ||
106 | icon.name: "window-pin" | 106 | icon.name: "window-pin" | ||
107 | PlasmaComponents.ToolTip { | 107 | PlasmaComponents.ToolTip { | ||
108 | text: i18n("Keep Open") | 108 | text: i18n("Keep Open") | ||
109 | } | 109 | } | ||
110 | } | 110 | } | ||
111 | } | 111 | } | ||
112 | 112 | | |||
113 | RowLayout { | 113 | RowLayout { | ||
114 | spacing: 0 // must be 0 so that the separator is as close to the indicator as possible | 114 | spacing: 0 // must be 0 so that the separator is as close to the indicator as possible | ||
115 | 115 | | |||
116 | HiddenItemsView { | 116 | HiddenItemsView { | ||
117 | id: hiddenItemsView | 117 | id: hiddenItemsView | ||
118 | Layout.fillWidth: !activeApplet | 118 | Layout.fillWidth: !activeApplet | ||
119 | Layout.preferredWidth: activeApplet ? iconColumnWidth : -1 | | |||
120 | Layout.fillHeight: true | 119 | Layout.fillHeight: true | ||
121 | } | 120 | } | ||
122 | 121 | | |||
123 | PlasmaCore.SvgItem { | 122 | PlasmaCore.SvgItem { | ||
124 | visible: hiddenItemsView.visible && activeApplet | 123 | visible: hiddenItemsView.visible && activeApplet | ||
125 | Layout.fillHeight: true | 124 | Layout.fillHeight: true | ||
126 | Layout.preferredWidth: lineSvg.elementSize("vertical-line").width | 125 | Layout.preferredWidth: lineSvg.elementSize("vertical-line").width | ||
127 | elementId: "vertical-line" | 126 | elementId: "vertical-line" | ||
Show All 16 Lines |