Results 1 to 3 of 3

Thread: QScrollArea

  1. #1
    Join Date
    Dec 2007
    Posts
    15
    Qt products
    Qt4 Qt/Embedded

    Default QScrollArea

    Hi All,

    I am just wondering for QScrollArea, is there any way to find out what's the actual portion of the widget that's displayed in the scrollArea? For example, setting widget A into QScrollArea, and scroll the content using scroll bar, is there anyway to know what's the top and bottom of the widget that's fit into the scroll area?

    Thanks!

  2. #2
    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: QScrollArea

    A wild guess, QWidget::visibleRegion().
    J-P Nurmi

  3. #3
    Join Date
    Dec 2007
    Posts
    15
    Qt products
    Qt4 Qt/Embedded

    Default Re: QScrollArea

    awesome, thanks!

Similar Threads

  1. QScrollArea
    By sabeesh in forum Qt Programming
    Replies: 7
    Last Post: 2nd November 2007, 10:33
  2. QScrollArea and resizing
    By rarefluid in forum Qt Programming
    Replies: 8
    Last Post: 22nd July 2007, 14:18
  3. QScrollArea With Custom Widgets
    By VireX in forum Qt Programming
    Replies: 30
    Last Post: 22nd April 2007, 16:48
  4. Replies: 2
    Last Post: 8th October 2006, 20:14
  5. Replies: 7
    Last Post: 20th September 2006, 14:45

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.