User Tools

Site Tools


qt-quick-for-designers-1:qt_quick_and_javascript

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
qt-quick-for-designers-1:qt_quick_and_javascript [2013/06/22 03:52] mithatqt-quick-for-designers-1:qt_quick_and_javascript [2013/07/06 22:53] (current) – [Importing a Javascript file] mithat
Line 22: Line 22:
   * You can add a Javascript function anywhere in your Qt Quick file.   * You can add a Javascript function anywhere in your Qt Quick file.
   * The following defines and uses a function that picks a number and references it in an array of states.   * The following defines and uses a function that picks a number and references it in an array of states.
-    * FIXME Neither ''property'' nor ''Component.onCompleted'' have been covered yet. +    * FIXME ''Component.onCompleted'' hasn'been covered yet. 
-{{youtube>MbCTh296XzI?small}}+{{youtube>04iD3JiZhkA?small}}
 <file javascript javascript-example.qml> <file javascript javascript-example.qml>
 import QtQuick 1.0 import QtQuick 1.0
Line 278: Line 278:
 -------------------------------------------------------------- --------------------------------------------------------------
 ====== Resources ====== ====== Resources ======
-{{:qt-quick-for-designers-1:background.png?24|}} +  * {{:qt-quick-for-designers-1:images.zip|}} 
-{{:qt-quick-for-designers-1:button.png?24|}} +  * All source code is subject to this [[copyright header|copyright]].
-{{:qt-quick-for-designers-1:spaceship.png?24|}}+
  
qt-quick-for-designers-1/qt_quick_and_javascript.1371873139.txt.gz · Last modified: 2013/06/22 03:52 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki