[Qt-interest] mousePress Eveent disablingQTreeWidgetItemandchildIndicator drag and Drop
Sujan Dasmahapatra
sdh at lmwindpower.com
Thu Mar 24 05:42:31 CET 2011
Dear Friends
If I implement mousePressEven() then my QTreeWidget basic
functionalities are carrying off, please tell me some other way of
implementing drag and drop for QTreeWidgetItems.Without reimplementing
mousePressEvent. How can we achieve this using
'startDrag(Qt::DropActions supportedActions)'.
Any help is highly appreciated. Thanks sujan
Kind Regards,
Sujan Dasmahapatra
Project Leader, Aero Group
Aero Group
Tel +91 80 66470248
Mob
sdh at lmwindpower.com <mailto:%25EMAIL%25>
LM Wind Power Blades
lmwindpower.com
Together we capture the wind to power a cleaner world
________________________________
This e-mail and any attachments are confidential. If you are not the
named or intended recipient, please notify the sender immediately and do
not disclose the contents to any other person, use it for any purpose,
or store or copy the information in any medium. Any unauthorized
disclosure, use or storage is prohibited and might be unlawful.
From: qt-interest-bounces+sdh=lmwindpower.com at qt.nokia.com
[mailto:qt-interest-bounces+sdh=lmwindpower.com at qt.nokia.com] On Behalf
Of sarvesh saran
Sent: Tuesday, March 22, 2011 1:35 PM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] mousePress Eveent
disablingQTreeWidgetItemandchildIndicator
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/20110324/5d04886f/attachment.html
More information about the Qt-interest-old
mailing list