[Qt-interest] Looking for some alternative of CListCtrl of MFCs

Deepak Gupta mailmeatdkg at gmail.com
Sun Jun 28 20:47:55 CEST 2009


I am new to QT.
I started reading the MVC theory of QT and want to quickly do some hands on.
Can any one point me some example in examples directory which uses QListView
and QStandardItemModel together.

Regards
Deepak

On Sat, Jun 27, 2009 at 3:12 AM, Deepak Gupta <mailmeatdkg at gmail.com> wrote:

> hmm it seems I need to look at QT's MVC infra.
>
> Thanks Scott.
>
> Regards
> Deepak
>
> On Sat, Jun 27, 2009 at 3:02 AM, Scott Aron Bloom <
> Scott.Bloom at sabgroup.com> wrote:
>
>>  QListView handles all that you have asked for.
>>
>>
>>
>> Its all in the model..
>> Scott
>>
>>
>>
>> *From:* qt-interest-bounces at trolltech.com [mailto:
>> qt-interest-bounces at trolltech.com] *On Behalf Of *Deepak Gupta
>> *Sent:* Friday, June 26, 2009 2:30 PM
>> *To:* qt-interest at trolltech.com
>> *Subject:* [Qt-interest] Looking for some alternative of CListCtrl of
>> MFCs
>>
>>
>>
>> Hello Folks,
>>
>> I am looking for some alternative of CListCtrl of MFC in QT 4.5
>>
>> I tried to use QListView and corresponding widget class but it seems that
>> in QT 4.5 these classes no longer supports adding extra columns.
>>
>> Also I need to provide checkboxes for selection/deselection in each of my
>> row in the view.
>>
>> Can any one suggest me on which class to use for this?
>>
>> Regards
>> Deepak
>>
>> _______________________________________________
>> 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/20090629/2374a73b/attachment.html 


More information about the Qt-interest-old mailing list