[Qt-interest] QTreeView activated signal on single click
Abhishek
abhishekworld at gmail.com
Mon Oct 26 03:33:22 CET 2009
Hi,
send some code..
On Thu, Oct 15, 2009 at 5:33 PM, Thomas <t at v.com> wrote:
> All,
>
> I have a QTreeView and would like to receive the activated event on a
> single
> left mouse click. I traced the code back to this line in
> qabstractitemview.cpp (#1664):
>
> if (style()->styleHint(QStyle::SH_ItemView_ActivateItemOnSingleClick, 0,
> this))
> emit activated(index);
>
> This condition is false. I use Windows and also tried various -style
> options
> but no luck. Also I'm pretty sure this was working earlier.
> How can I change this behaviour and what could change it?
>
> Thanks,
> Thomas
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
--
Abhishek Patil
"Imagination is more important than knowledge..." -Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091026/e588677a/attachment.html
More information about the Qt-interest-old
mailing list