mirror of
https://gitlab.com/eql/EQL5.git
synced 2025-12-08 03:20:30 -08:00
add new function QVARIANT-FROM-VALUE, needed in QML:QML-SET ("quick" examples)
This commit is contained in:
parent
881939b2d9
commit
b33a987248
10 changed files with 31 additions and 6 deletions
|
|
@ -8,6 +8,7 @@
|
|||
(require :qml-lisp "qml-lisp")
|
||||
|
||||
(defun run ()
|
||||
;; *quick-view* can be either a QQuickView or a QQuickWidget
|
||||
(setf qml:*quick-view* (qnew "QQuickView(QUrl)"
|
||||
(|fromLocalFile.QUrl| "qml/example.qml")))
|
||||
(|setResizeMode| qml:*quick-view* |QQuickView.SizeRootObjectToView|)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue