Results 1 to 2 of 2

Thread: QGraphicsScene Click / Double Click

  1. #1
    Join Date
    Jan 2007
    Posts
    2
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default QGraphicsScene Click / Double Click

    I'm using QGraphicsScene and associated classes to handle mouse input. I've noticed that when I click in one place and then click in another, a mouse press event is sometimes not generated for the second click. I'm assuming it's being interpreted as a double click, but it seems like the time delay is way too long and clicks in different places shouldn't be interpreted as a double click anyway. Is there an easy way to fix this behavior?

  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: QGraphicsScene Click / Double Click

    how about setting QApplication::doubleClickInterval ??
    QApplication::setDoubleClickInterval

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

    philentropist (9th February 2007)

Similar Threads

  1. QTreeWidget double click signal
    By Pinco Pallino in forum Newbie
    Replies: 2
    Last Post: 18th November 2006, 17:37
  2. Push button double click
    By curtisw in forum Qt Programming
    Replies: 3
    Last Post: 15th February 2006, 17:40
  3. Replies: 5
    Last Post: 12th January 2006, 16:40

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.