Results 1 to 2 of 2

Thread: synchronize scrollbar

  1. #1
    Join Date
    Jul 2012
    Posts
    27
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default synchronize scrollbar

    hello

    I have 2 graphicsview each with a separate scrollbar, as seen in the image. I wonder how I can synchronize, so that the move one the other moves too.

    thanks

    sin grilla.jpg

  2. #2
    Join Date
    Jul 2012
    Posts
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: synchronize scrollbar

    Quote Originally Posted by jackajack01 View Post
    hello

    I have 2 graphicsview each with a separate scrollbar, as seen in the image. I wonder how I can synchronize, so that the move one the other moves too.

    thanks

    sin grilla.jpg
    If you're using QScrollArea with verticalscrollbar, you may use "scrollArea->verticalScrollBar()->setRange" and "scrollArea->verticalScrollBar()->setvalue".

Similar Threads

  1. synchronize QWebPage
    By januszmk in forum Newbie
    Replies: 0
    Last Post: 4th August 2012, 11:45
  2. Synchronize with Editor
    By dwarnold45 in forum Newbie
    Replies: 0
    Last Post: 31st March 2010, 04:40
  3. synchronize threads
    By weixj2003ld in forum Qt Programming
    Replies: 3
    Last Post: 10th April 2009, 07:08
  4. Is there any way to synchronize the display of images
    By kiransu123 in forum General Programming
    Replies: 2
    Last Post: 17th March 2007, 20:50
  5. synchronize two QSplitters
    By sreedhar in forum Qt Programming
    Replies: 1
    Last Post: 22nd February 2007, 17:14

Tags for this Thread

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.