hi everyone,


i have a png image and i have a widget. i had set the size of widget as setMaximumSize(300,300 ).within this area i need to display the image within the coordinated (100,100). can anyone say me how to do that...?

i did as follows:

setPaletteBackgroundPixmap(QPixmap("qtlogo.png"));

the image is displayed in the entire 300x300 area that too in rows and columns.and not within the coordinates i require.

thanks in advance.