Results 1 to 3 of 3

Thread: QSplitter + multiple layouts? how?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2008
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question QSplitter + multiple layouts? how?

    I simply want to split the window in two and use different layouts on either sides.

    I have a main window and then i split it in half with a QSplitter. How can i add widgets to the left side of the splitter with a QGridLayout and add widgets to the right side using another layout? I can't add the widgets to the QGridLayout and then add the QGridLayout to the splitter since the layout is not a widget and the splitter does not have a addWidget function... Any help would be much appreciated...

    EDIT: the splitter does have an addWidget function. but still... it doesn't solve my problem..
    Last edited by jalla2000; 6th November 2008 at 13:28. Reason: correction

Similar Threads

  1. how to corss compile for windows in Linux
    By safknw in forum Qt Programming
    Replies: 24
    Last Post: 13th May 2006, 05:23

Tags for this Thread

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.