Results 1 to 3 of 3

Thread: How to add splitter in a dialog.

  1. #1
    Join Date
    Jun 2008
    Posts
    89
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default How to add splitter in a dialog.

    Hi,

    I have a ui file which contains the dialog and various widgets on it.
    now there is a requirement to add some more widgets on the dialog and a splitter between the existing widgets and the new ones.

    How can i do this through designer?

    Regards,
    GK

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to add splitter in a dialog.

    Quote Originally Posted by kaushal_gaurav View Post
    Hi,

    I have a ui file which contains the dialog and various widgets on it.
    now there is a requirement to add some more widgets on the dialog and a splitter between the existing widgets and the new ones.

    How can i do this through designer?

    Regards,
    GK
    select all needed widgets and in context menu select "Lay out->Lay out Horizantally/Vertically in Splitter"

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to add splitter in a dialog.

    Splitter icons are within the toolbar containing layout buttons. Use them as you'd use a regular layout.

Similar Threads

  1. Resizing the dialog boxes
    By anju123 in forum Qt Programming
    Replies: 4
    Last Post: 14th September 2007, 10:41
  2. QGraphicsView: Dialog Position Doubt
    By arjunasd in forum Qt Programming
    Replies: 1
    Last Post: 6th August 2007, 17:48
  3. Communication between MainWindow and a dialog
    By Backslash in forum Newbie
    Replies: 9
    Last Post: 3rd August 2007, 04:27
  4. Replies: 1
    Last Post: 1st February 2007, 17:07
  5. Show/hide part of dialog with resizing.
    By Spockmeat in forum Qt Tools
    Replies: 6
    Last Post: 7th June 2006, 08:22

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.