Logo ROOT  
Reference Guide
TEveRGBAPaletteEditor.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TEveRGBAPaletteEditor
13 #define ROOT_TEveRGBAPaletteEditor
14 
15 #include "TGedFrame.h"
16 
17 class TGCheckButton;
18 class TGColorSelect;
19 class TGComboBox;
20 
21 class TEveRGBAPalette;
22 class TEveGValuator;
24 
26 {
27 private:
28  TEveRGBAPaletteSubEditor(const TEveRGBAPaletteSubEditor&); // Not implemented
30 
31 protected:
33 
38 
42 
47 
48 public:
51 
52  void SetModel(TEveRGBAPalette* p);
53 
54  void Changed(); //*SIGNAL*
55 
56  void DoMinMax();
57 
58  void DoInterpolate();
59  void DoShowDefValue();
60  void DoDefaultColor(Pixel_t color);
61  void DoFixColorRange();
62  void DoUnderColor(Pixel_t color);
63  void DoOverColor(Pixel_t color);
64  void DoUnderflowAction(Int_t mode);
65  void DoOverflowAction(Int_t mode);
66 
67  ClassDef(TEveRGBAPaletteSubEditor, 0); // Sub-editor for TEveRGBAPalette class.
68 };
69 
70 
71 /******************************************************************************/
72 /******************************************************************************/
73 
75 {
76 private:
77  TEveRGBAPaletteEditor(const TEveRGBAPaletteEditor&); // Not implemented
78  TEveRGBAPaletteEditor& operator=(const TEveRGBAPaletteEditor&); // Not implemented
79 
80 protected:
83 
84 public:
85  TEveRGBAPaletteEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
87 
88  virtual void SetModel(TObject* obj);
89 
90  ClassDef(TEveRGBAPaletteEditor, 0); // Editor for TEveRGBAPalette class.
91 };
92 
93 #endif
TEveRGBAPaletteSubEditor::DoOverflowAction
void DoOverflowAction(Int_t mode)
Slot for OverflowAction.
Definition: TEveRGBAPaletteEditor.cxx:291
TGWindow
Definition: TGWindow.h:31
TEveRGBAPaletteEditor::fSE
TEveRGBAPaletteSubEditor * fSE
Definition: TEveRGBAPaletteEditor.h:82
TEveRGBAPaletteSubEditor::DoInterpolate
void DoInterpolate()
Slot for Interpolate.
Definition: TEveRGBAPaletteEditor.cxx:228
Pixel_t
ULong_t Pixel_t
Definition: GuiTypes.h:39
TEveGValuator
Definition: TEveGValuators.h:57
TEveRGBAPaletteEditor::operator=
TEveRGBAPaletteEditor & operator=(const TEveRGBAPaletteEditor &)
TEveRGBAPaletteSubEditor::DoDefaultColor
void DoDefaultColor(Pixel_t color)
Slot for DefaultColor.
Definition: TEveRGBAPaletteEditor.cxx:246
width
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
Int_t
int Int_t
Definition: RtypesCore.h:45
TEveRGBAPaletteSubEditor
Definition: TEveRGBAPaletteEditor.h:25
TEveRGBAPaletteSubEditor::operator=
TEveRGBAPaletteSubEditor & operator=(const TEveRGBAPaletteSubEditor &)
TGFrame::GetDefaultFrameBackground
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:668
TEveRGBAPaletteSubEditor::fDefaultColor
TGColorSelect * fDefaultColor
Definition: TEveRGBAPaletteEditor.h:45
TEveRGBAPaletteEditor::fM
TEveRGBAPalette * fM
Definition: TEveRGBAPaletteEditor.h:81
TEveRGBAPaletteSubEditor::~TEveRGBAPaletteSubEditor
virtual ~TEveRGBAPaletteSubEditor()
Definition: TEveRGBAPaletteEditor.h:50
TEveRGBAPaletteSubEditor::DoOverColor
void DoOverColor(Pixel_t color)
Slot for OverColor.
Definition: TEveRGBAPaletteEditor.cxx:273
TEveRGBAPaletteSubEditor::fInterpolate
TGCheckButton * fInterpolate
Definition: TEveRGBAPaletteEditor.h:43
TEveRGBAPaletteSubEditor::fUnderflowAction
TGComboBox * fUnderflowAction
Definition: TEveRGBAPaletteEditor.h:34
TGCheckButton
Definition: TGButton.h:264
TGedFrame.h
TEveRGBAPaletteSubEditor::DoShowDefValue
void DoShowDefValue()
Slot for ShowDefValue.
Definition: TEveRGBAPaletteEditor.cxx:237
TGVerticalFrame
Definition: TGFrame.h:412
TEveRGBAPaletteSubEditor::fOverColor
TGColorSelect * fOverColor
Definition: TEveRGBAPaletteEditor.h:37
TEveGDoubleValuator
Definition: TEveGValuators.h:108
TEveRGBAPaletteSubEditor::fFixColorRange
TGCheckButton * fFixColorRange
Definition: TEveRGBAPaletteEditor.h:46
TEveRGBAPaletteEditor::TEveRGBAPaletteEditor
TEveRGBAPaletteEditor(const TEveRGBAPaletteEditor &)
TEveRGBAPaletteSubEditor::DoUnderColor
void DoUnderColor(Pixel_t color)
Slot for UnderColor.
Definition: TEveRGBAPaletteEditor.cxx:264
TEveRGBAPaletteSubEditor::fUnderColor
TGColorSelect * fUnderColor
Definition: TEveRGBAPaletteEditor.h:35
TEveRGBAPaletteSubEditor::DoMinMax
void DoMinMax()
Slot for MinMax.
Definition: TEveRGBAPaletteEditor.cxx:194
TEveRGBAPaletteEditor::SetModel
virtual void SetModel(TObject *obj)
Set model object.
Definition: TEveRGBAPaletteEditor.cxx:324
unsigned int
TEveRGBAPaletteEditor
Definition: TEveRGBAPaletteEditor.h:74
TGComboBox
Definition: TGComboBox.h:67
TGedFrame
Definition: TGedFrame.h:33
TEveRGBAPaletteSubEditor::fMinMax
TEveGDoubleValuator * fMinMax
Definition: TEveRGBAPaletteEditor.h:39
Double_t
double Double_t
Definition: RtypesCore.h:59
TEveRGBAPaletteSubEditor::fOverflowAction
TGComboBox * fOverflowAction
Definition: TEveRGBAPaletteEditor.h:36
TEveRGBAPaletteSubEditor::SetModel
void SetModel(TEveRGBAPalette *p)
Set model object.
Definition: TEveRGBAPaletteEditor.cxx:151
TObject
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TEveRGBAPaletteSubEditor::fOldMin
Double_t fOldMin
Definition: TEveRGBAPaletteEditor.h:40
TEveRGBAPaletteSubEditor::DoUnderflowAction
void DoUnderflowAction(Int_t mode)
Slot for UnderflowAction.
Definition: TEveRGBAPaletteEditor.cxx:282
TEveRGBAPaletteSubEditor::fOldMax
Double_t fOldMax
Definition: TEveRGBAPaletteEditor.h:41
TGColorSelect
Definition: TGColorSelect.h:127
TEveRGBAPaletteSubEditor::TEveRGBAPaletteSubEditor
TEveRGBAPaletteSubEditor(const TEveRGBAPaletteSubEditor &)
TEveRGBAPaletteSubEditor::Changed
void Changed()
Emit "Changed()" signal.
Definition: TEveRGBAPaletteEditor.cxx:186
TEveRGBAPaletteSubEditor::fM
TEveRGBAPalette * fM
Definition: TEveRGBAPaletteEditor.h:32
TEveRGBAPaletteSubEditor::fShowDefValue
TGCheckButton * fShowDefValue
Definition: TEveRGBAPaletteEditor.h:44
TEveRGBAPaletteEditor::~TEveRGBAPaletteEditor
virtual ~TEveRGBAPaletteEditor()
Definition: TEveRGBAPaletteEditor.h:86
kChildFrame
@ kChildFrame
Definition: GuiTypes.h:379
int
TEveRGBAPaletteSubEditor::DoFixColorRange
void DoFixColorRange()
Slot for FixColorRange.
Definition: TEveRGBAPaletteEditor.cxx:255
TEveRGBAPalette
Definition: TEveRGBAPalette.h:22