I solved it by adding initial value m_items.back()->setProperty("y",0); for the first element of my list.
Not sure what type of magic is that but it works just fine now
It sounds like one of the bugs I fixed some time ago, so I would think so, yes. If the problem persists, then please file a bugreport through https://bugreports.qt-project.org and assign it to me.
I tested this functionality in Ubuntu 14.04 and it didn't worked too. So I guess this is not implemented yet. I will use the QtWidgets module to build de main window for now. Thanks.
Hi,
Use Item instead of Window as root object. And provide a width and height to ListView or use anchors.fill: parent.
To load Item based component you will need QQuickView.
thanks for the responses.
i think the Binding component approach is a good idea - the trick will be to do it so that individual properties can be defined and assigned bindings as needed. i will be looking into this
You might wrap you qml app into a shell script. Pipe the input of a crontab file to your app and pipe the output back to the crontab file and call crontab, e.g.:
@
cat MyCrontab.txt | xargs myQmlAlaramApp > MyCrontab.txt
crontab MyCrontab.txt
@
Inside qml access the argument string via:
@
Text {
text: Qt.application.arguments[1]
@