Re: [Interest] Replicate QML Listview in QtCpp and widgets

2013-11-11 Thread Alan Alpert
Depending on what "political reasons" means, you could do stuff like QQmlComponent c; c.setData("import MyApp 0.1; import QtQuick 2.2; ListView{model: MyModel{}; delegate: MyDelegate{}}"); inside your C++ implementation. MyModel being your custom QAbstractItemModel and MyDelegate being a custom Q

[Interest] Replicate QML Listview in QtCpp and widgets

2013-11-11 Thread Simone
Hello all, For a customer specific application we are forced to use only C++ code without QML. Up to here there are no problems, except that in this new software, we need massive use of listview (finger-scrollable, with text and image objects, smooth moving). So, the QML Listview is exactly what