Results 1 to 4 of 4

Thread: Qt 5 on OS X: QComboBox doesn't receive mouseDoubleClickEvent()

  1. #1
    Join Date
    Mar 2010
    Posts
    319
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    1
    Thanked 14 Times in 12 Posts

    Default Qt 5 on OS X: QComboBox doesn't receive mouseDoubleClickEvent()

    Hi,

    I have just converted my project to Qt 5 and though it builds fine on OS X, I have a QTreeView-based widget which uses delegates to to show a cell's value using a QComboBox-based widget. Now, with that QComboBox-based widget handles double clicks (through mouseDoubleClickEvent()), and it all used to work fine before I ported my project to Qt 5. However, now, if I double click on that QComboBox-based widget, nothing happens. I have tried my Qt 5 port on Windows, and everything works as expected, so I get the feeling that something funny is happening on OS X, but I can't tell what. Anyone, any ideas?...

    Cheers, Alan.

  2. #2
    Join Date
    Jul 2012
    Posts
    123
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    4
    Thanked 2 Times in 2 Posts

    Default Re: Qt 5 on OS X: QComboBox doesn't receive mouseDoubleClickEvent()

    try post some code

  3. #3
    Join Date
    Mar 2010
    Posts
    319
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    1
    Thanked 14 Times in 12 Posts

    Default Re: Qt 5 on OS X: QComboBox doesn't receive mouseDoubleClickEvent()

    I have finally got a chance to create a bug report for the issue above: https://bugreports.qt-project.org/browse/QTBUG-29398 (incl. some sample code that illustrates the issue).

  4. #4
    Join Date
    Mar 2010
    Posts
    319
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    1
    Thanked 14 Times in 12 Posts

    Default Re: Qt 5 on OS X: QComboBox doesn't receive mouseDoubleClickEvent()

    FWIW, a workaround was given in the issue I reported (https://bugreports.qt-project.org/browse/QTBUG-29398).

Similar Threads

  1. UDP socket doesn't receive packets
    By Cruz in forum Qt Programming
    Replies: 6
    Last Post: 31st July 2018, 16:44
  2. QComboBox setCurrentIndex doesn't work
    By trallallero in forum Qt Programming
    Replies: 4
    Last Post: 8th November 2011, 09:37
  3. QComboBox Signals doesn't invoke the called function
    By ladiesfinger in forum Qt Programming
    Replies: 6
    Last Post: 30th December 2010, 17:20
  4. QComboBox doesn't update when on hidden widget
    By martinb0820 in forum Qt Programming
    Replies: 1
    Last Post: 10th December 2010, 23:09
  5. Quite weird. mouseDoubleClickEvent doesn't work
    By yunshichen in forum Newbie
    Replies: 1
    Last Post: 23rd August 2010, 20:50

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
  •  
Qt is a trademark of The Qt Company.