FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairEveTransparencyControl.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2020 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 
9 #ifndef FAIREVETRANSPARENCYCONTROL_H_
10 #define FAIREVETRANSPARENCYCONTROL_H_
11 
12 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
13 #include <RtypesCore.h> // for Bool_t
14 #include <TGFrame.h> // for TGFrame (ptr only), TGHorizontalFrame
15 class TBuffer;
16 class TClass;
17 class TGCheckButton;
18 class TGNumberEntry; // lines 16-16
19 class TMemberInspector;
20 
21 class FairEveTransparencyControl : public TGHorizontalFrame
22 {
23  TGCheckButton *fCheck;
24  TGNumberEntry *fNumber;
25 
26  public:
27  FairEveTransparencyControl(TGFrame const *parent, char const *label = "Transparency");
28 
29  TGCheckButton *GetCheck() const { return fCheck; }
30  TGNumberEntry *GetNumber() const { return fNumber; }
31 
32  void Toggled(Bool_t); // SLOT to receive check button events
33  void ValueSet(); // SLOT to receive number entry events
34 
36 
37  ClassDef(FairEveTransparencyControl, 1)
38 };
39 
40 #endif /* FAIREVETRANSPARENCYCONTROL_H_ */
TGCheckButton * GetCheck() const
TGNumberEntry * GetNumber() const
FairEveTransparencyControl(TGFrame const *parent, char const *label="Transparency")