CbmRoot
Loading...
Searching...
No Matches
CbmTsEveTransparencyControl.h
Go to the documentation of this file.
1/* Copyright (C) 2023 Facility for Antiproton and Ion Research in Europe, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pierre-Alain Loizeau [committer] */
4
5#ifndef CBMTSEVETRANSPARENCYCONTROL_H_
6#define CBMTSEVETRANSPARENCYCONTROL_H_
7
8#include <Rtypes.h> // for THashConsistencyHolder, ClassDef
9#include <RtypesCore.h> // for Bool_t
10#include <TGFrame.h> // for TGFrame (ptr only), TGHorizontalFrame
11class TBuffer;
12class TClass;
13class TGCheckButton;
14class TGNumberEntry; // lines 16-16
15class TMemberInspector;
16
22class CbmTsEveTransparencyControl : public TGHorizontalFrame {
23 TGCheckButton* fCheck;
24 TGNumberEntry* fNumber;
25
26public:
27 CbmTsEveTransparencyControl(TGFrame const* parent, char const* label = "Transparency");
28
29 TGCheckButton* GetCheck() const { return fCheck; }
30 TGNumberEntry* GetNumber() const { return fNumber; }
31
35 void Toggled(); // SLOT to receive check button events
39 void ValueSet(); // SLOT to receive number entry events
40
42
44};
45
46#endif /* CBMTSEVETRANSPARENCYCONTROL_H_ */
GUI elements to add global transparency control to CbmTimesliceManagerEditor. Cannot be used alone!
void ValueSet()
Called when transparency value changed. RESERVED FOR GUI CALLS!
void Toggled()
Called when button clicked. RESERVED FOR GUI CALLS!
CbmTsEveTransparencyControl(TGFrame const *parent, char const *label="Transparency")