amagdy.ibrahim
17th June 2008, 22:47
I need to preview image on qgraphics view control in the form
ui.graphicsView=new QGraphicsView(&(CustomSlot::scene),this);
QPixmap pix( "E:\\QT\\4.4.0\\Tree3\\pix_jpg.jpg");
scene.addPixmap( pix );
but this code dosn't show the image in the control ui.graphicsView
ui.graphicsView=new QGraphicsView(&(CustomSlot::scene),this);
QPixmap pix( "E:\\QT\\4.4.0\\Tree3\\pix_jpg.jpg");
scene.addPixmap( pix );
but this code dosn't show the image in the control ui.graphicsView