[Qt-interest] problem in QGraphicsView() addWidget .
Sanderson Coelho
sanderson.coelho at openbossa.org
Fri Jul 17 14:03:54 CEST 2009
You can make something like:
QGraphicsScene scene(x, y, w, h);
QGraphicsView view(&scene);
MyWidget *mw = new MyWidget;
mw->setPos(px, py);
scene->addWidget(mw);
view->show();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090717/1e16912c/attachment.html
More information about the Qt-interest-old
mailing list