PDA

View Full Version : How can i expand a form with a push button?



Bong.Da.City
24th August 2010, 22:06
You know, for example when you download on ubuntu something from the synaptic package manager. You have something like that..

http://i36.tinypic.com/2hfkyzm.jpg

If you press the button+ or the label (Show for individual files) the form is expanding and it shows more details..

http://i34.tinypic.com/16jphqu.jpg

So how can i do this? ( Sorry for the screenshots that the one is on downloading and the other is on installation. But you can understand what i am asking .)

saa7_go
24th August 2010, 22:17
You can look at Expanding Dialog example (http://www.qtcentre.org/wiki/index.php?title=Expanding_dialog).

Bong.Da.City
24th August 2010, 22:38
It doesn't work for me. When i debug it just saw me an empty QDialog...

saa7_go
24th August 2010, 23:35
It doesn't work for me. When i debug it just saw me an empty QDialog...

Really? It works for me.

Lykurg
25th August 2010, 07:10
And again: Don't use 3rd party sites to host your pictures, add them on the forum.