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.