[Interest] QTableView - only trigger edit event in lower part of cell
Michael Sué
sue at sf.mpg.de
Thu May 3 10:21:14 CEST 2018
Hi,
Alternatively, you could use a QLabel that displays a context menu if clicked on.
-Michael.
From: Interest <interest-bounces+sue=sf.mpg.de at qt-project.org> On Behalf Of Tony Rietwyk
Sent: Thursday, May 3, 2018 3:21 AM
To: interest at qt-project.org
Subject: Re: [Interest] QTableView - only trigger edit event in lower part of cell
Hi Frank,
You might have trouble with that on Mac - I found that the drop down happens even before the MousePress event is delivered. I ended up having to install an event filter and trap it there. But that was just floating combo boxes over an ordinary widget, not an ItemView / Delegate situation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180503/c1a01b49/attachment.html>
More information about the Interest
mailing list