On GraphicsView(QGraphicsView) i set scene(QGraphicsScene), i am adding qdial object throgh qgraphicsproxy widget, place sizegrip on bottom right position? `
QDial *dial = new QDial(); // dial object
plot->setGeometry(event->pos().x(),event->pos().y(),80,80);
QSizeGrip * sizeGrip = new QSizeGrip(dial );// placing sizegrip
QGraphicsProxyWidget *proxy = new QGraphicsProxyWidget();
proxy->setWidget(dial );
proxy->setFlag(QGraphicsItem::ItemIsMovable,true);
scene->addItem(proxy);`
image of output
You have to use a layout as I show below: