Thank you Andreas for your suggestion.<br><br><br><div class="gmail_quote">On 5 March 2010 07:22, Andreas Pakulat <span dir="ltr">&lt;<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On 04.03.10 17:52:01, Russell Valentine wrote:<br>
&gt; rows=[]<br>
&gt; for idx in self.table.selectedIndexes()<br>
&gt;       rows.append(idx.row())<br>
<br>
</div>Better would be using self.table.selectionModel().selectedRows(), the<br>
above can add duplicates to your list of rows if multiple columns are<br>
selected.<br>
<br>
Andreas<br>
<font color="#888888"><br>
--<br>
Accent on helpful side of your nature.  Drain the moat.<br>
</font><div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br>