184 fApply->
Connect(
"Clicked()",
"TGeoBBoxEditor",
this,
"DoApply()");
185 fUndo->
Connect(
"Clicked()",
"TGeoBBoxEditor",
this,
"DoUndo()");
186 fShapeName->
Connect(
"TextChanged(const char *)",
"TGeoBBoxEditor",
this,
"DoModified()");
187 fBoxDx->
Connect(
"ValueSet(Long_t)",
"TGeoBBoxEditor",
this,
"DoDx()");
188 fBoxDy->
Connect(
"ValueSet(Long_t)",
"TGeoBBoxEditor",
this,
"DoDy()");
189 fBoxDz->
Connect(
"ValueSet(Long_t)",
"TGeoBBoxEditor",
this,
"DoDz()");
193 fBoxOx->
Connect(
"ValueSet(Long_t)",
"TGeoBBoxEditor",
this,
"DoOx()");
194 fBoxOy->
Connect(
"ValueSet(Long_t)",
"TGeoBBoxEditor",
this,
"DoOy()");
195 fBoxOz->
Connect(
"ValueSet(Long_t)",
"TGeoBBoxEditor",
this,
"DoOz()");
include TDocParser_001 C image html pict1_TDocParser_001 png width
R__EXTERN TGeoManager * gGeoManager
virtual TList * GetList() const
TGCompositeFrame(const TGCompositeFrame &)
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void Cleanup()
Cleanup and delete all objects contained in this composite frame.
virtual void SetSize(const TGDimension &s)
virtual UInt_t GetDefaultHeight() const
TGDimension GetSize() const
virtual Bool_t IsComposite() const
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void SetNumber(Double_t val)
TGNumberEntryField * GetNumberEntry() const
virtual void Associate(const TGWindow *w)
Make w the window that will receive the generated messages.
void SetNumAttr(EAttribute attr=kNEAAnyNumber)
virtual Double_t GetNumber() const
const char * GetText() const
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
virtual void SetText(const char *text, Bool_t emit=kTRUE)
Sets text entry to text, clears the selection and moves the cursor to the end of the line.
virtual void MakeTitle(const char *title)
Create attribute frame title.
void DoDy()
Slot for Dy modification.
void DoApply()
Slot for applying current parameters.
void DoDz()
Slot for Dz modification.
virtual ~TGeoBBoxEditor()
Destructor.
void DoOz()
Slot for Oz modification.
virtual void SetModel(TObject *obj)
Update editor for a new selected box.
void DoUndo()
Slot for undoing last operation.
TGeoBBoxEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor for volume editor.
void DoDx()
Slot for Dx modification.
void DoName()
Slot for name.
void DoModified()
Slot for modifying current parameters.
void DoOx()
Slot for Ox modification.
void DoOy()
Slot for Oy modification.
Bool_t IsDelayed() const
Check if shape drawing is delayed.
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual const Double_t * GetOrigin() const
virtual Double_t GetDX() const
virtual Double_t GetDZ() const
virtual Double_t GetDY() const
void SetBoxDimensions(Double_t dx, Double_t dy, Double_t dz, Double_t *origin=0)
Set parameters of the box.
Common base class for geombuilder editors.
virtual void Update()
Override Update from TGedFrame as fGedEditor can be null.
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
TVirtualGeoPainter * GetPainter() const
virtual const char * GetName() const
Get the shape name.
virtual void Draw(Option_t *option="")
Draw this shape.
static void Cleanup(TGCompositeFrame *frame)
Static method to cleanup hierarchically all daughters of a composite frame.
virtual void SetName(const char *name)
Set the name of the TNamed.
Mother of all ROOT objects.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
virtual void ShowAxis()=0
virtual void SetRange(const Double_t *min, const Double_t *max)=0
virtual Bool_t IsPaintingShape() const =0
virtual TView * GetView() const =0