Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

QtQuick-Plugin - get QmlViewer object

$
0
0
Hi Mark, In Qt4, QtQuick items are a subclass of QDeclarativeItem. QDeclarativeItem has a member function: QGraphicsScene * QGraphicsItem::scene () const which returns the scene your item is created in, Scene itself has a member function: QList<QGraphicsView *> QGraphicsScene::views () const which returns the views that are rendering the scene. your QmlViewer is probably a subclass of the first item in this QList ?

Viewing all articles
Browse latest Browse all 4972

Trending Articles