[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] mouse hover, editable, QListview
From: M Chauhan <mrch81 () gmail ! com>
Date: 2010-08-27 7:51:06
Message-ID: AANLkTi=M=M36LygKbCOu=hZFV7vLE1XhdtAkAxN=Ly6m () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thanks Zoltan,
The snippet and the link has helped. It's exactly what I was looking for.
Best Regards,
Mrugesh.
On 26 August 2010 14:30, Zoltan Szalai <defaultdict@gmail.com> wrote:
> hey,
>
> check the code snippet attached.
> it may not perfect but i hope it help you get started.
>
> to keep an editor open you can use the openPersistentEditor method of
> QAbstractItemView.
> http://doc.qt.nokia.com/4.6/qabstractitemview.html#openPersistentEditor
>
>
>
> On 2010.08.25. 17:13, M Chauhan wrote:
>
>> Dear all,
>>
>> How can I make an item in a listview editable on mouse hover?
>>
>> I already tried "AllEditTriggers" but it doesn't work.
>>
>> Or is there a way to keep item editable by default?
>>
>> Any suggestion or hints will help.
>>
>> Kind regards,
>> Mru
>>
>>
> _______________________________________________
> PyQt mailing list PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
[Attachment #5 (text/html)]
Thanks Zoltan,<br><br>The snippet and the link has helped. It's exactly what I \
was looking for. <br><br>Best Regards,<br>Mrugesh.<br><br><br><div \
class="gmail_quote">On 26 August 2010 14:30, Zoltan Szalai <span dir="ltr"><<a \
href="mailto:defaultdict@gmail.com">defaultdict@gmail.com</a>></span> wrote:<br> \
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px \
solid rgb(204, 204, 204); padding-left: 1ex;"> hey,<br> <br>
check the code snippet attached.<br>
it may not perfect but i hope it help you get started.<br>
<br>
to keep an editor open you can use the openPersistentEditor method of \
QAbstractItemView.<br> <a \
href="http://doc.qt.nokia.com/4.6/qabstractitemview.html#openPersistentEditor" \
target="_blank">http://doc.qt.nokia.com/4.6/qabstractitemview.html#openPersistentEditor</a><div><div></div><div \
class="h5"><br> <br>
<br>
On 2010.08.25. 17:13, M Chauhan wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px \
solid rgb(204, 204, 204); padding-left: 1ex;"> Dear all,<br>
<br>
How can I make an item in a listview editable on mouse hover?<br>
<br>
I already tried "AllEditTriggers" but it doesn't work.<br>
<br>
Or is there a way to keep item editable by default?<br>
<br>
Any suggestion or hints will help.<br>
<br>
Kind regards,<br>
Mru<br>
<br>
</blockquote>
</div></div><br>_______________________________________________<br>
PyQt mailing list <a \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br> <a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" \
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br>
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic