mirror of
https://gitlab.com/eql/EQL5.git
synced 2026-01-30 12:22:36 -08:00
revision of "gui/properties.lisp" for QML;
This commit is contained in:
parent
2c288a5f31
commit
e8aa7601e8
3 changed files with 6 additions and 4 deletions
|
|
@ -20,10 +20,10 @@
|
|||
(defun sym (name package)
|
||||
(find-symbol (symbol-name name) package))
|
||||
|
||||
(defun show-properties-dialog (&optional (item (qml:root-item)))
|
||||
(defun show-properties-dialog (item)
|
||||
(unless (find-package :properties)
|
||||
(load (in-home "gui/properties")))
|
||||
(funcall (sym :show :properties) item))
|
||||
(funcall (sym :show :properties) item t))
|
||||
|
||||
;; clock
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
(defun show-properties-dialog ()
|
||||
(unless (find-package :properties)
|
||||
(load (in-home "gui/properties")))
|
||||
(funcall (sym :show :properties) qml:*caller*))
|
||||
(funcall (sym :show :properties) qml:*caller* t))
|
||||
|
||||
;; ini
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,9 @@
|
|||
(|setEnabled| w (not checked)))
|
||||
(show))
|
||||
|
||||
(defun show (&optional object)
|
||||
(defun show (&optional object qml)
|
||||
(when qml
|
||||
(! "setChecked" *instance-properties* t))
|
||||
(when object
|
||||
(setf *object* object)
|
||||
(let ((depth 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue