Logo ROOT  
Reference Guide
TEveGValuators.cxx
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #include "TEveGValuators.h"
13 
14 #include "TMath.h"
15 #include "TGLabel.h"
16 #include "TGSlider.h"
17 #include "TGDoubleSlider.h"
18 
19 /** \class TEveGValuatorBase
20 \ingroup TEve
21 Base class for composite GUI elements for setting of numeric values.
22 */
23 
25 
26 ////////////////////////////////////////////////////////////////////////////////
27 /// Constructor.
28 
30  UInt_t w, UInt_t h, Int_t widgetId) :
31  TGCompositeFrame(p, w, h), TGWidget(widgetId),
32 
33  fLabelWidth (0),
34  fAlignRight (kFALSE),
35  fShowSlider (kTRUE),
36 
37  fNELength (5),
38  fNEHeight (20),
39 
40  fLabel (0)
41 {
42  SetName(name);
43 }
44 
45 /** \class TEveGValuator
46 \ingroup TEve
47 Composite GUI element for single value selection (supports label,
48 number-entry and slider).
49 */
50 
52 
53 ////////////////////////////////////////////////////////////////////////////////
54 /// Constructor.
55 
56 TEveGValuator::TEveGValuator(const TGWindow *p, const char* title,
57  UInt_t w, UInt_t h, Int_t widgetId) :
58  TEveGValuatorBase(p, title, w, h, widgetId),
59 
60  fValue (0),
61  fMin (0),
62  fMax (0),
63 
64  fSliderNewLine (kFALSE),
65  fSliderDivs (-1),
66  fEntry (0),
67  fSlider (0)
68 {
69 }
70 
71 ////////////////////////////////////////////////////////////////////////////////
72 /// Create sub-components (label, number entry, slider).
73 
75 {
76  TGCompositeFrame *hf1, *hfs;
79  hf1 = new TGHorizontalFrame(this);
80  hf1->SetLayoutManager(new TGHorizontalLayout(hf1));
81  AddFrame(hf1, new TGLayoutHints(kLHintsTop, 0,0,0,0));
82  hfs = new TGHorizontalFrame(this);
83  hfs->SetLayoutManager(new TGHorizontalLayout(hfs));
84  AddFrame(hfs, new TGLayoutHints(kLHintsTop, 0,0,0,0));
85  } else {
86  hf1 = this;
87  hfs = this;
89  }
90 
91  // label
92  {
93  TGLayoutHints *labh, *labfrh;
94  if(fAlignRight) {
95  labh = new TGLayoutHints(kLHintsRight | kLHintsBottom, 0,0,0,0);
96  labfrh = new TGLayoutHints(kLHintsRight);
97  } else {
98  labh = new TGLayoutHints(kLHintsLeft | kLHintsBottom, 0,0,0,0);
99  labfrh = new TGLayoutHints(kLHintsLeft);
100  }
101  TGCompositeFrame *labfr =
104  fLabel = new TGLabel(labfr, fName);
105  labfr->AddFrame(fLabel, labh);
106  hf1->AddFrame(labfr, labfrh);
107  }
108 
109  // number-entry
110  TGLayoutHints* elh = new TGLayoutHints(kLHintsLeft, 0,0,0,0);
111  fEntry = new TGNumberEntry(hf1, 0, fNELength);
113  fEntry->GetNumberEntry()->SetToolTipText("Enter Slider Value");
114  hf1->AddFrame(fEntry, elh);
115 
116  if (connect)
117  fEntry->Connect("ValueSet(Long_t)",
118  "TEveGValuator", this, "EntryCallback()");
119 
120  // slider
121  if(fShowSlider) {
122  fSlider = new TGHSlider(hfs, GetWidth(), kSlider1 | kScaleBoth);
123  hfs->AddFrame(fSlider, new TGLayoutHints(kLHintsLeft|kLHintsTop, 1,1,0,0));
124 
125  if (connect)
126  fSlider->Connect("PositionChanged(Int_t)",
127  "TEveGValuator", this, "SliderCallback()");
128  }
129 }
130 
131 ////////////////////////////////////////////////////////////////////////////////
132 /// Set limits of the represented value.
133 
136 {
137  fMin = Float_t(min);
138  fMax = Float_t(max);
139  fEntry->SetFormat(nef);
141 
142  if(fSlider) {
143  fSliderDivs = npos - 1;
145  }
146 }
147 
148 ////////////////////////////////////////////////////////////////////////////////
149 /// Set limits of the represented value for integer values.
150 
152 {
153  fMin = Float_t(min);
154  fMax = Float_t(max);
157 
158  if(fSlider) {
159  fSliderDivs = max - min;
161  }
162 }
163 
164 ////////////////////////////////////////////////////////////////////////////////
165 /// Return slider position for given value.
166 
168 {
169  return (Int_t) TMath::Nint((v - fMin)*fSliderDivs/(fMax - fMin));
170 }
171 
172 ////////////////////////////////////////////////////////////////////////////////
173 /// Callback for change in number-entry.
174 
176 {
177  fValue = fEntry->GetNumber();
178  if(fSlider) {
180  }
181  ValueSet(fValue);
182 }
183 
184 ////////////////////////////////////////////////////////////////////////////////
185 /// Callback for change in slider position.
186 
188 {
191  ValueSet(fValue);
192 }
193 
194 
195 ////////////////////////////////////////////////////////////////////////////////
196 /// Emit "ValueSet(Double_t)" signal.
197 
199 {
200  Emit("ValueSet(Double_t)", val);
201 }
202 
203 ////////////////////////////////////////////////////////////////////////////////
204 /// Set value, optionally emit signal.
205 
207 {
208  fValue = val;
210 
211  if(fSlider){
213  }
214  if(emit)
215  ValueSet(val);
216 }
217 
218 ////////////////////////////////////////////////////////////////////////////////
219 /// Set the tooltip of the number-entry.
220 
221 void TEveGValuator::SetToolTip(const char* tip)
222 {
224 }
225 
226 ////////////////////////////////////////////////////////////////////////////////
227 /// Set enabled state of the whole widget.
228 
230 {
231  fEntry->GetNumberEntry()->SetEnabled(state);
232  fEntry->GetButtonUp()->SetEnabled(state);
233  fEntry->GetButtonDown()->SetEnabled(state);
234  if(fSlider) {
235  if(state) fSlider->MapWindow();
236  else fSlider->UnmapWindow();
237  }
238 }
239 
240 /** \class TEveGDoubleValuator
241 \ingroup TEve
242 Composite GUI element for selection of range (label, two
243 number-entries and double-slider).
244 */
245 
247 
248 ////////////////////////////////////////////////////////////////////////////////
249 /// Constructor.
250 
252  UInt_t w, UInt_t h, Int_t widgetId) :
253  TEveGValuatorBase(p, title, w, h, widgetId),
254 
255  fMinEntry(0),
256  fMaxEntry(0),
257  fSlider(0)
258 {
259 }
260 
261 ////////////////////////////////////////////////////////////////////////////////
262 /// Create sub-components (label, number entries, double-slider).
263 
265 {
266  TGCompositeFrame *hf1, *hfs;
267  if(fShowSlider) {
269  hf1 = new TGHorizontalFrame(this);
270  hf1->SetLayoutManager(new TGHorizontalLayout(hf1));
271  AddFrame(hf1, new TGLayoutHints(kLHintsTop));
272  hfs = new TGHorizontalFrame(this);
273  hfs->SetLayoutManager(new TGHorizontalLayout(hfs));
274  AddFrame(hfs, new TGLayoutHints(kLHintsTop));
275  } else {
276  hf1 = this;
277  hfs = this;
279  }
280 
281  // label
282  TGLayoutHints* lh;
283  if(fAlignRight)
284  lh = new TGLayoutHints(kLHintsRight | kLHintsBottom, 4,0,0,0);
285  else
286  lh = new TGLayoutHints(kLHintsLeft | kLHintsBottom, 0,4,0,0);
287 
288  if(fLabelWidth > 0) {
290  fLabel = new TGLabel(lf, fName);
291  lf->AddFrame(fLabel, lh);
292  // add label frame to top horizontal frame
293  TGLayoutHints* lfh = new TGLayoutHints(kLHintsLeft, 0,0,0,0);
294  hf1->AddFrame(lf, lfh);
295  } else {
296  fLabel = new TGLabel(hf1, fName);
297  hf1->AddFrame(fLabel, lh);
298  }
299 
300  // entries
301  fMinEntry = new TGNumberEntry(hf1, 0, fNELength);
303  fMinEntry->GetNumberEntry()->SetToolTipText("Enter Slider Min Value");
304  hf1->AddFrame(fMinEntry, new TGLayoutHints(kLHintsLeft, 0,0,0,0));
305  if (connect)
306  fMinEntry->Connect("ValueSet(Long_t)",
307  "TEveGDoubleValuator", this, "MinEntryCallback()");
308 
309  fMaxEntry = new TGNumberEntry(hf1, 0, fNELength);
311  fMaxEntry->GetNumberEntry()->SetToolTipText("Enter Slider Max Value");
312  hf1->AddFrame(fMaxEntry, new TGLayoutHints(kLHintsLeft, 2,0,0,0));
313  if (connect)
314  fMaxEntry->Connect("ValueSet(Long_t)",
315  "TEveGDoubleValuator", this, "MaxEntryCallback()");
316 
317  // slider
318  if(fShowSlider) {
320  hfs->AddFrame(fSlider, new TGLayoutHints(kLHintsTop|kLHintsLeft, 0,0,1,0));
321  if (connect)
322  fSlider->Connect("PositionChanged()",
323  "TEveGDoubleValuator", this, "SliderCallback()");
324  }
325 }
326 
327 ////////////////////////////////////////////////////////////////////////////////
328 /// Set limits of the represented range for integer values.
329 
331 {
336 
337  if(fSlider) {
338  fSlider->SetRange(min, max);
339  }
340 }
341 
342 ////////////////////////////////////////////////////////////////////////////////
343 /// Set limits of the represented range.
344 
347 {
348  // printf("TEveGDoubleValuator::SetLimits(Float_t min, Float_t max, Int_ \n");
350  fMinEntry->SetFormat(nef);
352  fMaxEntry->SetFormat(nef);
353 
354  if(fSlider) fSlider->SetRange(min, max);
355 }
356 
357 ////////////////////////////////////////////////////////////////////////////////
358 /// Callback for change in low number-entry.
359 
361 {
362  if(GetMin() > GetMax())
365  ValueSet();
366 }
367 
368 ////////////////////////////////////////////////////////////////////////////////
369 /// Callback for change in high number-entry.
370 
372 {
373  if(GetMax() < GetMin())
376  ValueSet();
377 }
378 
379 ////////////////////////////////////////////////////////////////////////////////
380 /// Callback for change in slider position / width.
381 
383 {
384  Float_t minp, maxp;
385  fSlider->GetPosition(minp, maxp);
386  fMinEntry->SetNumber(minp);
387  fMaxEntry->SetNumber(maxp);
388  ValueSet();
389 }
390 
391 ////////////////////////////////////////////////////////////////////////////////
392 /// Set min/max values, optionally emit signal.
393 
395 {
396  fMinEntry->SetNumber(min);
397  fMaxEntry->SetNumber(max);
398 
399  if(fSlider) fSlider->SetPosition(min, max);
400  if(emit) ValueSet();
401 }
402 
403 ////////////////////////////////////////////////////////////////////////////////
404 /// Emit "ValueSet()" signal.
405 
407 {
408  Emit("ValueSet()");
409 }
410 
411 /** \class TEveGTriVecValuator
412 \ingroup TEve
413 Composite GUI element for setting three numerical values (label,
414 three number-entries). All three values have the same number-format
415 and value-range.
416 */
417 
419 
420 ////////////////////////////////////////////////////////////////////////////////
421 /// Constructor.
422 
424  UInt_t w, UInt_t h, Int_t widgetId) :
425  TGCompositeFrame(p, w, h), TGWidget(widgetId),
426 
427  fLabelWidth (0),
428  fNELength (5),
429  fNEHeight (20)
430 {
431  SetName(name);
432 }
433 
434 ////////////////////////////////////////////////////////////////////////////////
435 /// Create sub-components (label, number entries).
436 
437 void TEveGTriVecValuator::Build(Bool_t vertical, const char* lab0, const char* lab1, const char* lab2)
438 {
439  if (vertical) SetLayoutManager(new TGVerticalLayout(this));
440  else SetLayoutManager(new TGHorizontalLayout(this));
441 
442  const char *labs[3] = { lab0, lab1, lab2 };
443  TGLayoutHints* lh;
444  for (Int_t i=0; i<3; ++i) {
445  fVal[i] = new TEveGValuator(this, labs[i], 10, 0);
450  fVal[i]->Build();
451  fVal[i]->Connect
452  ("ValueSet(Double_t)", "TEveGTriVecValuator", this, "ValueSet()");
453  if (vertical) lh = new TGLayoutHints(kLHintsTop, 1, 1, 1, 1);
454  else lh = new TGLayoutHints(kLHintsLeft|kLHintsExpandX, 1, 1, 1, 1);
455  AddFrame(fVal[i], lh);
456  }
457 }
458 
459 ////////////////////////////////////////////////////////////////////////////////
460 /// Emit "ValueSet()" signal.
461 
463 {
464  Emit("ValueSet()");
465 }
466 
467 ////////////////////////////////////////////////////////////////////////////////
468 /// Set limits for all three number-entries, integer values.
469 
471 {
472  for (Int_t i=0; i<3; ++i)
473  fVal[i]->SetLimits(min, max);
474 }
475 
476 ////////////////////////////////////////////////////////////////////////////////
477 /// Set limits for all three number-entries.
478 
481 {
482  for (Int_t i=0; i<3; ++i)
483  fVal[i]->SetLimits(min, max, 0, nef);
484 }
485 
TGButton::SetEnabled
virtual void SetEnabled(Bool_t e=kTRUE)
Set enabled or disabled state of button.
Definition: TGButton.cxx:412
TEveGValuator::ValueSet
void ValueSet(Double_t)
Emit "ValueSet(Double_t)" signal.
Definition: TEveGValuators.cxx:198
TEveGValuatorBase
Base class for composite GUI elements for setting of numeric values.
Definition: TEveGValuators.h:22
TGWindow
Definition: TGWindow.h:31
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:91
TGNumberFormat::kNELLimitMinMax
@ kNELLimitMinMax
Definition: TGNumberEntry.h:59
TGDoubleSlider.h
TGDoubleSlider::SetRange
virtual void SetRange(Float_t min, Float_t max)
Definition: TGDoubleSlider.h:116
TEveGTriVecValuator
Composite GUI element for setting three numerical values (label, three number-entries).
Definition: TEveGValuators.h:151
TGSlider::GetPosition
virtual Int_t GetPosition() const
Definition: TGSlider.h:109
TEveGTriVecValuator::Build
void Build(Bool_t vertical, const char *lab0, const char *lab1, const char *lab2)
Create sub-components (label, number entries).
Definition: TEveGValuators.cxx:437
TGSlider.h
kLHintsTop
@ kLHintsTop
Definition: TGLayout.h:34
ClassImp
#define ClassImp(name)
Definition: Rtypes.h:364
TEveGValuator::EntryCallback
void EntryCallback()
Callback for change in number-entry.
Definition: TEveGValuators.cxx:175
TEveGValuator::fSlider
TGHSlider * fSlider
Definition: TEveGValuators.h:70
TEveGValuator
Composite GUI element for single value selection (supports label, number-entry and slider).
Definition: TEveGValuators.h:58
kLHintsLeft
@ kLHintsLeft
Definition: TGLayout.h:31
TGHorizontalLayout
Definition: TGLayout.h:188
TGTextEntry::SetToolTipText
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
Definition: TGTextEntry.cxx:1663
TEveGValuator::TEveGValuator
TEveGValuator(const TEveGValuator &)
TGLabel
Definition: TGLabel.h:32
TGSlider::SetRange
virtual void SetRange(Int_t min, Int_t max)
Definition: TGSlider.h:101
TGHSlider
Definition: TGSlider.h:154
Float_t
float Float_t
Definition: RtypesCore.h:57
TGWidget
Definition: TGWidget.h:55
TEveGValuator::fMax
Float_t fMax
Definition: TEveGValuators.h:65
TEveGDoubleValuator::GetMin
Float_t GetMin() const
Definition: TEveGValuators.h:139
TEveGValuatorBase::fLabel
TGLabel * fLabel
Definition: TEveGValuators.h:34
TGDoubleSlider::GetPosition
virtual void GetPosition(Float_t &min, Float_t &max) const
Definition: TGDoubleSlider.h:135
TGHorizontalFrame
Definition: TGFrame.h:423
TGNumberEntry::GetNumberEntry
TGNumberEntryField * GetNumberEntry() const
Definition: TGNumberEntry.h:268
TEveGDoubleValuator::fMinEntry
TGNumberEntry * fMinEntry
Definition: TEveGValuators.h:114
TGSlider::SetPosition
virtual void SetPosition(Int_t pos)
Definition: TGSlider.h:105
v
@ v
Definition: rootcling_impl.cxx:3635
TGFrame::SetHeight
virtual void SetHeight(UInt_t h)
Definition: TGFrame.h:272
TEveGValuators.h
TGFrame::MapWindow
virtual void MapWindow()
map window
Definition: TGFrame.h:229
bool
TEveGDoubleValuator::Build
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entries, double-slider).
Definition: TEveGValuators.cxx:264
TGFrame::GetWidth
UInt_t GetWidth() const
Definition: TGFrame.h:249
TEveGTriVecValuator::TEveGTriVecValuator
TEveGTriVecValuator(const TEveGTriVecValuator &)
TEveGValuator::Build
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entry, slider).
Definition: TEveGValuators.cxx:74
TEveGValuatorBase::SetNEHeight
void SetNEHeight(Int_t h)
Definition: TEveGValuators.h:47
TEveGTriVecValuator::ValueSet
void ValueSet()
Emit "ValueSet()" signal.
Definition: TEveGValuators.cxx:462
TEveGValuatorBase::fAlignRight
Bool_t fAlignRight
Definition: TEveGValuators.h:28
TEveGValuator::SetLimits
void SetLimits(Int_t min, Int_t max)
Set limits of the represented value for integer values.
Definition: TEveGValuators.cxx:151
kLHintsBottom
@ kLHintsBottom
Definition: TGLayout.h:36
TEveGDoubleValuator::fMaxEntry
TGNumberEntry * fMaxEntry
Definition: TEveGValuators.h:115
TEveGDoubleValuator::MinEntryCallback
void MinEntryCallback()
Callback for change in low number-entry.
Definition: TEveGValuators.cxx:360
TGWindow::SetName
virtual void SetName(const char *name)
Definition: TGWindow.h:122
TGDoubleHSlider
Definition: TGDoubleSlider.h:180
TEveGDoubleValuator::SetLimits
void SetLimits(Int_t min, Int_t max)
Set limits of the represented range for integer values.
Definition: TEveGValuators.cxx:330
TMath::Nint
Int_t Nint(T x)
Round to nearest integer. Rounds half integers to the nearest even integer.
Definition: TMath.h:713
kFixedHeight
@ kFixedHeight
Definition: GuiTypes.h:389
TEveGValuatorBase::TEveGValuatorBase
TEveGValuatorBase(const TEveGValuatorBase &)
TGNumberEntry::SetNumber
virtual void SetNumber(Double_t val)
Definition: TGNumberEntry.h:186
h
#define h(i)
Definition: RSha256.hxx:106
TEveGValuator::CalcSliderPos
Int_t CalcSliderPos(Float_t v)
Return slider position for given value.
Definition: TEveGValuators.cxx:167
kFALSE
const Bool_t kFALSE
Definition: RtypesCore.h:92
TGNumberEntry::SetFormat
virtual void SetFormat(EStyle style, EAttribute attr=TGNumberFormat::kNEAAnyNumber)
Definition: TGNumberEntry.h:225
kLHintsRight
@ kLHintsRight
Definition: TGLayout.h:33
TGLayoutHints
Definition: TGLayout.h:57
TEveGValuatorBase::SetShowSlider
void SetShowSlider(Bool_t s=kTRUE)
Definition: TEveGValuators.h:44
TEveGValuator::fMin
Float_t fMin
Definition: TEveGValuators.h:64
TEveGDoubleValuator::SetValues
void SetValues(Float_t min, Float_t max, Bool_t emit=kFALSE)
Set min/max values, optionally emit signal.
Definition: TEveGValuators.cxx:394
TEveGValuatorBase::SetNELength
void SetNELength(Int_t l)
Definition: TEveGValuators.h:46
TEveGValuator::SetValue
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
Definition: TEveGValuators.cxx:206
TEveGDoubleValuator
Composite GUI element for selection of range (label, two number-entries and double-slider).
Definition: TEveGValuators.h:109
TEveGDoubleValuator::TEveGDoubleValuator
TEveGDoubleValuator(const TEveGDoubleValuator &)
TEveGValuatorBase::fNELength
Int_t fNELength
Definition: TEveGValuators.h:31
kFixedSize
@ kFixedSize
Definition: GuiTypes.h:390
TEveGValuator::fSliderNewLine
Bool_t fSliderNewLine
Definition: TEveGValuators.h:67
TEveGDoubleValuator::GetMax
Float_t GetMax() const
Definition: TEveGValuators.h:140
TEveGValuator::SliderCallback
void SliderCallback()
Callback for change in slider position.
Definition: TEveGValuators.cxx:187
TGCompositeFrame::SetLayoutManager
virtual void SetLayoutManager(TGLayoutManager *l)
Set the layout manager for the composite frame.
Definition: TGFrame.cxx:985
unsigned int
TEveGTriVecValuator::fVal
TEveGValuator * fVal[3]
Definition: TEveGValuators.h:156
TGNumberEntry::GetButtonUp
TGButton * GetButtonUp() const
Definition: TGNumberEntry.h:271
TGLabel.h
TEveGDoubleValuator::ValueSet
void ValueSet()
Emit "ValueSet()" signal.
Definition: TEveGValuators.cxx:406
TEveGValuatorBase::fLabelWidth
UInt_t fLabelWidth
Definition: TEveGValuators.h:27
TEveGDoubleValuator::fSlider
TGDoubleHSlider * fSlider
Definition: TEveGValuators.h:116
TGNumberEntry::SetLimits
virtual void SetLimits(ELimit limits=TGNumberFormat::kNELNoLimits, Double_t min=0, Double_t max=1)
Definition: TGNumberEntry.h:228
TEveGValuator::SetToolTip
void SetToolTip(const char *tip)
Set the tooltip of the number-entry.
Definition: TEveGValuators.cxx:221
TEveGTriVecValuator::fNEHeight
Int_t fNEHeight
Definition: TEveGValuators.h:161
Double_t
double Double_t
Definition: RtypesCore.h:59
TEveGValuator::fSliderDivs
Int_t fSliderDivs
Definition: TEveGValuators.h:68
TQObject::Connect
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
Definition: TQObject.cxx:864
TGFrame::UnmapWindow
virtual void UnmapWindow()
unmap window
Definition: TGFrame.h:231
TGTextEntry::SetEnabled
void SetEnabled(Bool_t flag=kTRUE)
Definition: TGTextEntry.h:164
TEveGTriVecValuator::SetLimits
void SetLimits(Int_t min, Int_t max)
Set limits for all three number-entries, integer values.
Definition: TEveGValuators.cxx:470
TEveGValuator::fEntry
TGNumberEntry * fEntry
Definition: TEveGValuators.h:69
TGVerticalLayout
Definition: TGLayout.h:166
TEveGValuatorBase::SetLabelWidth
void SetLabelWidth(Int_t w)
Definition: TEveGValuators.h:42
name
char name[80]
Definition: TGX11.cxx:110
TEveGDoubleValuator::SliderCallback
void SliderCallback()
Callback for change in slider position / width.
Definition: TEveGValuators.cxx:382
kSlider1
@ kSlider1
Definition: TGSlider.h:56
TGNumberEntry::GetNumber
virtual Double_t GetNumber() const
Definition: TGNumberEntry.h:206
kLHintsExpandX
@ kLHintsExpandX
Definition: TGLayout.h:37
TEveGTriVecValuator::fNELength
Int_t fNELength
Definition: TEveGValuators.h:160
TGNumberEntry
Definition: TGNumberEntry.h:157
kDoubleScaleBoth
@ kDoubleScaleBoth
Definition: TGDoubleSlider.h:68
TEveGValuator::SetEnabled
void SetEnabled(Bool_t state)
Set enabled state of the whole widget.
Definition: TEveGValuators.cxx:229
TGCompositeFrame
Definition: TGFrame.h:324
kScaleBoth
@ kScaleBoth
Definition: TGSlider.h:62
TEveGValuatorBase::fNEHeight
Int_t fNEHeight
Definition: TEveGValuators.h:32
TGCompositeFrame::AddFrame
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Definition: TGFrame.cxx:1102
TEveGDoubleValuator::MaxEntryCallback
void MaxEntryCallback()
Callback for change in high number-entry.
Definition: TEveGValuators.cxx:371
TGNumberFormat::EStyle
EStyle
Definition: TGNumberEntry.h:33
TGNumberEntry::GetButtonDown
TGButton * GetButtonDown() const
Definition: TGNumberEntry.h:274
TEveGValuatorBase::fShowSlider
Bool_t fShowSlider
Definition: TEveGValuators.h:29
TEveGValuator::fValue
Float_t fValue
Definition: TEveGValuators.h:63
TGNumberFormat::kNESInteger
@ kNESInteger
Definition: TGNumberEntry.h:34
TEveGTriVecValuator::fLabelWidth
UInt_t fLabelWidth
Definition: TEveGValuators.h:159
TGWindow::fName
TString fName
Definition: TGWindow.h:38
TQObject::Emit
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
Definition: TQObject.h:164
TMath.h
TGDoubleSlider::SetPosition
virtual void SetPosition(Float_t min, Float_t max)
Definition: TGDoubleSlider.h:121
int