4 ms·
The caveat at present is that the standard desktop widgets are not yet fully available from QML I hear Qt5 will have have all (or a lot of) the standard widget
by dkersten 14y ago
The caveat at present is that the standard desktop widgets are not yet fully available from QML
I hear Qt5 will have have all (or a lot of) the standard widgets available in QML. Until then, using QGraphicsProxyWidget is a quick and easy way to embed QWidgets inside QML. Here's an example: http://qt-project.org/doc/qt-4.8/declarative-cppextensions-qwidgets.html http://qt-project.org/doc/qt-4.8/declarative-cppextensions-q...
I haven't decided how I'll do the settings dialog yet
I would use QGraphicsProxyWidget and this: http://doc.trolltech.com/solutions/4/qtpropertybrowser/index.html http://doc.trolltech.com/solutions/4/qtpropertybrowser/index...
- mkl 14y agoThanks for the links - didn't know about the property browser thing. It's not quite as simple as waiting for Qt5. From my earlier link: The components are hosted as a Qt Playground project and won’t be a part of the 5.0 release. They will instead have separate releases, most likely in sync with the Qt 5 releases. At some point we will look at making them a proper part of Qt 5. These separate component releases will be important, as the proxy widget mechanism won't be available for Qt5's QSceneGraph-backed QML. Nor does there seem to be a replacement coming yet, mostly for performance reasons [1]. [1] http://www.mail-archive.com/development@qt-project.org/msg04731.html http://www.mail-archive.com/development@qt-project.org/msg04...