Results 1 to 17 of 17

Thread: About QScroll Area

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #14
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: About QScroll Area

    Quote Originally Posted by franco.amato View Post
    Yes it works. In the attached widget I already have a timer that move a timeline so the routine used by me seems perfect for my purpose.
    I don't see how using ensureVisible() is more "perfect" than setting the value of the scroll bar to 0 but have it your way...

    If this routine is so bad, why it exists? Seems done for my purpose
    "If division by 0 is a bad thing then why does division exist at all?"

    In other words, I didn't say the routine is bad, I said it's bad in your case (actually it's not that bad in this situation but once you start adding more functionality it might become bad).
    Last edited by wysota; 26th January 2010 at 17:06.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. About visual area
    By calmspeaker in forum Qt Programming
    Replies: 0
    Last Post: 16th March 2009, 13:14
  2. Replies: 19
    Last Post: 26th November 2008, 19:54
  3. Qt From Without Title area
    By nleverin in forum Newbie
    Replies: 3
    Last Post: 7th March 2008, 06:45
  4. scroll area like QGraphicsItem
    By Gopala Krishna in forum Qt Programming
    Replies: 1
    Last Post: 7th February 2008, 11:28
  5. select a particular area
    By vishesh in forum Qt Programming
    Replies: 4
    Last Post: 28th February 2007, 21:44

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.