trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: December 2016

Re: [trinity-users] Displaying QMap objects in a dialog

From: Leslie Turriff <jlturriff@...>
Date: Tue, 6 Dec 2016 05:34:45 -0600
On 2016-12-06 04:33:54 Michele Calgaro wrote:
> If I understand correctly, you want a two-column widget to show key-value
> from a map. Easiest things that come to mind are:
>
> 1) use TQTable, probably the quickest way
> 2) use a TQListView with two columns, also quick quick
>
> You can ofcourse do more fancy stuff with subclassing, but I don't really
> see a need for this here, as long as my understanding is correct.
>
> Cheers
>   Michele

	Ah! TQListView looks like just the ticket.  I somehow overlooked that one 
while finding TQListBox and TQTable.  Thanks for your help.

Leslie