PDA

View Full Version : Splitter?



Katuakina
5th October 2007, 08:12
Hi I need help.
I have one Widget with 2 QTexBrowser and I need to move the size like splitter does in one of them when the user press a buttom until hide it. Just showing same as if user move the splitter until hide the second browser but automatically without user make anything.
:confused:
Thanks a lot.

sabeesh
5th October 2007, 09:21
hi,
use this,

QSplitter *splitter = new QSplitter(frame_2);
splitter = new QSplitter(frame_2);
splitter->addWidget(Your 1st Widget);
splitter->addWidget(your 2nd Widget);
splitter->addWidget(your 3rd Widget);