![]() |
AliRoot Core
v5-06-30 (35d6c57)
|
A vertical color palette. More...
#include <AliMUONPainterColorSlider.h>
Public Member Functions | |
AliMUONPainterColorSlider (const TGWindow *p, UInt_t w, UInt_t h) | |
virtual | ~AliMUONPainterColorSlider () |
void | DefaultButtonWasClicked () |
void | SetDefaultButtonWasClicked (Double_t *range) |
void | DataRangeAutoRequested () |
void | DataRangeWasChanged (Double_t *range) |
void | LockButtonWasClicked () |
void | SetRange (Double_t min, Double_t max, Bool_t emit=kTRUE) |
Bool_t | IsLocked () const |
Private Member Functions | |
AliMUONPainterColorSlider (const AliMUONPainterColorSlider &rhs) | |
Not implemented. More... | |
AliMUONPainterColorSlider & | operator= (const AliMUONPainterColorSlider &rhs) |
Not implemented. More... | |
void | LockDefaultButtons () |
void | UnlockDefaultButtons () |
Private Attributes | |
TGNumberEntry * | fEntryMin |
textbox for min value to be represented More... | |
TGNumberEntry * | fEntryMax |
textbox for max value to be represented More... | |
Double_t | fMin |
min value to be represented More... | |
Double_t | fMax |
max value to be represented More... | |
TGTextButton * | fAutoButton |
to toggle data range computation More... | |
TGTextButton * | fLockButton |
to toggle locking of range More... | |
TGTextButton * | fDefaultButton |
to get back to default range (if defined) More... | |
TGTextButton * | fSetDefaultButton |
to set the default for the current source More... | |
A vertical color palette.
A painter color palette
Definition at line 22 of file AliMUONPainterColorSlider.h.
AliMUONPainterColorSlider::AliMUONPainterColorSlider | ( | const TGWindow * | p, |
UInt_t | w, | ||
UInt_t | h | ||
) |
ctor
Definition at line 36 of file AliMUONPainterColorSlider.cxx.
|
virtual |
dtor
Definition at line 102 of file AliMUONPainterColorSlider.cxx.
|
private |
Not implemented.
void AliMUONPainterColorSlider::DataRangeAutoRequested | ( | ) |
Signal that the "Auto" button was clicked
Definition at line 109 of file AliMUONPainterColorSlider.cxx.
void AliMUONPainterColorSlider::DataRangeWasChanged | ( | Double_t * | range | ) |
Data range was changed
Definition at line 117 of file AliMUONPainterColorSlider.cxx.
Referenced by SetRange().
void AliMUONPainterColorSlider::DefaultButtonWasClicked | ( | ) |
Signal that the "Default" button was clicked
Definition at line 129 of file AliMUONPainterColorSlider.cxx.
Bool_t AliMUONPainterColorSlider::IsLocked | ( | ) | const |
Whether our range is locked or not
Definition at line 149 of file AliMUONPainterColorSlider.cxx.
Referenced by AliMUONPainterMatrixFrame::DataRangeWasChanged(), LockButtonWasClicked(), SetRange(), and AliMUONPainterMatrixFrame::UpdateDataRange().
void AliMUONPainterColorSlider::LockButtonWasClicked | ( | ) |
Lock (toggle button) was clicked
Definition at line 172 of file AliMUONPainterColorSlider.cxx.
|
private |
Definition at line 157 of file AliMUONPainterColorSlider.cxx.
Referenced by LockButtonWasClicked().
|
private |
Not implemented.
void AliMUONPainterColorSlider::SetDefaultButtonWasClicked | ( | Double_t * | range | ) |
Signal that the "SetDefault" button was clicked
Definition at line 136 of file AliMUONPainterColorSlider.cxx.
void AliMUONPainterColorSlider::SetRange | ( | Double_t | min, |
Double_t | max, | ||
Bool_t | emit = kTRUE |
||
) |
Set the data range
Definition at line 198 of file AliMUONPainterColorSlider.cxx.
Referenced by AliMUONPainterMatrixFrame::ColorSliderDefaultButtonWasClicked(), AliMUONPainterMatrixFrame::DataRangeAutoRequested(), and AliMUONPainterMatrixFrame::UpdateDataRange().
|
private |
Definition at line 164 of file AliMUONPainterColorSlider.cxx.
Referenced by LockButtonWasClicked().
|
private |
to toggle data range computation
Definition at line 56 of file AliMUONPainterColorSlider.h.
Referenced by LockButtonWasClicked().
|
private |
to get back to default range (if defined)
Definition at line 58 of file AliMUONPainterColorSlider.h.
Referenced by LockDefaultButtons(), and UnlockDefaultButtons().
|
private |
textbox for max value to be represented
Definition at line 53 of file AliMUONPainterColorSlider.h.
Referenced by DataRangeWasChanged(), LockButtonWasClicked(), SetDefaultButtonWasClicked(), and SetRange().
|
private |
textbox for min value to be represented
Definition at line 52 of file AliMUONPainterColorSlider.h.
Referenced by DataRangeWasChanged(), LockButtonWasClicked(), SetDefaultButtonWasClicked(), and SetRange().
|
private |
to toggle locking of range
Definition at line 57 of file AliMUONPainterColorSlider.h.
Referenced by IsLocked(), and LockButtonWasClicked().
|
private |
max value to be represented
Definition at line 55 of file AliMUONPainterColorSlider.h.
Referenced by SetRange().
|
private |
min value to be represented
Definition at line 54 of file AliMUONPainterColorSlider.h.
Referenced by SetRange().
|
private |
to set the default for the current source
Definition at line 59 of file AliMUONPainterColorSlider.h.
Referenced by LockDefaultButtons(), and UnlockDefaultButtons().