[Interest] Qt Creator : .qml and .ui.qml files

2021-05-31 Thread Nicholas Yue
Hi, I am starting to dive into QML and have been trying to follow the video tutorial that comes with Qt Creator (v4.11.1) that comes with Qt 5.14.2 I have read about .ui.qml ensures that the UI design is purely declarative and also ensure that we do not introduce JS code in the UI However,

Re: [Interest] Problems writing files to Android file system on some newer devices using QStandardPaths

2021-05-31 Thread Nuno Santos
Thanks for your detailed reply. Regards, Nuno > On 25 May 2021, at 19:55, Jérôme Godbout wrote: > > You might check the best path for the Android application depending on your > needs: > https://developer.android.com/guide/topics/data > > >

Re: [Interest] QML defining an object property

2021-05-31 Thread Jérôme Godbout
Here is the example you can try (if the link ever die): import QtQuick 2.7 import QtQuick.Controls 2.3 Rectangle { color: "red" anchors.fill: parent Row { Button { text: "test" onClicked: { a_.allo['toto'] = "cha

Re: [Interest] QML defining an object property

2021-05-31 Thread Jérôme Godbout
This should be working (at least into 5.15.x). Binding value into the object should emit the changed normally. Take care if you want a binding to react to values changed inside the dictionary/object inside you property, you will need to emit the change on the property. Normally an easy way is

[Interest] QML defining an object property

2021-05-31 Thread Alexander Dyagilev
Hello, Am I right that this is not possible in QML? readonlypropertyvarmainTbImg:{ up:"some string", up_check:"some another string" } ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest