Changeset View
Changeset View
Standalone View
Standalone View
applet/contents/ui/ListItemBase.qml
Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Line(s) | 112 | RowLayout { | |||
---|---|---|---|---|---|
144 | Item { | 144 | Item { | ||
145 | visible: portbox.visible | 145 | visible: portbox.visible | ||
146 | Layout.fillWidth: true | 146 | Layout.fillWidth: true | ||
147 | } | 147 | } | ||
148 | 148 | | |||
149 | PlasmaComponents3.ToolButton { | 149 | PlasmaComponents3.ToolButton { | ||
150 | id: defaultButton | 150 | id: defaultButton | ||
151 | text: i18n("Default Device") | 151 | text: i18n("Default Device") | ||
152 | icon.name: "favorite" | 152 | icon.name: PulseObject.default ? "starred-symbolic" : "non-starred-symbolic" | ||
153 | checkable: true | 153 | checkable: true | ||
154 | checked: PulseObject.default | 154 | checked: PulseObject.default | ||
155 | visible: (type == "sink" && sinkView.model.count > 1) || (type == "source" && sourceView.model.count > 1) | 155 | visible: (type == "sink" && sinkView.model.count > 1) || (type == "source" && sourceView.model.count > 1) | ||
156 | onClicked: PulseObject.default = true; | 156 | onClicked: PulseObject.default = true; | ||
157 | } | 157 | } | ||
158 | 158 | | |||
159 | SmallToolButton { | 159 | SmallToolButton { | ||
160 | id: contextMenuButton | 160 | id: contextMenuButton | ||
▲ Show 20 Lines • Show All 218 Lines • Show Last 20 Lines |