Trolltech Home | Marketplace Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Marketplace Archive, November 2006
Column size of QListView


Message 1 in thread

Hi,

I am using a QListView together with an QAbstractListModel just to show a
list of strings (with check boxes in front of them) .
My problem (perhaps a stupid one): I'd like to make this QListView resize
itself, so that the 'longest' item in the list is shown completely but not
more. Has anybody a hint for me (it must be simple, I know...)

Thanks a lot
Shaka

To unsubscribe - send "unsubscribe" in the subject to marketplace-request@xxxxxxxxxxxxx


Message 2 in thread

shaka a écrit :

>Hi,
>
>I am using a QListView together with an QAbstractListModel just to show a
>list of strings (with check boxes in front of them) .
>My problem (perhaps a stupid one): I'd like to make this QListView resize
>itself, so that the 'longest' item in the list is shown completely but not
>more. Has anybody a hint for me (it must be simple, I know...)
>  
>
a suggestion.... send this kind of Qt technical question to the good 
list (qt-interest@xxxxxxxxxxxxx  for example)

>Thanks a lot
>Shaka
>
>To unsubscribe - send "unsubscribe" in the subject to marketplace-request@xxxxxxxxxxxxx
>
>
>  
>

To unsubscribe - send "unsubscribe" in the subject to marketplace-request@xxxxxxxxxxxxx