View Full Version : QMainWindow...button in subwindows

15th October 2009, 16:00
I try to build Window (QMainWindow) with 2 buttons (QPushButton) but this buttons was created in other sub-windows :eek:...I need how to add this buttons to MainWindow...

15th October 2009, 16:52
I assume you are practicing. If this is so, I think you need to create a widget, containing these 2 buttons, and then set this widget as a central widget of your main window.