Results 1 to 3 of 3

Thread: QGraphicsView + steady Items

  1. #1
    Join Date
    Dec 2009
    Posts
    50
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default QGraphicsView + steady Items

    Hi Everybody

    I have a scene with some items on it and I apply some transform operations to the graphicsview( rotate, move, zoomin, zoomout). But I want to keep some buttons( may be Items) on the right top corner of the scene no meter what.

    If I rotate the scene these buttons should not be rotated or so. So I want some items ignores view transforms(if needed) or something like that.
    That is the best way to achieve it? I just need some directions...

    P.s. The task is to create some controls on the scene to manipulate scene. Controls should be on the same positions all the time.

    Thank you!

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QGraphicsView + steady Items

    QGraphicsItem::ItemIgnoresTransformations
    Only if you had searched in assistant.. QGraphicsItem::ItemIgnoresTransformations !!

  3. The following user says thank you to aamer4yu for this useful post:

    medved6 (25th August 2010)

  4. #3
    Join Date
    Dec 2009
    Posts
    50
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QGraphicsView + steady Items

    thank you!! I did in the past%-)

Similar Threads

  1. Replies: 2
    Last Post: 20th August 2010, 05:18
  2. Replies: 8
    Last Post: 1st October 2009, 10:07
  3. Position of Items in QGraphicsScene/QGraphicsView
    By StefanK2 in forum Qt Programming
    Replies: 11
    Last Post: 7th July 2009, 14:04
  4. 3D Items ( Bug )
    By ashishsaryar in forum Qt Programming
    Replies: 2
    Last Post: 21st February 2008, 08:52
  5. QGraphicsView overlapping items
    By juliarg in forum Newbie
    Replies: 1
    Last Post: 5th April 2007, 09:35

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.