Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.0
-
None
-
Windows XP SP2
g++ 4.4.0 (Qt SDK 4.6.0)
-
5baf1a9ba0388109685539384d6f4e674ad252d6
Description
Here is the minimum example:
#include <QtGui> int main(int argc, char *argv[]) { QApplication a(argc, argv); QMainWindow w; QGraphicsScene* s = new QGraphicsScene(&w); QGraphicsView* v = new QGraphicsView(s); s->setSceneRect(-1000,-1000,3000,3000); w.setCentralWidget(v); QRectF circleRect(0,0,600,600); QGraphicsEllipseItem* el = new QGraphicsEllipseItem(circleRect); el->setPen(QPen(Qt::red, 4, Qt::DashLine)); s->addItem(el); w.show(); return a.exec(); }
Run it and scroll the view to the right - the ellipse is clipped.