[Qt-interest] QTableView single Row Selection

Donal O'Connor donaloconnor at gmail.com
Sun Apr 26 19:18:01 CEST 2009


setSelectionBehavior(QAbstractItemView::SelectRows);

On Sun, Apr 26, 2009 at 6:12 PM, Neel Basu <neel.basu.z at gmail.com> wrote:

> I've a QTableView
> and I want a row to be selected at a time just as it happens in KMail
> (attached kmail.png)
> I want my apps to look similer (in my application there is no sence to
> select
> a Cell or a Cell Changing Color on Mouseover) e.g. a Cell has no Identity A
> Row has an Identity
>
> Here Is How My Application is looking (attached myApp.png)
>
> How Can I make it look like that
>
> Thanks
> Neel
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090426/f902c823/attachment.html 


More information about the Qt-interest-old mailing list