Results 1 to 2 of 2

Thread: scrolled widgets containers in Mainwindow

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

    Question scrolled widgets containers in Mainwindow

    Hi,

    using QScrollArea class i'm able to have individual windows that can be scrolled.
    what i'll like to know is if it possible to have a frame or area container full of widgets (pushup buttons and alike) inside a mainwindow widget.

    I'm trying to have this for almost a week so I'm posting here this question.

    I' m sending a .png graphics. The top figure is what i'm able to get, the bottom figure is an example of what i want (notice the scroll bar at the left frame).

    any hints or a simply it's not possible answer will be much apreciatted.

    best regards,

    António Tomé

  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: scrolled widgets containers in Mainwindow

    If I am right, currently you are having a QGroupBox inside QSplitter. Instead, add QScrollArea to QSplitter and then add QGroupBox to QScrollArea. You will get the scrollbar as you need.

Similar Threads

  1. Replies: 11
    Last Post: 7th July 2006, 13:09
  2. Creating Widgets
    By hylke in forum Qt Programming
    Replies: 2
    Last Post: 5th February 2006, 08:37

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.