Results 1 to 3 of 3

Thread: Port inherited QScrollView which contains custom widgets to Qt4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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: Port inherited QScrollView which contains custom widgets to Qt4

    In Qt 4 you would construct and install a layout on a plain QWidget and set that widget inside the scroll area with QScrollArea::setWidget().
    J-P Nurmi

  2. #2
    Join Date
    May 2008
    Posts
    2

    Default Re: Port inherited QScrollView which contains custom widgets to Qt4

    Quote Originally Posted by jpn View Post
    In Qt 4 you would construct and install a layout on a plain QWidget and set that widget inside the scroll area with QScrollArea::setWidget().
    Thank you. How would I go about getting the count of the number of widgets in the layout and subsequently getting an iterator for them?

Similar Threads

  1. picking geometry in qt custom widgets
    By notsonerdysunny in forum Qt Programming
    Replies: 2
    Last Post: 17th July 2007, 23:01

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.