mirror of
https://gitlab.com/eql/EQL5.git
synced 2025-12-09 11:51:17 -08:00
better "qml-get", "qml-set" (using QQmlProperty)
This commit is contained in:
parent
c10db89cc1
commit
881939b2d9
4 changed files with 44 additions and 57 deletions
|
|
@ -11,7 +11,7 @@
|
|||
(setf qml:*quick-view* (qnew "QQuickView(QUrl)"
|
||||
(|fromLocalFile.QUrl| "qml/example.qml")))
|
||||
(|setResizeMode| qml:*quick-view* |QQuickView.SizeRootObjectToView|)
|
||||
(|resize| qml:*quick-view* '(200 100))
|
||||
(|resize| qml:*quick-view* '(300 200))
|
||||
(|show| qml:*quick-view*))
|
||||
|
||||
(run)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue