[Qt-interest] mousePress Eveent disabling QTreeWidgetItemandchildIndicator

sarvesh saran aquarian.thunder at gmail.com
Tue Mar 22 09:05:00 CET 2011


On Tue, Mar 22, 2011 at 1:12 PM, Sujan Dasmahapatra <sdh at lmwindpower.com>wrote:

>  Hi Tony
>
> So what can be done to achieve this. How could I know when the
> childIndicator is clicked. I  want to expand the items when child Indicator
> is clicked.
>

Hi,

Add  QTreeWidget::mousePressEvent(event);

You may also want to read this article:
http://labs.qt.nokia.com/2006/05/27/mouse-event-propagation/


thanks,
Sarvesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110322/c993fd6b/attachment.html 


More information about the Qt-interest-old mailing list