Results 1 to 3 of 3

Thread: Resizing a Layout

  1. #1
    Join Date
    Jun 2006
    Location
    India
    Posts
    14
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Resizing a Layout

    i have created a dialog with some items and put them in horizontal Layout.
    can we resize the layout dynamically if so how

    pl help me out

    thanks in advance

  2. #2
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Resizing a Layout

    Check this out.

  3. The following 2 users say thank you to munna for this useful post:

    Smudge (5th January 2007)

  4. #3
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Resizing a Layout

    Set the layout as dialog's top level layout.
    Qt Code:
    1. dialog->setLayout(hLayout);
    To copy to clipboard, switch view to plain text mode 
    J-P Nurmi

Similar Threads

  1. changing layout of a widget
    By mikro in forum Qt Programming
    Replies: 10
    Last Post: 4th August 2009, 20:21
  2. "dynamic" layout
    By hulk in forum Qt Programming
    Replies: 2
    Last Post: 9th May 2006, 07:16
  3. QT4 layout of complex dialog is very slow
    By cboles in forum Qt Programming
    Replies: 15
    Last Post: 28th April 2006, 19:57
  4. Layout Managers???
    By jayw710 in forum Qt Programming
    Replies: 7
    Last Post: 18th February 2006, 03:42
  5. Is there a resizeable layout
    By seneca in forum Qt Tools
    Replies: 2
    Last Post: 14th January 2006, 20:04

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.