PDA

View Full Version : Window position at TopRight Corner



nileshsince1980
7th July 2009, 07:34
I have developed application using GraphicsView/Scene architecture.
I have inset window (a small window of size e.g. 150 X 150 ) showing content of GraphicsView's scene.
Now I want that should postion always on Top Right corner of Main window.
How to fix a posotion of inset window ? Even if resize or move Main window the inset window should also get moved.
Please tell me the solution for the same ??
Thanks in advance.

nish
7th July 2009, 08:09
you can reimplement the resize event and move the child window to right corner. or you can use a layout with streches at left and bottom so that it wil always be at top right