comp.lang.ada
 help / color / mirror / Atom feed
From: ironshirt <michaele818@gmail.com>
Subject: How to create qlabels for a table via loop? (QtAda 3.2/GPS 2014 - Beginners question)
Date: Fri, 04 Jul 2014 21:01:33 -0500
Date: 2014-07-04T21:01:33-05:00	[thread overview]
Message-ID: <rNednV-rV8jgwSrOnZ2dnUVZ_qGdnZ2d@giganews.com> (raw)

Hi all! 

I decided to learn some programming and just started with Ada + Qt a week ago. So far so good, but the last days I have issues with the attempt to populate a QTable with a certain number (20) of QLabels via 'for' loop.  Is this generally possible? At the moment only the name of the label should be set (for the sake of simplicity) as 'index1' to 'index20'.

Creating a single label and adding it to the table was no problem, but I couldn't figure out how to do this in a loop.
The declaration seems to be the sticking point. Hopefully someone here can give me a hint, or even better, a short example if possible.
Thanks in advance!

Regards
Michael
http://compgroups.net/comp.lang.ada/


             reply	other threads:[~2014-07-05  2:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-05  2:01 ironshirt [this message]
2014-07-07 21:09 ` How to create qlabels for a table via loop? (QtAda 3.2/GPS 2014 - Beginners question) Adam Beneschan
2014-07-08  1:06 ` ironshirt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox