mirror of
https://gitlab.com/eql/EQL5.git
synced 2025-12-08 03:20:30 -08:00
small revision of property dialog for QML
This commit is contained in:
parent
1281b68a8b
commit
c90c74c931
4 changed files with 12 additions and 0 deletions
|
|
@ -4,8 +4,11 @@
|
|||
(find-symbol (symbol-name name) package))
|
||||
|
||||
(defun show-properties-dialog (&optional item)
|
||||
"Lists all instance properties of a QML item (either a QQuickItem or an 'objectName'). If no item is passed, QML:*CALLER* will be used."
|
||||
(unless (find-package :properties)
|
||||
(load (in-home "gui/properties")))
|
||||
(when (stringp item)
|
||||
(setf item (qml:find-quick-item item)))
|
||||
(funcall (sym :show :properties)
|
||||
(or item qml:*caller*)
|
||||
t)) ; all instance properties (for QML)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue