harbour-quill 0.2.12: note markdown con sync WebDAV

This commit is contained in:
2026-08-24 14:16:11 +02:00
commit 73acfbd0b4
26 changed files with 2134 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
import QtQuick 2.2
import Sailfish.Silica 1.0
import "cover"
import "components"
ApplicationWindow {
id: appWindow
// Cover data — pushed from the current page, bound into the cover component.
property string coverText: ""
cover: Component {
CoverPage {
coverText: appWindow.coverText
}
}
// Empty placeholder page: the real MainPage is pushed with the dav client
// via replace() below. A real MainPage here would instantiate once WITHOUT
// dav and log spurious Connections warnings ("Cannot assign to non-existent
// property onFailed/onListReady/...").
initialPage: Component { Page { } }
DavClient {
id: davClient
}
pageStack.onCurrentPageChanged: {
var page = pageStack.currentPage
if (page && page.hasOwnProperty("coverText")) {
appWindow.coverText = page.coverText
}
}
Component.onCompleted: {
pageStack.replace(Qt.resolvedUrl("pages/MainPage.qml"), { dav: davClient })
}
}