Hi Kirill, TGLabel now has a SetText(Int_t). Cheers, Fons. Kirill Shileev wrote: > > 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. > > -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:47 MET