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

Scott Aron Bloom Scott.Bloom at sabgroup.com
Sun Jun 28 21:26:52 CEST 2009


Take a look at the itemviews directory of the examples area...

 

QStandardItemModel and QListView are both used.. however separately...

 

But... after reading the MVD (delegates not controllers in QT J ) docs
from QT, and looking at all the itemviews examples  I would recommend
swapiping in and out the differtent types of views  and seeing the
results.

 

Scott

 

From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Deepak Gupta
Sent: Sunday, June 28, 2009 11:48 AM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] Looking for some alternative of CListCtrl of
MFCs

 

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/20090628/ec7c6055/attachment.html 


More information about the Qt-interest-old mailing list