small docu revisions

This commit is contained in:
polos 2017-01-19 15:52:16 +01:00
parent c7cefd839c
commit e8992bdc5f
2 changed files with 6 additions and 0 deletions

View file

@ -596,6 +596,11 @@ Takes C++ code from a file generated by the <code>uic</code> user interface comp
Converts a Unicode pathname to a simple ECL base string, using <code>QString::toUtf8()</code>.<br>Depending on the OS (namely OSX, Linux), this is necessary if you get a filename from Qt and want to use it in ECL.<br><br>See also <b>QLOCAL8BIT</b>.
<br>
<br><br>
<b>QVARIANT-VALUE (object)</b>
<br><br>
Returns the Lisp value of the <code>QVariant</code> object.
<br>
<br><br>
<b>QVERSION ()</b>
<br><br>
Returns the EQL version number as "&lt;year&gt;.&lt;month&gt;.&lt;counter&gt;", analogous to the ECL version number.<br>The second return value is the Qt version as returned by <code>qVersion()</code>.

View file

@ -16,6 +16,7 @@
(require :game-logic "game-logic")
(defun run ()
;; *quick-view* can be either a QQuickView or a QQuickWidget
(setf qml:*quick-view* (qnew "QQuickView(QUrl)"
(|fromLocalFile.QUrl| "qml/tic-tac-toe.qml")))
(|setResizeMode| qml:*quick-view* |QQuickView.SizeRootObjectToView|)