Re: signal/slot question

From: Ilka Antcheva <Ilka.Antcheva_at_cern.ch>
Date: Fri, 12 Jan 2007 17:22:50 +0100


Hi Nagaraj,

Please find attached as an example the macro numberEntry2.C. It shows a way of sending the ValueSet signal of TGNumberEntry in fixed intervals (350ms). Thanks to signals/slots communication mechanism, the three labels below the number entry will be updated immediately after the number entry value changes. I made a small loop of iterations for automatically update. After it finishes, you can change the number entry value by entering a number or by using the up/down arrows.

Cheers, Ilka

Nagaraj Panyam wrote:
> Hi,
>
> Its a novice level question, I am afraid.
>
> How do I update a GUI display atregular intervals?
> For example, I am trying to create a GUI display for a hardware
> scaler/counter. What/how should I emit a signal at fixed intervals of
> time? And if I have 12 counters in the module, how do I update all the
> displays with one emitted signal?
>
> Thankful for ny help/tips or example.
>
> Regards,
> Nagaraj
>
>

Received on Fri Jan 12 2007 - 17:25:45 CET

This archive was generated by hypermail 2.2.0 : Fri Jan 12 2007 - 23:50:00 CET