Results 1 to 1 of 1

Thread: Qslider inside qgraphicsview

  1. #1
    Join Date
    Oct 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Qslider inside qgraphicsview

    HELLO,
    I create inside a QGraphicsView a slider vertical bar adding it like QGraphicsProxyWidget.
    I want that if the user move inside the view(moving scroll bar for example) is always visibile.

    To do this i use SetPos inside paintEvent of my view.

    But if the user move very fast the scroll bar i see the effect you can see in attachment, the slider is like paint in different position.

    I'm wrong in something?

    Thanks in advance
    Attached Images Attached Images

Similar Threads

  1. QGraphicsView inside of QAbstractItemView viewport
    By Paladin12 in forum Qt Programming
    Replies: 5
    Last Post: 24th January 2016, 14:15
  2. Replies: 4
    Last Post: 1st December 2011, 19:53
  3. Replies: 0
    Last Post: 1st December 2011, 10:37
  4. Replies: 3
    Last Post: 8th December 2010, 05:42
  5. Resizing QGraphicsView inside a QGridLayout
    By mckinnon in forum Newbie
    Replies: 3
    Last Post: 9th September 2010, 10:15

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.