[Qt-interest] How do I choose the number of rows that a QListWidget displays?

Scott Aron Bloom Scott.Bloom at sabgroup.com
Tue Mar 17 21:47:55 CET 2009


The number of rows for QListWidget is based on the count in the items that you add..

 

It changes for every addItem and addItems (or inserItem and deleteItem)

 

Scott

 

 

From: Robert Allan Schwartz [mailto:notbob at tessellation.com] 
Sent: Tuesday, March 17, 2009 11:16 AM
To: qt-interest at trolltech.com; Scott Aron Bloom
Cc: Robert Allan Schwartz
Subject: RE: [Qt-interest] How do I choose the number of rows that a QListWidget displays?

 

Not meaning to be sarcastic, but I did read the docs; had I found the answer there, I would not have posted.

 

I haven't tried any functions, because I didn't find any functions that looked like they would do what I wanted.

 

I searched for 'row' in the doc pages for QListWidget and all of its base classes, and did not find what I was looking for.

 

Thanks,

 

Robert

 

 

	-------- Original Message --------
	Subject: Re: [Qt-interest] How do I choose the number of rows that a
	QListWidget displays?
	From: "Scott Aron Bloom" <Scott.Bloom at sabgroup.com>
	Date: Tue, March 17, 2009 2:12 pm
	To: <qt-interest at trolltech.com>

	Try reading the docs.

	 

	Let us know what functions you have tried..

	 

	I would do a search on ‘row’ in the QListWIdget help

	 

	Scott

	 

	From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com <mailto:qt-interest-bounces at trolltech.com> ] On Behalf Of Robert Allan Schwartz
	Sent: Tuesday, March 17, 2009 11:10 AM
	To: qt-interest at trolltech.com
	Subject: [Qt-interest] How do I choose the number of rows that a QListWidget displays?

	 

	Hi All,

	 

	Newbie here. This is my first post.

	 

	How do I choose the number of rows that a QListWidget displays?

	 

	Right now, different QListWidget's display different numbers of rows, and I don't know why.

	 

	Thanks,

	 

	Robert

	
________________________________


	_______________________________________________
	Qt-interest mailing list
	Qt-interest at trolltech.com
	http://lists.trolltech.com/mailman/listinfo/qt-interest <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/20090317/93945128/attachment.html 


More information about the Qt-interest-old mailing list