[PyQt] Scripted selection of items in QTableView

Saeed Bakhshmand saeedbakhshmand at gmail.com
Thu Aug 4 16:12:59 BST 2016


Perfect, Thanks Florian.

On Tue, Aug 2, 2016 at 5:16 PM, Florian Bruhin <me at the-compiler.org> wrote:

> * Saeed Bakhshmand <saeedbakhshmand at gmail.com> [2016-08-02 16:24:25
> -0400]:
> > Right, how can I create a QItemSelection with a desired list of indices
> > (e.g. [[2,4],[3,5],[1,4]]) instead of rectangular area?
>
> By using the overload taking a QModelIndex which I mentioned in my
> mail ;)
>
> Florian
>
> --
> http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
>    GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
>          I love long mails! | http://email.is-not-s.ms/
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160804/e05ee958/attachment.html>


More information about the PyQt mailing list