CMS 3D CMS Logo

FWNumberEntry.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWNumberEntryField_h
2 #define Fireworks_Core_FWNumberEntryField_h
3 
4 #include "TGNumberEntry.h"
5 
6 //------------------------------FWNumberEntryField------------------------------//
7 
8 class FWNumberEntryField : public TGNumberEntryField {
9 private:
10 public:
11  FWNumberEntryField(const TGWindow *p,
12  Int_t id,
13  Double_t val,
14  GContext_t norm,
15  FontStruct_t font = GetDefaultFontStruct(),
16  UInt_t option = kSunkenFrame | kDoubleBorder,
17  Pixel_t back = GetWhitePixel());
18  FWNumberEntryField(const TGWindow *parent = nullptr,
19  Int_t id = -1,
20  Double_t val = 0,
21  EStyle style = kNESReal,
22  EAttribute attr = kNEAAnyNumber,
23  ELimit limits = kNELNoLimits,
24  Double_t min = 0,
25  Double_t max = 1);
26 
27  ~FWNumberEntryField() override {}
28 
29  Bool_t HandleFocusChange(Event_t *event) override;
30  void ReturnPressed() override;
31 
32  virtual UInt_t GetUIntNumber();
33  virtual void SetUIntNumber(UInt_t n);
34  virtual ULong64_t GetULong64Number();
35  virtual void SetULong64Number(ULong64_t n);
36 
38 };
39 #endif
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
FWNumberEntryField::FWNumberEntryField
FWNumberEntryField(const TGWindow *p, Int_t id, Double_t val, GContext_t norm, FontStruct_t font=GetDefaultFontStruct(), UInt_t option=kSunkenFrame|kDoubleBorder, Pixel_t back=GetWhitePixel())
min
T min(T a, T b)
Definition: MathUtil.h:58
FWNumberEntryField::ReturnPressed
void ReturnPressed() override
Definition: FWNumberEntry.cc:38
fileinputsource_cfi.option
option
Definition: fileinputsource_cfi.py:94
FWNumberEntryField
Definition: FWNumberEntry.h:8
style
Definition: style.py:1
FWNumberEntryField::GetUIntNumber
virtual UInt_t GetUIntNumber()
Definition: FWNumberEntry.cc:48
FWNumberEntryField::GetULong64Number
virtual ULong64_t GetULong64Number()
Definition: FWNumberEntry.cc:54
FWNumberEntryField::HandleFocusChange
Bool_t HandleFocusChange(Event_t *event) override
Definition: FWNumberEntry.cc:30
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
FWNumberEntryField::SetUIntNumber
virtual void SetUIntNumber(UInt_t n)
Definition: FWNumberEntry.cc:51
TH2PolyOfflineMaps.limits
limits
Definition: TH2PolyOfflineMaps.py:44
heppy_batch.val
val
Definition: heppy_batch.py:351
FWNumberEntryField::ClassDefOverride
ClassDefOverride(FWNumberEntryField, 0)
FWNumberEntryField::SetULong64Number
virtual void SetULong64Number(ULong64_t n)
Definition: FWNumberEntry.cc:57
event
Definition: event.py:1
class-composition.parent
parent
Definition: class-composition.py:98
FWNumberEntryField::~FWNumberEntryField
~FWNumberEntryField() override
Definition: FWNumberEntry.h:27