QML objects accesible in QtScript?
So as a developer I would execute the following script (example):
var root = app.getRootQMLWidget();
var sideBar = new QMLSideBar();
sidebar.anchors.left = root.left;
sidebar.anchors.top = root.top;
sidebar.anchors.bottom = root.bottom;
sidebar.width = 200;
var list = new QMLMultiColumnList();
// setting some properties on list
list.anchors.fill = root;
Also one unrelated question, where can I find more info/docs on QSS?
I've been able to do lot of things with qss, just from what documentation was available in the Qt docs, http://doc.trolltech.org/4.7-snapshot/stylesheet-syntax.html
That said, you should still be able to code application logic in script -- see for example the samegame or calculator demos in which all of the logic is implemented in script. The script will need to be coded in a "QML friendly" way though; for example you'll need to use the "dynamic object management":http://doc.qt.nokia.com/4.7-snapshot/qdeclarativedynamicobjects.html functionality provided by QML.