Results 1 to 8 of 8

Thread: Scroll area on right side of main window

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Feb 2008
    Posts
    98
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2
    Thanked 24 Times in 24 Posts

    Default Re: Scroll area on right side of main window

    Just follow this procedure:

    - Create a QMainWindow in Qt Designer.
    - Add a dock widget.
    - Add a QListWidget inside of the dock widget.
    - Select the dock widget by clicking on it.
    - Click the Form menu - Layout vertically.
    Voièla!

    Now you can resize the dock widget. The list widget will take the whole space.
    Attached Images Attached Images

  2. The following user says thank you to victor.fernandez for this useful post:

    rakkar (28th August 2009)

Similar Threads

  1. Replies: 2
    Last Post: 9th August 2009, 22:08
  2. adding items in scroll area dynamically
    By Ezhil in forum Qt Programming
    Replies: 5
    Last Post: 22nd May 2009, 16:33
  3. Adding scroll bars to a main window
    By dougab in forum Newbie
    Replies: 9
    Last Post: 25th December 2007, 20:27
  4. minimizing main window
    By eric in forum Qt Programming
    Replies: 4
    Last Post: 28th November 2007, 16:54
  5. cannot make a main window modal
    By Dark_Tower in forum Qt Programming
    Replies: 12
    Last Post: 23rd March 2006, 10:21

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.