Qt object in JavaScript manual or list of all methods. Where?
Solved
QML and Qt Quick
-
Not sure about a resource, but when I am trying to figure objects out I will sometimes try this:
import QtQuick 2.12 import QtQuick.Window 2.12 Window { visible: true width: 640 height: 480 title: qsTr("QML Generic Tests") function printObject(obj, type=""){ for(var prop in obj){ if(type === "") console.log(prop) else{ //console.log(typeof obj[prop]) if(typeof obj[prop] === type){ console.log(prop) } } } } QtObject { id: testobj function test(){ } } Component.onCompleted: { var qobj = testobj printObject(qobj) printObject(qobj, "function") } }
-