Results 1 to 2 of 2

Thread: Splitter?

  1. #1
    Join Date
    May 2007
    Posts
    6
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Unhappy Splitter?

    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.

    Thanks a lot.

  2. #2
    Join Date
    Jul 2007
    Posts
    166
    Thanks
    25
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Splitter?

    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);

Similar Threads

  1. Splitter Color changed when referesh?
    By rajeshs in forum Qt Programming
    Replies: 1
    Last Post: 11th July 2007, 08:10
  2. Resizable Frames/Layouts
    By VireX in forum Newbie
    Replies: 19
    Last Post: 19th March 2007, 00:59
  3. splitter
    By gambr in forum Qt Tools
    Replies: 2
    Last Post: 21st November 2006, 17:06
  4. Image on Splitter
    By moizahamedv in forum Qt Programming
    Replies: 4
    Last Post: 3rd March 2006, 14:40

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.