Thank you Andreas for your suggestion.
On 5 March 2010 07:22, Andreas Pakulat <[email protected]> wrote: > On 04.03.10 17:52:01, Russell Valentine wrote: > > rows=[] > > for idx in self.table.selectedIndexes() > > rows.append(idx.row()) > > Better would be using self.table.selectionModel().selectedRows(), the > above can add duplicates to your list of rows if multiple columns are > selected. > > Andreas > > -- > Accent on helpful side of your nature. Drain the moat. > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt >
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
