#include <TStructNodeEditor.h>
Inheritance diagram for TStructNodeEditor:
Definition at line 26 of file TStructNodeEditor.h.
TStructNodeEditor::TStructNodeEditor | ( | TList * | colors, | |
const TGWindow * | p = 0 , |
|||
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
Referenced by G__G__Gviz3d_235_0_4().
TStructNodeEditor::~TStructNodeEditor | ( | ) |
Definition at line 104 of file TStructNodeEditor.cxx.
TStructNodeEditor::TStructNodeEditor | ( | TList * | colors, | |
const TGWindow * | p = 0 , |
|||
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
TStructNodeEditor::~TStructNodeEditor | ( | ) |
TStructNodeProperty * TStructNodeEditor::FindNodeProperty | ( | TStructNode * | node | ) | [protected] |
Definition at line 182 of file TStructNodeEditor.cxx.
References fColors, TClass::GetClass(), TNamed::GetName(), TStructNode::GetTypeName(), and NULL.
Referenced by ColorSelectedSlot(), DefaultButtonSlot(), and SetModel().
TStructNodeProperty * TStructNodeEditor::GetDefaultProperty | ( | ) | [protected] |
Definition at line 210 of file TStructNodeEditor.cxx.
References fColors, and TList::Last().
Referenced by DefaultButtonSlot(), and SetModel().
void TStructNodeEditor::Init | ( | ) | [protected] |
Definition at line 218 of file TStructNodeEditor.cxx.
References fApplyButton, fAutoRefesh, fColorSelect, fDefaultButton, TGedFrame::fInit, fMaxLevelsNumberEntry, fMaxObjectsNumberEntry, fNameEntry, kTRUE, TGColorSelect::SetEnabled(), TGButton::SetEnabled(), TGTextEntry::SetState(), and TGNumberEntry::SetState().
Referenced by SetModel().
void TStructNodeEditor::ApplyButtonSlot | ( | ) |
Definition at line 110 of file TStructNodeEditor.cxx.
References fColorSelect, fMaxLevelsNumberEntry, fMaxObjectsNumberEntry, fNameEntry, fNode, fSelectedPropert, TGColorSelect::GetColor(), TGNumberEntry::GetIntNumber(), TStructNode::GetMaxLevel(), TStructNode::GetMaxObjects(), TGTextEntry::GetText(), TStructNodeProperty::SetColor(), TStructNode::SetMaxLevel(), TStructNode::SetMaxObjects(), TNamed::SetName(), and Update().
Referenced by G__G__Gviz3d_235_0_5().
void TStructNodeEditor::AutoRefreshButtonSlot | ( | Bool_t | on | ) |
Definition at line 135 of file TStructNodeEditor.cxx.
References kTRUE, and Update().
Referenced by G__G__Gviz3d_235_0_6(), and G__G__Gviz3d_468_0_12().
void TStructNodeEditor::ColorSelectedSlot | ( | Pixel_t | color | ) |
Definition at line 145 of file TStructNodeEditor.cxx.
References TList::Add(), TGedFrame::fAvoidSignal, fColors, FindNodeProperty(), fNameEntry, fNode, fSelectedPropert, TStructNode::GetTypeName(), TStructNodeProperty::SetColor(), TGTextEntry::SetText(), TList::Sort(), and Update().
Referenced by G__G__Gviz3d_235_0_7(), and G__G__Gviz3d_468_0_15().
void TStructNodeEditor::DefaultButtonSlot | ( | ) |
Definition at line 168 of file TStructNodeEditor.cxx.
References fColors, fColorSelect, FindNodeProperty(), fNameEntry, fNode, fSelectedPropert, GetDefaultProperty(), TNamed::GetName(), TStructNodeProperty::GetPixel(), kFALSE, TList::Remove(), TGColorSelect::SetColor(), TGTextEntry::SetText(), and Update().
Referenced by G__G__Gviz3d_235_0_8().
void TStructNodeEditor::MaxLevelsValueSetSlot | ( | Long_t | ) |
Definition at line 233 of file TStructNodeEditor.cxx.
References fAutoRefesh, fMaxLevelsNumberEntry, fNode, TGNumberEntry::GetIntNumber(), TGCheckButton::IsOn(), kTRUE, TStructNode::SetMaxLevel(), and Update().
Referenced by G__G__Gviz3d_235_0_9().
void TStructNodeEditor::MaxObjectsValueSetSlot | ( | Long_t | ) |
Definition at line 245 of file TStructNodeEditor.cxx.
References fAutoRefesh, fMaxObjectsNumberEntry, fNode, TGNumberEntry::GetIntNumber(), TGCheckButton::IsOn(), kTRUE, TStructNode::SetMaxObjects(), and Update().
Referenced by G__G__Gviz3d_235_0_10().
void TStructNodeEditor::SetModel | ( | TObject * | obj | ) | [virtual] |
Implements TGedFrame.
Definition at line 257 of file TStructNodeEditor.cxx.
References fColorSelect, FindNodeProperty(), TGedFrame::fInit, fMaxLevelsNumberEntry, fMaxObjectsNumberEntry, fNameEntry, fNode, fNodeNameLabel, fSelectedPropert, fTypeName, GetDefaultProperty(), TStructNode::GetMaxLevel(), TStructNode::GetMaxObjects(), TNamed::GetName(), TStructNode::GetName(), TStructNodeProperty::GetPixel(), TStructNode::GetTypeName(), Init(), kFALSE, TGColorSelect::SetColor(), TGNumberEntry::SetIntNumber(), TGTextEntry::SetText(), and TGLabel::SetText().
Referenced by TStructViewerGUI::GLWidgetProcessedEventSlot().
void TStructNodeEditor::Update | ( | Bool_t | resetCamera | ) |
void TStructNodeEditor::Update | ( | ) | [virtual] |
Reimplemented from TGedFrame.
Definition at line 291 of file TStructNodeEditor.cxx.
References TQObject::Emit().
Referenced by ApplyButtonSlot(), AutoRefreshButtonSlot(), ColorSelectedSlot(), DefaultButtonSlot(), G__G__Gviz3d_235_0_12(), G__G__Gviz3d_468_0_34(), MaxLevelsValueSetSlot(), and MaxObjectsValueSetSlot().
TStructNodeProperty* TStructNodeEditor::FindNodeProperty | ( | TStructNode * | node | ) | [protected] |
TStructNodeProperty* TStructNodeEditor::GetDefaultProperty | ( | ) | [protected] |
void TStructNodeEditor::Init | ( | ) | [protected] |
void TStructNodeEditor::ApplyButtonSlot | ( | ) |
void TStructNodeEditor::AutoRefreshButtonSlot | ( | Bool_t | on | ) |
void TStructNodeEditor::ColorSelectedSlot | ( | Pixel_t | color | ) |
void TStructNodeEditor::DefaultButtonSlot | ( | ) |
void TStructNodeEditor::MaxLevelsValueSetSlot | ( | Long_t | ) |
void TStructNodeEditor::MaxObjectsValueSetSlot | ( | Long_t | ) |
void TStructNodeEditor::Update | ( | Bool_t | resetCamera | ) |
void TStructNodeEditor::Update | ( | ) | [virtual] |
Reimplemented from TGedFrame.
TList* TStructNodeEditor::fColors [protected] |
Definition at line 29 of file TStructNodeEditor.h.
Referenced by ColorSelectedSlot(), DefaultButtonSlot(), FindNodeProperty(), and GetDefaultProperty().
TStructNode* TStructNodeEditor::fNode [protected] |
Definition at line 30 of file TStructNodeEditor.h.
Referenced by ApplyButtonSlot(), ColorSelectedSlot(), DefaultButtonSlot(), MaxLevelsValueSetSlot(), MaxObjectsValueSetSlot(), and SetModel().
TGNumberEntry* TStructNodeEditor::fMaxObjectsNumberEntry [protected] |
Definition at line 31 of file TStructNodeEditor.h.
Referenced by ApplyButtonSlot(), Init(), MaxObjectsValueSetSlot(), and SetModel().
TGNumberEntry* TStructNodeEditor::fMaxLevelsNumberEntry [protected] |
Definition at line 32 of file TStructNodeEditor.h.
Referenced by ApplyButtonSlot(), Init(), MaxLevelsValueSetSlot(), and SetModel().
TGLabel* TStructNodeEditor::fTypeName [protected] |
TGLabel* TStructNodeEditor::fNodeNameLabel [protected] |
TGTextEntry* TStructNodeEditor::fNameEntry [protected] |
Definition at line 35 of file TStructNodeEditor.h.
Referenced by ApplyButtonSlot(), ColorSelectedSlot(), DefaultButtonSlot(), Init(), and SetModel().
TGColorSelect* TStructNodeEditor::fColorSelect [protected] |
Definition at line 36 of file TStructNodeEditor.h.
Referenced by ApplyButtonSlot(), DefaultButtonSlot(), Init(), and SetModel().
TStructNodeProperty* TStructNodeEditor::fSelectedPropert [protected] |
Definition at line 37 of file TStructNodeEditor.h.
Referenced by ApplyButtonSlot(), ColorSelectedSlot(), DefaultButtonSlot(), and SetModel().
TGTextButton* TStructNodeEditor::fDefaultButton [protected] |
TGTextButton* TStructNodeEditor::fApplyButton [protected] |
TGCheckButton* TStructNodeEditor::fAutoRefesh [protected] |
Definition at line 40 of file TStructNodeEditor.h.
Referenced by Init(), MaxLevelsValueSetSlot(), and MaxObjectsValueSetSlot().
TList* TStructNodeEditor::fColors [protected] |
Definition at line 29 of file TStructNodeEditor.h.
TStructNode* TStructNodeEditor::fNode [protected] |
Definition at line 30 of file TStructNodeEditor.h.
TGNumberEntry* TStructNodeEditor::fMaxObjectsNumberEntry [protected] |
Definition at line 31 of file TStructNodeEditor.h.
TGNumberEntry* TStructNodeEditor::fMaxLevelsNumberEntry [protected] |
Definition at line 32 of file TStructNodeEditor.h.
TGLabel* TStructNodeEditor::fTypeName [protected] |
Definition at line 33 of file TStructNodeEditor.h.
TGLabel* TStructNodeEditor::fNodeNameLabel [protected] |
Definition at line 34 of file TStructNodeEditor.h.
TGTextEntry* TStructNodeEditor::fNameEntry [protected] |
Definition at line 35 of file TStructNodeEditor.h.
TGColorSelect* TStructNodeEditor::fColorSelect [protected] |
Definition at line 36 of file TStructNodeEditor.h.
TStructNodeProperty* TStructNodeEditor::fSelectedPropert [protected] |
Definition at line 37 of file TStructNodeEditor.h.
TGTextButton* TStructNodeEditor::fDefaultButton [protected] |
Definition at line 38 of file TStructNodeEditor.h.
TGTextButton* TStructNodeEditor::fApplyButton [protected] |
Definition at line 39 of file TStructNodeEditor.h.
TGCheckButton* TStructNodeEditor::fAutoRefesh [protected] |
Definition at line 40 of file TStructNodeEditor.h.