ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
#include <AtSidebarInfoMacro.h>
Public Member Functions | |
AtSidebarInfoMacro (DataHandling::AtTreeEntry &entryNumber, const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground()) | |
~AtSidebarInfoMacro () | |
void | SetFunction (MacroFunction function) |
void | SetLabel (std::string label) |
void | Update (DataHandling::AtSubject *sub) override |
void | FillFrame () override |
ClassDefOverride (AtSidebarInfoMacro, 1) | |
![]() | |
AtSidebarAddon (const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground()) | |
void | AddInfoBox (std::string label) |
void | AddIntBox (std::string label, std::string function, int min=0, int max=1) |
TString | GetInfoString (std::string label) |
Long_t | GetIntNumber (std::string label) |
void | SetInfoString (std::string label, TString value) |
void | SetIntNumber (std::string label, Long_t value) |
ClassDefOverride (AtSidebarAddon, 1) | |
![]() | |
AtVerticalSidebarFrame (const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground()) | |
![]() | |
void | UsePictureButtons (bool val=true) |
Use text only buttons instead of picture buttons. More... | |
![]() | |
virtual | ~AtObserver ()=default |
Additional Inherited Members | |
![]() | |
AtSidebarFrame (const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground()) | |
![]() | |
std::map< std::string, TGNumberEntry * > | fNumbers |
std::map< std::string, TGLabel * > | fStrings |
![]() | |
bool | kUsePictureButtons {false} |
Option to disable picture buttons since they break some machines. More... | |
Definition at line 24 of file AtSidebarInfoMacro.h.
|
inline |
Definition at line 34 of file AtSidebarInfoMacro.h.
|
inline |
Definition at line 40 of file AtSidebarInfoMacro.h.
AtSidebarInfoMacro::ClassDefOverride | ( | AtSidebarInfoMacro | , |
1 | |||
) |
|
overridevirtual |
Called at the end of the Init stage. Is what will create all of the components in the sidebar frame.
Reimplemented from AtSidebarAddon.
Definition at line 10 of file AtSidebarInfoMacro.cxx.
|
inline |
Definition at line 42 of file AtSidebarInfoMacro.h.
|
inline |
Definition at line 43 of file AtSidebarInfoMacro.h.
|
overridevirtual |
Implements DataHandling::AtObserver.
Definition at line 15 of file AtSidebarInfoMacro.cxx.