[Qt-interest] Knowing when a QTreeWidgetItem label is about to be edited

Bob Hood bhood2 at comcast.net
Fri Feb 19 18:08:41 CET 2010


Ender EREL wrote:
> QTreeWidget has an itemDoubleClicked ( QTreeWidgetItem * item, int 
> column ) signal. I think you can use that since editing operation 
> begins by a double click.
>
> But if itemDoubleClicked is emitted after focusOutEvent, you still may 
> have a problem.

No, as it turns out, it is emitted afterward.  So, I was able to
leverage that to do what I needed to.  Thanks for the heads-up, Ender.




More information about the Qt-interest-old mailing list