Results 1 to 2 of 2

Thread: QGV: ItemIgnoresTransformations and RubberBand

  1. #1
    Join Date
    Jan 2007
    Posts
    45
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default QGV: ItemIgnoresTransformations and RubberBand

    I'm trying to use QGraphicsItem with ItemIgnoresTransformations flag and I have a problem with rubberband selection (selection by single click works fine): it seems that transformations are not ignored in by setSelectionArea function which is used during rubberband selection. Simple example:

    1. Create a scene, a view and scale the view by 10.
    2. Create Ellipse item with width 5 and ItemIgnoresTransformations flag
    It will appear in the view unscaled (5 pixel width, not 50)
    3. Try to select it using rubberband - it will act as if ellipse is 50 px width !

    Looks like a bug in QT. Are there anyone you can confirm ? Should I submit bugreport ?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QGV: ItemIgnoresTransformations and RubberBand

    Quote Originally Posted by Vladimir View Post
    Looks like a bug in QT. Are there anyone you can confirm ? Should I submit bugreport ?
    I'm able to reproduce the problem. I coudn't find anything relevant in Task Tracker so please submit a bug report.
    J-P Nurmi

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

    Vladimir (11th June 2007)

Similar Threads

  1. Draw rubberband line
    By Pang in forum Qt Programming
    Replies: 4
    Last Post: 13th July 2007, 23:09
  2. Problem with rubberband using Qwt5.0.1
    By luffy27 in forum Qwt
    Replies: 3
    Last Post: 27th May 2007, 17:31
  3. QGraphicsView rubberband selection
    By Vladimir in forum Qt Programming
    Replies: 2
    Last Post: 29th January 2007, 21:21
  4. Rubberband zoom
    By sreedhar in forum Qt Programming
    Replies: 3
    Last Post: 12th September 2006, 11:38
  5. Rubberband painting on multiselection in a list view
    By SkripT in forum Qt Programming
    Replies: 10
    Last Post: 19th March 2006, 11:13

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.