What I wanted is something like the figure below shows.

Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use QMdiArea as central widget of your MainWindow. And then you can put in any position your widget, which need only to subclass QMdiSubWindow. Believe me this is much better choice. I was trying the same thing as you, and ended using QMdiArea and QMdiSubWindow. It work great for me.