open settings app

close panel when app launches
This commit is contained in:
Marco Martin 2017-09-04 18:15:49 +02:00
parent 89f1f1a8af
commit d93ec09964
4 changed files with 10 additions and 3 deletions

View file

@ -157,7 +157,7 @@ Item {
ListModel {
id: notificationsModel
/* ListElement {
ListElement {
source: "call1Source"
appIcon: "call-start"
summary: "Missed call from Joe"
@ -178,7 +178,7 @@ Item {
appName: "Message"
summary: "July: Hello?"
actions: []
}*/
}
}
ListView {

View file

@ -68,7 +68,7 @@ Item {
text: "Settings"
icon: "configure"
enabled: false
settingsCommand: "plasma-mobile-settings"
settingsCommand: "plasma-settings"
toggleFunction: ""
delegate: ""
}

View file

@ -54,10 +54,16 @@ FullScreenPanel {
}
}
onActiveChanged: {
if (!active) {
close();
}
}
onVisibleChanged: {
if (visible) {
window.width = Screen.width;
window.height = Screen.height;
window.requestActivate();
}
}
SequentialAnimation {

View file

@ -240,6 +240,7 @@ PlasmaCore.ColorScope {
property var applet
height: applet ? applet.fullRepresentationItem.Layout.maximumHeight : 0
property int minimumHeight: applet ? applet.fullRepresentationItem.Layout.minimumHeight : 0
onHeightChanged: slidingPanel.updateState();
}
}
}