Here's a small test case the reproduce the problem:
#include <QtGui>
int main(int argc, char* argv[])
{
scene.
addWidget(new QTextEdit)->moveBy
(50,
50);
view.show();
return app.exec();
}
#include <QtGui>
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
QGraphicsScene scene;
scene.addWidget(new QTextEdit);
scene.addWidget(new QTextEdit)->moveBy(50, 50);
QGraphicsView view(&scene);
view.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
I'd report it as a bug to the Task Tracker.
Bookmarks