Re: [ROOT] Slider-Label-Combo connection

From: Kirill Shileev (kir@al20.inr.troitsk.ru)
Date: Wed May 23 2001 - 15:23:02 MEST


Hi Fons,
My point is there is no slot like TGLable::SetText(Int_t).
This forces me to implement some another method who's responsible for
convertion int->string. I guess this facility would be very convinient.
Consider as example slider-LCD in Qt.

Regards, Kirill

On Tue, 22 May 2001, Fons Rademakers wrote:

> Hi Kirill,
> 
>   I am not sure I completely understand what you mean. Note that you can
> connect as many signals to a single slot as you want. So PositionChanged(Int_t)
> can be connected to more than one slot. Also you can find out the slider
> that was the sender using the gQTSender global object
> (see $ROOTSYS/tutorials/guitest.C) so you don't need to keep a pointer of the
> slider in your class since you can retrieve it via gQTSender in the slot method.
> 
> Cheers, Fons.
> 



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:46 MET