In the BBS warrior way: QPixmap * PM=new QPixmap (picPath); QGraphicsScene * gs=new QGraphicsScene (); Gs - & gt; AddPixmap (* PM); UI. GraphicsView. SetScene (gs);//default is centered, but after show the bigger picture, show the pictures again, the upper left corner coordinates and ran to the view in the upper left corner, you met yet? How to solve? I read a document in the afternoon also do not understand,
CodePudding user response:
Solve the mom,,,