mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
sync with mobilecomponents a85365111 + patches
This is the latest state of the upstream art from Plasma, plus our patches to disable the gamma effect on the icon, and the drawer removed. Signed-off-by: Sebastian Kügler <sebas@kde.org>
This commit is contained in:
parent
8664925e20
commit
548d6fc956
11 changed files with 553 additions and 904 deletions
|
|
@ -47,9 +47,22 @@ ApplicationWindow {
|
|||
*/
|
||||
property alias pageStack: __pageStack
|
||||
|
||||
function showPassiveNotification(message, timeout, actionText, callBack) {
|
||||
if (!__actionButton.__passiveNotification) {
|
||||
var component = Qt.createComponent("private/PassiveNotification.qml");
|
||||
__actionButton.__passiveNotification = component.createObject(contentItem.parent);
|
||||
}
|
||||
|
||||
__actionButton.__passiveNotification.showNotification(message, timeout, actionText, callBack);
|
||||
}
|
||||
|
||||
PageRow {
|
||||
id: __pageStack
|
||||
anchors.fill: parent
|
||||
anchors {
|
||||
fill: parent
|
||||
bottomMargin: Qt.inputMethod.visible ? (root.y + root.height) - (Qt.
|
||||
inputMethod.keyboardRectangle.y) : 0
|
||||
}
|
||||
focus: true
|
||||
Keys.onReleased: {
|
||||
if (event.key == Qt.Key_Back && stackView.depth > 1) {
|
||||
|
|
@ -76,6 +89,8 @@ ApplicationWindow {
|
|||
property alias actionButton: __actionButton
|
||||
ActionButton {
|
||||
id: __actionButton
|
||||
//put it there just to make it not accessible bu users
|
||||
property Item __passiveNotification
|
||||
z: 9999
|
||||
anchors.bottom: parent.bottom
|
||||
x: parent.width/2 - width/2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue