#include <TPieSliceEditor.h>
Inheritance diagram for TPieSliceEditor:
Public Member Functions | |
TPieSliceEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()) | |
~TPieSliceEditor () | |
void | SetModel (TObject *) |
void | DoTitle (const char *) |
void | DoValue () |
void | DoOffset () |
TPieSliceEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()) | |
~TPieSliceEditor () | |
void | SetModel (TObject *) |
void | DoTitle (const char *) |
void | DoValue () |
void | DoOffset () |
Protected Member Functions | |
void | ConnectSignals2Slots () |
void | ConnectSignals2Slots () |
Protected Attributes | |
TGTextEntry * | fTitle |
TGNumberEntry * | fValue |
TGNumberEntry * | fOffset |
TGTextEntry * | fTitle |
TGNumberEntry * | fValue |
TGNumberEntry * | fOffset |
Private Attributes | |
TPieSlice * | fPieSlice |
TPieSlice * | fPieSlice |
Definition at line 30 of file TPieSliceEditor.h.
TPieSliceEditor::TPieSliceEditor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
Definition at line 16 of file TPieSliceEditor.cxx.
References TGCompositeFrame::AddFrame(), f2, fOffset, fPieSlice, fTitle, fValue, TGFrame::GetDefaultHeight(), kHorizontalFrame, kLHintsLeft, TGNumberFormat::kNEANonNegative, TGNumberFormat::kNESReal, TGNumberFormat::kNESRealTwo, TGedFrame::MakeTitle(), TGFrame::Resize(), TGTextEntry::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().
TPieSliceEditor::~TPieSliceEditor | ( | ) |
Definition at line 55 of file TPieSliceEditor.cxx.
TPieSliceEditor::TPieSliceEditor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
TPieSliceEditor::~TPieSliceEditor | ( | ) |
void TPieSliceEditor::ConnectSignals2Slots | ( | ) | [protected] |
Definition at line 79 of file TPieSliceEditor.cxx.
References TQObject::Connect(), TGedFrame::fInit, fOffset, fTitle, fValue, and kFALSE.
Referenced by SetModel().
void TPieSliceEditor::SetModel | ( | TObject * | ) | [virtual] |
Implements TGedFrame.
Definition at line 62 of file TPieSliceEditor.cxx.
References ConnectSignals2Slots(), TGedFrame::fAvoidSignal, TGedFrame::fInit, fOffset, fPieSlice, fTitle, fValue, TPieSlice::GetRadiusOffset(), TNamed::GetTitle(), TPieSlice::GetValue(), kFALSE, kTRUE, TGNumberEntry::SetNumber(), and TGTextEntry::SetText().
void TPieSliceEditor::DoTitle | ( | const char * | ) |
Definition at line 92 of file TPieSliceEditor.cxx.
References TGedFrame::fAvoidSignal, fPieSlice, TNamed::SetTitle(), and TGedFrame::Update().
void TPieSliceEditor::DoValue | ( | ) |
Definition at line 103 of file TPieSliceEditor.cxx.
References TGedFrame::fAvoidSignal, fPieSlice, fValue, TGNumberEntry::GetNumber(), TPieSlice::SetValue(), and TGedFrame::Update().
void TPieSliceEditor::DoOffset | ( | ) |
Definition at line 115 of file TPieSliceEditor.cxx.
References TGedFrame::fAvoidSignal, fOffset, fPieSlice, TGNumberEntry::GetNumber(), TPieSlice::SetRadiusOffset(), and TGedFrame::Update().
void TPieSliceEditor::ConnectSignals2Slots | ( | ) | [protected] |
void TPieSliceEditor::DoTitle | ( | const char * | ) |
void TPieSliceEditor::DoValue | ( | ) |
void TPieSliceEditor::DoOffset | ( | ) |
TPieSlice* TPieSliceEditor::fPieSlice [private] |
Definition at line 33 of file TPieSliceEditor.h.
Referenced by DoOffset(), DoTitle(), DoValue(), SetModel(), and TPieSliceEditor().
TGTextEntry* TPieSliceEditor::fTitle [protected] |
Definition at line 36 of file TPieSliceEditor.h.
Referenced by ConnectSignals2Slots(), SetModel(), and TPieSliceEditor().
TGNumberEntry* TPieSliceEditor::fValue [protected] |
Definition at line 37 of file TPieSliceEditor.h.
Referenced by ConnectSignals2Slots(), DoValue(), SetModel(), and TPieSliceEditor().
TGNumberEntry* TPieSliceEditor::fOffset [protected] |
Definition at line 38 of file TPieSliceEditor.h.
Referenced by ConnectSignals2Slots(), DoOffset(), SetModel(), and TPieSliceEditor().
TPieSlice* TPieSliceEditor::fPieSlice [private] |
Definition at line 33 of file TPieSliceEditor.h.
TGTextEntry* TPieSliceEditor::fTitle [protected] |
Definition at line 36 of file TPieSliceEditor.h.
TGNumberEntry* TPieSliceEditor::fValue [protected] |
Definition at line 37 of file TPieSliceEditor.h.
TGNumberEntry* TPieSliceEditor::fOffset [protected] |
Definition at line 38 of file TPieSliceEditor.h.