Changeset View
Changeset View
Standalone View
Standalone View
plasmoid/contents/ui/Suggestions.qml
Show First 20 Lines • Show All 220 Lines • ▼ Show 20 Line(s) | 212 | MouseArea { | |||
---|---|---|---|---|---|
221 | 221 | | |||
222 | onExited: { | 222 | onExited: { | ||
223 | suggestionbutton3.color = theme.backgroundColor | 223 | suggestionbutton3.color = theme.backgroundColor | ||
224 | suggestiontext3.color = theme.textColor | 224 | suggestiontext3.color = theme.textColor | ||
225 | } | 225 | } | ||
226 | 226 | | |||
227 | onClicked: { | 227 | onClicked: { | ||
228 | convoLmodel.clear() | 228 | convoLmodel.clear() | ||
229 | if(dashswitch.checked == true && dashLmodel.count == 0){ | ||||
230 | showDash("setVisible") | ||||
231 | } | ||||
229 | } | 232 | } | ||
230 | } | 233 | } | ||
231 | 234 | | |||
232 | PlasmaComponents.Label { | 235 | PlasmaComponents.Label { | ||
233 | id: suggestiontext3 | 236 | id: suggestiontext3 | ||
234 | text: i18n("Clear") | 237 | text: i18n("Clear") | ||
235 | anchors.verticalCenter: parent.verticalCenter | 238 | anchors.verticalCenter: parent.verticalCenter | ||
236 | anchors.horizontalCenter: parent.horizontalCenter | 239 | anchors.horizontalCenter: parent.horizontalCenter | ||
237 | font.pixelSize: 12 | 240 | font.pixelSize: 12 | ||
238 | } | 241 | } | ||
239 | } | 242 | } | ||
240 | } | 243 | } |