[Qt-interest] Question regarding QTableView 4.5
Patric
userqt at gmail.com
Sat Jul 4 17:07:45 CEST 2009
Thank you, Diego. I was actually asking concrete about QStandardItemModel .
But I'll take a look at the learning video materials at that website.
Regards,
Patric
----- Original Message -----
From: "Diego Schulz" <dschulz at gmail.com>
To: "qtInterest" <qt-interest at trolltech.com>
Sent: Saturday, July 04, 2009 5:22 PM
Subject: Re: [Qt-interest] Question regarding QTableView 4.5
> 2009/7/4 Patric <userqt at gmail.com>:
>> Hello,
>> is there an easy way to set the text alignment for cells in QTableView,
>> using QStandardItemModel ?
>>
>> Thank you
>> Patric
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>
>
> It depends on what you mean by "easy way" :)
> There's a great article about this in the documentation.
> http://doc.trolltech.com/4.5/model-view-creating-models.html
>
> I think you're interested in the concept of Roles.
>
> Also, there's an excellent webcast on Model/View framework at
> http://www.ics.com/learning/icsnetwork/
>
> IIRC, you will need to register (for free) at ICS website in order to
> be able to download.
>
> regards,
>
> diego
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list