I try to build Window (QMainWindow) with 2 buttons (QPushButton) but this buttons was created in other sub-windows...I need how to add this buttons to MainWindow...
I try to build Window (QMainWindow) with 2 buttons (QPushButton) but this buttons was created in other sub-windows...I need how to add this buttons to MainWindow...
Last edited by Peppy; 15th October 2009 at 15:42.
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.
I'm a rebel in the S.D.G.
Bookmarks