Results 1 to 2 of 2

Thread: How to fix an Item on QgraphicsView hole.

  1. #1
    Join Date
    Jul 2011
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to fix an Item on QgraphicsView hole.

    Hi,

    I have a large scene with many items inside. The user can navigate on in by scrolling and other but I wish that an my custom object remain alway on the top-left of the QGraphicsView hole. What is the manner for to do this?

    Thank you all.

  2. #2
    Join Date
    Feb 2008
    Posts
    491
    Thanks
    12
    Thanked 142 Times in 135 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: How to fix an Item on QgraphicsView hole.

    Two ways to accomplish this are described in this thread.

Similar Threads

  1. Replies: 1
    Last Post: 16th December 2009, 02:48
  2. QGraphicsView to follow Item?
    By sven-kt in forum Qt Programming
    Replies: 5
    Last Post: 25th August 2009, 08:40
  3. MDI display Item in QGraphicsView
    By wisconxing in forum Qt Programming
    Replies: 1
    Last Post: 7th November 2008, 00:11
  4. long running paint + menu hole
    By hvw59601 in forum Qt Programming
    Replies: 1
    Last Post: 1st November 2007, 13:04
  5. QGraphicsView and item focus
    By Micawber in forum Qt Programming
    Replies: 3
    Last Post: 22nd June 2007, 20:36

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.