Results 1 to 3 of 3

Thread: QSPLITTER designer how to add between...

  1. #1
    Join Date
    Dec 2011
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QSPLITTER designer how to add between...

    Hello guys,

    I have following ui structure

    myApp
    centralWidget QWidget
    > groupBox QGroupBox
    treeView QTreeView
    menuBar

    I need make splitter and put into it groupBox and treeView, but in designer, when I chose these two widgets icon for making splitter is grey.
    When I hardcode it, GUI is broken when I start app...

    Is here some special condition for adding widgets into splitter or?
    Thx...

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: QSPLITTER designer how to add between...

    The two items to be placed into a splitter cannot already be in a layout. Break the existing layout first.

  3. #3
    Join Date
    Dec 2011
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QSPLITTER designer how to add between...

    got it.. thaks a lot

Similar Threads

  1. QSplitter in Designer
    By eiswand in forum Qt Programming
    Replies: 1
    Last Post: 5th December 2010, 19:43
  2. Bug in QSplitter with Qt4.5.1
    By araglin in forum Qt Programming
    Replies: 1
    Last Post: 28th April 2009, 08:45
  3. QSplitter in Designer
    By Boron in forum Qt Tools
    Replies: 2
    Last Post: 21st July 2008, 19:34
  4. Replies: 1
    Last Post: 22nd January 2007, 13:13
  5. QSplitter
    By Solarity in forum Newbie
    Replies: 2
    Last Post: 10th February 2006, 18:05

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
  •  
Qt is a trademark of The Qt Company.