[Qt-interest] double clicking on a QHeaderView Item
David Boosalis
david.boosalis at gmail.com
Fri Apr 23 21:59:58 CEST 2010
Hi.
I have a QTreeView for which I recently add a slot to catch its
QHeaderView::sectionDoubleClicked(int). The trouble is that after or before
it gets into my slot it toggles the order on the header from ascending to
decending and vice versa. I want the toggle behavior but only for a single
click.
How can I capture a double click on a header view section and not get a
single click
Thanks for any help you can provide.
-David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100423/19e31a0a/attachment.html
More information about the Qt-interest-old
mailing list