Hmm, ok.
Which of the QMainWindow features are you using? I.e. what is your reason to use it instead of, say, a plain QWidget?
QMainWindow has a complex layout, you don't want to mess with that.
The central widget is the window's content area, under control of the application developer.
Cheers,
_
Bookmarks