Change QGraphicsView scene to have coords system origin at top - left corner
-
Hi All! I am trying to work with QGraphicsView .I noticed the default coords system is center at the center of vew's bounding box.Can it be changed to be at top left corner of that box?
Thanks.
-
you could try QGraphicsView::setAlignment(Qt::AlignLeft | Qt::AlignTop)
"see here":http://qt-project.org/doc/qt-4.8/qgraphicsview.html#alignment-prop
1/2