I'm doing something wrong. My QGraphicsProxyWidgets keep snapping to about (0,50) in the scene:
// create a label and position the proxy at (200,200)
QGraphicsProxyWidget *gLabel =
graphicsScene->addWidget(new QLabel("this should be at (200,200)"));
gLabel->setPos(200,200);
I'm attaching example code. If you run it (at least in something that slows it down like QtCreator), you can actually see the position snap from (200,200) to about (0,50).
What am I missing?
Bookmarks