Results 1 to 1 of 1

Thread: Need to double-click twice to edit QGraphicsTextItem

  1. #1
    Join Date
    Apr 2015
    Posts
    12
    Thanks
    1
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Need to double-click twice to edit QGraphicsTextItem

    Hi,
    I have 2 QGraphicsTextItem's (custom class) added in a QGraphicsView scene and a mouseDoubleClickEvent in this custom class.
    The first time I double-click on one of the QGraphicsTextItem's, the mouseDoubleClickEvent event IS fired.
    However all subsequent times, I need to double-click TWICE on these custom QGraphicsTextItem's to get the mouseDoubleClickEvent event fired.
    How can I set it to a simple double-click every time ?
    Thanks
    Last edited by EarthHobbit; 19th May 2015 at 22:05.

Similar Threads

  1. Edit QGraphicsTextItem when click on it
    By flavien317 in forum Qt Programming
    Replies: 2
    Last Post: 5th September 2021, 17:08
  2. Replies: 4
    Last Post: 11th January 2014, 04:06
  3. Replies: 2
    Last Post: 16th July 2012, 13:40
  4. Replies: 2
    Last Post: 23rd December 2010, 09:53
  5. Replies: 2
    Last Post: 12th January 2009, 00:24

Tags for this Thread

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.