[Qt-qml] Mouse wheel events in QML

2010-11-20 Thread Jerzy Chalupski
I can't find any mouse wheel events handler. Am I selectively blind or are mouse wheel events not supported by QML? ___ Qt-qml mailing list Qt-qml@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-qml

Re: [Qt-qml] Returning a QImage to QML from C++ for a ListView delegate...

2010-11-19 Thread Jerzy Chalupski
QDeclarativeImageProvider is not an QObject, so the model and image provider might be implemented in the same class: class MyAwesomeModel: public QAbstractItemModel, public QDeclarativeImageProvider { //... }; The upside of this solution is that you can have a single data structure, so you don't

[Qt-qml] Simulating QML which needs a long time to load

2010-11-16 Thread Jerzy Chalupski
I'm writing an application with several "views", which should be loaded dynamically from separate QML files. I already have some basic code which utilizes QML Loader element, and right now I'm thinking about some "please wait" screen that would be displayed to user when requested view takes a long

[Qt-qml] Few beginner's questions about QML

2010-11-05 Thread Jerzy Chalupski
Hi, I've been reading about and playing with Qt Quick for the last few days and I have some questions: 1. I've always thought QML was supposed to be used strictly for presentation layer of application, but in "declarative" examples and demos usually whole logic is implemented in qml and javascrip