PDA

View Full Version : Adding witgets to common form (Qt designer)



binaural
17th March 2010, 10:03
Hi trying to figure out how Qt designer include widgets when you change click from Welcome to Edit in right side.
I would like to make similar application but would like know some way how to do this.

I can use Tab widget like an example. I don't want to design separate tabs but create separate widgets which
will be show when you switch from tab1 to tab2.

Could you please give me some clue how to do this?

Thanks

Marek

JD2000
17th March 2010, 14:04
Isn't this what a tab widget does?

Put the widgets you want to appear on the relevant tab page. When you click that tab they will appear.
When you click another tab, its widgets will appear, replacing the first tab's items.

If you want some items to remain on screen, regardless of which tab is chosen, put them on the main page - beside, above or below the tab widget. in this case, you may want to use a layout to get everything lined up and resizing nicely.