revisions

This commit is contained in:
pls.153 2024-04-03 23:46:07 +02:00
parent 00d19fd768
commit 014e3961e8
8 changed files with 12 additions and 20 deletions

View file

@ -56,6 +56,6 @@ Item {
var keyboard = (text !== "")
rootItem.showKeyboard(keyboard)
loader.item.open()
if (keyboard) loader.item.focus()
if (keyboard) loader.item.setFocus()
}
}

View file

@ -14,7 +14,7 @@ Dialog {
property alias value: spinBox.value
property string callback
function focus() { edit.forceActiveFocus() }
function setFocus() { edit.forceActiveFocus() }
Column {
width: parent.width

View file

@ -16,7 +16,7 @@ Dialog {
property alias value: spinBox.value
property string callback
function focus() { edit.forceActiveFocus() }
function setFocus() { edit.forceActiveFocus() }
Column {
width: parent.width

View file

@ -1,6 +1,8 @@
;;; loading protobuf Lisp source files is much faster (especially on mobile)
;;; compared to compiled files, and doesn't seem to impact performance at
;;; runtime (in this use case)
;;; Note (ECL only)
;;;
;;; Loading protobuf Lisp source files is much faster (especially on mobile)
;;; compared to C compiled files, and doesn't seem to impact performance at
;;; runtime (in this use case).
(in-package :qml-user)

View file

@ -56,6 +56,6 @@ Item {
var keyboard = (text !== "")
rootItem.showKeyboard(keyboard)
loader.item.open()
if (keyboard) loader.item.focus()
if (keyboard) loader.item.setFocus()
}
}

View file

@ -13,7 +13,7 @@ Dialog {
property alias value: spinBox.value
property string callback
function focus() { edit.forceActiveFocus() }
function setFocus() { edit.forceActiveFocus() }
Column {
width: parent.width

View file

@ -15,7 +15,7 @@ Dialog {
property alias value: spinBox.value
property string callback
function focus() { edit.forceActiveFocus() }
function setFocus() { edit.forceActiveFocus() }
Column {
width: parent.width

View file

@ -13,16 +13,6 @@ not available, in order to communicate with short text messages. This kind of
mesh network is limited to about 70 nodes/radios/users to remain reliable.
Change log
----------
* 2024-03-04: background mode for both android and iOS (now tested); radio
packets (like text messages) sent to app while in background are saved in a
file and processed when app is brought back to foreground; on new messages,
a red circle on the user name indicates the number of unread messages
Technical notes
---------------
@ -32,7 +22,7 @@ version.
The app uses both **BLE** (bluetooth low energy) and the **protobufs**
serialization library version 3.
For BLE you need to build the plugin in `cpp/` first (written in Qt5).
For BLE you need to build the plugin in `cpp/` first (written in Qt5/Qt6).
The cl-protobufs library is included here because the official version doesn't
work without the C++ plugin installed (which we don't need here). So I made