[Qt-qml] How to expose widget to QML
vuleetu
vuleetu at gmail.com
Wed Dec 1 07:11:48 CET 2010
Thanks Martin :)
On Wed, Dec 1, 2010 at 12:13 PM, <martin.jones at nokia.com> wrote:
> You may be able to do this via QGraphicsProxyWidget, but as the
> documentation states: “This class is provided for convenience when bridging
> QWidgets and QGraphicsItems, it should not be used for high-performance
> scenarios”. If you are able then it is better to port the widget’s
> functionality to QDeclarativeItem.
>
>
>
> BR,
>
> Martin.
>
>
>
> *From:* qt-qml-bounces at trolltech.com [mailto:qt-qml-bounces at trolltech.com]
> *On Behalf Of *ext vuleetu
> *Sent:* Wednesday, 1 December 2010 2:03 PM
> *To:* qt-qml at trolltech.com
> *Subject:* [Qt-qml] How to expose widget to QML
>
>
>
> Hi,
>
> I can create custom extension which inherit QDeclarativeItem and it
> works. But i want to using existing widget like QLabel in Qt exposed to
> qml? Does anyone know how to do this?
>
>
>
> Best regards.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101201/c19275ae/attachment.html
More information about the Qt-qml
mailing list