Results 1 to 2 of 2

Thread: Dock a TableWidget to the Dialog

  1. #1
    Join Date
    May 2010
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Dock a TableWidget to the Dialog

    Hi all,
    I implemented a Dialog composed of slider bars, spin boxes, texts and a Table Widget.
    I put the Table Widget on the bottom of the window and I would like that when the user change the dialog size then the Table Widget changes dimension by following the dialog. How is possible to do it in QT?

    Thank you and best regards.

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Dock a TableWidget to the Dialog

    This is done via layouts.
    http://doc.qt.nokia.com/4.6/layout.html

Similar Threads

  1. TableWidget
    By matulik in forum Newbie
    Replies: 6
    Last Post: 2nd May 2010, 18:47
  2. [B]tableWidget row,col to textEdit[B]
    By briang in forum Newbie
    Replies: 1
    Last Post: 6th November 2009, 04:22
  3. forcing dock windows to dock?
    By eric_vi in forum Qt Programming
    Replies: 3
    Last Post: 9th August 2009, 15:32
  4. Replies: 0
    Last Post: 29th July 2009, 19:13
  5. searching in a TableWidget
    By peace_comp in forum Qt Programming
    Replies: 1
    Last Post: 17th May 2008, 16: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.