18 #ifndef _INDICATOR_FRAME_H_
19 #define _INDICATOR_FRAME_H_
39 #include <RQ_OBJECT.h>
54 RQ_OBJECT(
"IndicatorFrame")
63 IndicatorFrame(
const TGWindow *p,
const char *name_frame, UInt_t w,UInt_t h);
106 RQ_OBJECT(
"IndicatorFrameLabel")
118 IndicatorFrameLabel (
const TGWindow *p,
const char *label,
const char *fullname,
const int color );
122 void MakeLineLabel ( std::string fullname,
const int color );
void HideLines()
hide/show all lines, except the first one
IndicatorFrameLabel(const TGWindow *p, const char *label, const char *fullname, const int color)
constructor
TGLabel * flabel_indic
simple label with indicator name, can change color of the label
Deal with labels in IndicatorFrame.
ControllerIndicatorTHStock * fcontroller
IndicatorFrame(const TGWindow *p, const char *name_frame, UInt_t w, UInt_t h)
virtual ~IndicatorFrame()
void DeleteLines(std::string fullname)
new unique for Label and Indicator
void HandleButtons()
manages all buttons of IndicatorFrameLabel.
ControllerIndicatorTHStock * GetController()
Final controller class, does not derive from ListController.
Pixel_t fcolor_indic
keep memory of the color of the associated indicator
Pixel_t GetColorLabel() const
ClassDef(IndicatorFrame, 0)
void MakeLineLabel(std::string fullname, const int color)
create a line with label and all buttons
void SetColorLabel(Pixel_t color)
Slot when color is changed, modify the text label color.
Show all data loaded in memory, allow to deal with Button.
void SetController(ControllerIndicatorTHStock *controller)
void PrintList()
for debug
ClassDef(IndicatorFrameLabel, 0)
void AddIndicator(std::string, int color)
Add an indicator , call MakeLineLabel now should be called by ControllerIndicatorTHStockFrame.