109 nef->
SetToolTipText(
"Enter the angle with respect to Y axis [deg]");
121 nef->
SetToolTipText(
"Enter the theta angle of the para axis [deg]");
133 nef->
SetToolTipText(
"Enter the phi angle of the para axis [deg]");
175 fApply->
Connect(
"Clicked()",
"TGeoParaEditor",
this,
"DoApply()");
176 fUndo->
Connect(
"Clicked()",
"TGeoParaEditor",
this,
"DoUndo()");
177 fShapeName->
Connect(
"TextChanged(const char *)",
"TGeoParaEditor",
this,
"DoModified()");
178 fEDx->
Connect(
"ValueSet(Long_t)",
"TGeoParaEditor",
this,
"DoX()");
179 fEDy->
Connect(
"ValueSet(Long_t)",
"TGeoParaEditor",
this,
"DoY()");
180 fEDz->
Connect(
"ValueSet(Long_t)",
"TGeoParaEditor",
this,
"DoZ()");
181 fEAlpha->
Connect(
"ValueSet(Long_t)",
"TGeoParaEditor",
this,
"DoAlpha()");
182 fETheta->
Connect(
"ValueSet(Long_t)",
"TGeoParaEditor",
this,
"DoTheta()");
183 fEPhi->
Connect(
"ValueSet(Long_t)",
"TGeoParaEditor",
this,
"DoPhi()");
388 if (phi<0 || phi>360) {
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
void DoModified()
Slot for notifying modifications.
virtual void SetDimensions(Double_t *param)
Set dimensions starting from an array.
virtual Double_t GetDX() const
Bool_t IsDelayed() const
Check if shape drawing is delayed.
void DoApply()
Slot for applying current settings.
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum".
TVirtualGeoPainter * GetPainter() const
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual void SetNumber(Double_t val)
virtual ~TGeoParaEditor()
Destructor.
virtual void SetRange(const Double_t *min, const Double_t *max)=0
void DoPhi()
Slot for phi.
virtual Bool_t IsPaintingShape() const =0
void DoUndo()
Slot for undoing last operation.
virtual Bool_t IsComposite() const
void DoAlpha()
Slot for alpha.
virtual void ComputeBBox()
compute bounding box
static void Cleanup(TGCompositeFrame *frame)
Static method to cleanup hierarchically all daughters of a composite frame.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
TGCompositeFrame(const TGCompositeFrame &)
virtual TList * GetList() const
virtual TView * GetView() const =0
TGeoParaEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor for para editor.
virtual const char * GetName() const
Get the shape name.
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 Associate(const TGWindow *w)
Make w the window that will receive the generated messages.
virtual void SetSize(const TGDimension &s)
void DoTheta()
Slot for theta.
Double_t GetAlpha() const
virtual void ShowAxis()=0
virtual Double_t GetDY() const
void SetNumAttr(EAttribute attr=kNEAAnyNumber)
virtual void SetModel(TObject *obj)
Connect to the selected object.
TGDimension GetSize() const
const char * GetText() const
virtual UInt_t GetDefaultHeight() const
R__EXTERN TGeoManager * gGeoManager
virtual Double_t GetNumber() const
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Mother of all ROOT objects.
TGNumberEntryField * GetNumberEntry() const
void DoName()
Slot for name.
virtual void Update()
Override Update from TGedFrame as fGedEditor can be null.
Double_t GetTheta() const
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 Cleanup()
Cleanup and delete all objects contained in this composite frame.
virtual void Draw(Option_t *option="")
Draw this shape.
virtual void MakeTitle(const char *title)
Create attribute frame title.
UInt_t GetDefaultHeight() const
Common base class for geombuilder editors.
virtual Double_t GetDZ() const