From: ironshirt <michaele818@gmail.com>
Subject: Re: How to create qlabels for a table via loop? (QtAda 3.2/GPS 2014 - Beginners question)
Date: Mon, 07 Jul 2014 20:06:52 -0500
Date: 2014-07-07T20:06:52-05:00 [thread overview]
Message-ID: <l8-dne2t4cCx2SbOnZ2dnUVZ_gednZ2d@giganews.com> (raw)
In-Reply-To: rNednV-rV8jgwSrOnZ2dnUVZ_qGdnZ2d@giganews.com
Hi again,
meanwhile I found a solution for the problem and was able to populate the table via loop. Only the index is missing in the name, but this is something I will figure out by myself.
Here is the code of a simple test procedure if someone is interested.
procedure Populate_Table (Count : In Integer) is
begin
for n in 1 .. Count loop
Qt4.Table_Widgets.Set_Cell_Widget(Table,qt4.Q_Integer(n),qt4.Q_Integer(n),Qt4.Labels.Constructors.Create(Qt4.Strings.From_Ucs_4("Test")));
end loop;
end Populate_Table;
Regards
Michael
prev parent reply other threads:[~2014-07-08 1:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-05 2:01 How to create qlabels for a table via loop? (QtAda 3.2/GPS 2014 - Beginners question) ironshirt
2014-07-07 21:09 ` Adam Beneschan
2014-07-08 1:06 ` ironshirt [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox