PDA

View Full Version : QMainWindow...button in subwindows



Peppy
15th October 2009, 15: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...

lyuts
15th October 2009, 15: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.