Results 1 to 5 of 5

Thread: qSplitter settings

  1. #1
    Join Date
    Feb 2006
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default qSplitter settings

    Hello!
    I put two QVBoxLayout objects(each having some children) in qdesigner in a horizontal layout with splitter and I don't see any settings in Property editor to configure the splitter(some proportions, fixed size for one member etc). The children of the layout with splitter are of QVBoxLayout type and the only options I see for them are margin and spacing. Please tell me if it's possible to configure that QSplitter inside Designer.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qSplitter settings

    Just click on your splitter in the "Object Explorer".

  3. #3
    Join Date
    Feb 2006
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qSplitter settings

    ok I already did that in .. Object Inspector I don't see Explorer.. and then ? I only see these fields related to QSplitter:
    orientation
    opaqueResize
    handleWidth
    childrenCollapsible

    what I want to do is change the ratio/proportion of left panel's width to right panel's width and maybe set some extra stuff ? I did that long ago in Qt2 Designer, but things have changed and I don't see properties to handle those things.

    thanks for your reply

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qSplitter settings

    Quote Originally Posted by ovidiu.sabou
    Object Inspector I don't see Explorer
    In Qt3 Object Inspector was called Object Explorer.

    Quote Originally Posted by ovidiu.sabou
    what I want to do is change the ratio/proportion of left panel's width to right panel's width and maybe set some extra stuff ?
    You can change that by setting horizontalStretch (or verticalStretch) properties of child widgets. Same for maximum and minimum sizes.

    PS. Make sure to check how your form looks like in the preview mode, because Qt Designer sometimes shows it in a wrong way.

  5. The following user says thank you to jacek for this useful post:

    ovidiu.sabou (14th March 2006)

  6. #5
    Join Date
    Feb 2006
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qSplitter settings

    ok thank you it works now !

Similar Threads

  1. Using windows proxy settings
    By schall_l in forum Qt Programming
    Replies: 0
    Last Post: 22nd October 2008, 15:05
  2. QSplitter in Designer
    By Boron in forum Qt Tools
    Replies: 2
    Last Post: 21st July 2008, 18:34
  3. QWidget Settings advanced idea
    By MarkoSan in forum Qt Programming
    Replies: 9
    Last Post: 27th March 2008, 09:41
  4. How to set Widgets sizes with in QSplitter
    By rajeshs in forum Qt Programming
    Replies: 1
    Last Post: 29th June 2007, 07:38
  5. Replies: 4
    Last Post: 1st February 2006, 17:17

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.