harbour-nextcloudnotes/qml/cover/CoverPage.qml

28 lines
587 B
QML
Raw Normal View History

2018-10-16 18:50:58 +03:00
import QtQuick 2.0
import Sailfish.Silica 1.0
CoverBackground {
2018-10-27 20:19:35 +03:00
CoverPlaceholder {
icon.source: "../img/nextcloud-logo-transparent.png"
text: qsTr("Notes")
2018-10-16 18:50:58 +03:00
}
CoverActionList {
id: coverAction
enabled: appSettings.currentAccount >= 0
2018-10-16 18:50:58 +03:00
CoverAction {
2018-10-27 20:19:35 +03:00
iconSource: "image://theme/icon-cover-new"
onTriggered: {
console.log("Add note")
appWindow.activate()
}
2018-10-16 18:50:58 +03:00
}
2018-10-27 20:19:35 +03:00
/*CoverAction {
iconSource: "image://theme/icon-cover-next"
}*/
2018-10-16 18:50:58 +03:00
}
}