[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] qtablewidget multi cell editing
From: David Cortesi <davecortesi () gmail ! com>
Date: 2013-05-29 15:31:28
Message-ID: CALyzANvnB2+inM223bm8N0XjX+h2Fse=AmTLHjH8F3z=XDpxwA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
> From: Christopher Evans <chris.evans@gmail.com>
>
> anyone know a way to select multiple cells and edit them, a la excel and
> other packages? Do i need to write custom code, or is this supported?
>
You need to set the Selection Mode. In the Qt Assistant page for
QTableWidget, click "List of all members, including inherited members"
and you will find setSelectionMode() and a link to the SelectionMode
enum which has the things you want.
[Attachment #5 (text/html)]
<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">
From: Christopher Evans <<a \
href="mailto:chris.evans@gmail.com">chris.evans@gmail.com</a>><br> <br>
anyone know a way to select multiple cells and edit them, a la excel and<br>
other packages? Do i need to write custom code, or is this \
supported?<br></blockquote><div><br></div>You need to set the Selection Mode. In the \
Qt Assistant page for<br></div><div class="gmail_quote">QTableWidget, click \
"List of all members, including inherited members"<br>
and you will find setSelectionMode() and a link to the SelectionMode<br>enum which \
has the things you want.<br><br></div></div></div>
_______________________________________________
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