jamat13
13th March 2013, 02:57
Hi
I'm using 2 frames in a dialog as placeholders.
How can I find the position of each frame?
ie
frame1.x() is 0
frame2.x() is also 0
but what I want is frame1 is at (say) 0,0
frame2 is at (say) 275,0
I draw qimages on the dialog. having the whole repaint/draw infrastructure for each frame seems like hard work
If i put the image in a qrect at 0,0 and another at 275,0 all works until you resize the dialog
Thanks
James
I'm using 2 frames in a dialog as placeholders.
How can I find the position of each frame?
ie
frame1.x() is 0
frame2.x() is also 0
but what I want is frame1 is at (say) 0,0
frame2 is at (say) 275,0
I draw qimages on the dialog. having the whole repaint/draw infrastructure for each frame seems like hard work
If i put the image in a qrect at 0,0 and another at 275,0 all works until you resize the dialog
Thanks
James