I guess I haven't seen any resize handles in QGraphicsWidget windows either. But you're supposed to be able to resize the window when you move the mouse close enough to the edge of the window:
// main.cpp
#include <QtGui>
int main(int argc, char* argv[])
{
QGraphicsWidget* widget = new QGraphicsWidget(0, Qt::Window);
widget->resize(320, 200);
scene.addItem(widget);
view.resize(640, 400);
view.show();
return app.exec();
}
// main.cpp
#include <QtGui>
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
QGraphicsScene scene;
QGraphicsWidget* widget = new QGraphicsWidget(0, Qt::Window);
widget->resize(320, 200);
scene.addItem(widget);
QGraphicsView view(&scene);
view.resize(640, 400);
view.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Bookmarks