Re: displaying scaled image
If I understand correctly, you want to resize the image to match the size of graphics view ? Have you tried QPixmap::scaled ?
Re: displaying scaled image
yeah, i want the image to be displayed in the Qgraphicsview. Can u tell me whr to use Qpixmap::scaled()
Re: displaying scaled image
What have you tried so far ?
Re: displaying scaled image
Can u tell me where i should modify my code to display the image in specified graphicsview?
Re: displaying scaled image
I think this would be something like scn->addPixmap( pix.scaled(w->with(),w->height()) );
but check the documentation for the proper answer.