mirror of
https://gitlab.com/eql/lqml.git
synced 2026-01-05 16:51:28 -08:00
revisions
This commit is contained in:
parent
5291949358
commit
74177ecfd0
6 changed files with 11 additions and 9 deletions
|
|
@ -144,7 +144,8 @@
|
|||
(ensure-directories-exist (in-data-path "" "backup/"))
|
||||
(zip (in-data-path *backup-data-file* "backup/")
|
||||
(in-data-path))
|
||||
(loc:make-map-bin))
|
||||
(loc:make-map-bin)
|
||||
(toast (tr "backup ready")))
|
||||
|
||||
(defun restore-eventual-backup ()
|
||||
"Checks if there are backup files in local data directory
|
||||
|
|
|
|||
|
|
@ -142,12 +142,12 @@
|
|||
(defun font-size-dialog ()
|
||||
(app:confirm-dialog
|
||||
(tr "Size") (tr "Message font size:") 'font-size-changed
|
||||
:from 12 :to 48 :value (or (app:setting :message-font-size) 18)))
|
||||
:from 10 :to 48 :value (or (app:setting :message-font-size) 18)))
|
||||
|
||||
(defun font-size-changed (ok) ; callback from QML
|
||||
(when ok
|
||||
(let ((size (q< |value| ui:*dialog-spin-box*)))
|
||||
(setf size (min 48 (max 12 size)))
|
||||
(setf size (min 48 (max 10 size)))
|
||||
(q> |fontSize| ui:*message-view* size)
|
||||
(app:change-setting :message-font-size size)))
|
||||
(values))
|
||||
|
|
|
|||
|
|
@ -48,10 +48,11 @@ Rectangle {
|
|||
|
||||
AnimatedImage {
|
||||
id: semaphore
|
||||
playing: false
|
||||
y: 4
|
||||
width: 8
|
||||
anchors.verticalCenter: sender.verticalCenter
|
||||
anchors.verticalCenterOffset: -0.5
|
||||
width: view.fontSize / 2 - 1
|
||||
height: width
|
||||
playing: false
|
||||
source: "../img/semaphore.gif"
|
||||
currentFrame: model.ackState
|
||||
visible: model.me
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ Dialog {
|
|||
id: message
|
||||
width: parent.width
|
||||
wrapMode: Text.Wrap
|
||||
visible: text !== ""
|
||||
visible: (text !== "")
|
||||
}
|
||||
|
||||
SpinBox {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ Dialog {
|
|||
width: parent.width
|
||||
wrapMode: Text.Wrap
|
||||
font.pixelSize: 18
|
||||
visible: text !== ""
|
||||
visible: (text !== "")
|
||||
}
|
||||
|
||||
SpinBox {
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ The desktop data paths are:
|
|||
* Windows: `C:\Users\<user>\AppData\Local\cl-meshtastic\`
|
||||
|
||||
Eventual backups are saved in above path under `backups/`. On the desktop
|
||||
see menu (tap on top left) and 'Make backup'.
|
||||
see 'Make backup' in menu (tap on logo on top left).
|
||||
|
||||
To autmatically restore data from a backup on the desktop, put the backup files
|
||||
directly in above path (that is, under `.../cl-meshtastic/` and restart the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue