PDA

View Full Version : Hi



Ahmad
29th May 2007, 12:15
Hi,
i have a question regarding the QMainWindow,
in fact i have created my main window with some toolbar and status bar, and right now , i want to add some widgets in the central area of my QMainWindow such as some Labels and ComboBox, my question is , is it possible to add Widgets in the central area of a QMainWindow directly or should i create another widget with my labels and combo boxes on it and set it as the central widget of my QMainWindow
Tnx for ur advise

wysota
29th May 2007, 12:19
If you use Designer, you can add them directly. But if you hand code, you can add a single widget, thus you need a widget that will have all the widgets you want as its children.