75 fRadiusEntry->GetNumberEntry()->SetToolTipText(
"Set radius of arc.");
82 fPhiminEntry->GetNumberEntry()->SetToolTipText(
"Set Phimin in degrees.");
89 fPhimaxEntry->GetNumberEntry()->SetToolTipText(
"Set Phimax in degrees.");
96 fCenterXEntry->GetNumberEntry()->SetToolTipText(
"Set center X coordinate.");
103 fCenterYEntry->GetNumberEntry()->SetToolTipText(
"Set center Y coordinate.");
120 fCenterXEntry->Connect(
"ValueSet(Long_t)",
"TCurlyArcEditor",
this,
"DoCenterXY()");
121 (
fCenterXEntry->GetNumberEntry())->Connect(
"ReturnPressed()",
"TCurlyArcEditor",
this,
"DoCenterXY()");
122 fCenterYEntry->Connect(
"ValueSet(Long_t)",
"TCurlyArcEditor",
this,
"DoCenterXY()");
123 (
fCenterYEntry->GetNumberEntry())->Connect(
"ReturnPressed()",
"TCurlyArcEditor",
this,
"DoCenterXY()");
124 fRadiusEntry->Connect(
"ValueSet(Long_t)",
"TCurlyArcEditor",
this,
"DoRadius()");
125 (
fRadiusEntry->GetNumberEntry())->Connect(
"ReturnPressed()",
"TCurlyArcEditor",
this,
"DoRadius()");
126 fPhiminEntry->Connect(
"ValueSet(Long_t)",
"TCurlyArcEditor",
this,
"DoPhimin()");
127 (
fPhiminEntry->GetNumberEntry())->Connect(
"ReturnPressed()",
"TCurlyArcEditor",
this,
"DoPhimin()");
128 fPhimaxEntry->Connect(
"ValueSet(Long_t)",
"TCurlyArcEditor",
this,
"DoPhimax()");
129 (
fPhimaxEntry->GetNumberEntry())->Connect(
"ReturnPressed()",
"TCurlyArcEditor",
this,
"DoPhimax()");
ULong_t Pixel_t
Pixel value.
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
double Double_t
Double 8 bytes.
~TCurlyArcEditor() override
Destructor of CurlyArc editor.
void SetModel(TObject *obj) override
Pick up the used curly arc attributes.
TCurlyArcEditor(const TGWindow *p=nullptr, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor of CurlyArc GUI.
virtual void DoCenterXY()
Slot connected to set center .
virtual void DoPhimin()
Slot connected to the phimin setting.
TGNumberEntry * fCenterYEntry
center y entry
virtual void ConnectSignals2Slots()
Connect signals to slots.
TCurlyArc * fCurlyArc
CurlyArc object.
TGNumberEntry * fRadiusEntry
radius entry
virtual void DoRadius()
Slot connected to the radius setting.
TGNumberEntry * fPhimaxEntry
Phimax entry.
TGNumberEntry * fCenterXEntry
center x entry
TGNumberEntry * fPhiminEntry
Phimin entry.
virtual void DoPhimax()
Slot connected to the phimax setting.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
TGCompositeFrame(const TGCompositeFrame &)=delete
This class handles GUI labels.
This class describes layout hints used by the layout classes.
TGNumberEntry is a number entry input widget with up/down buttons.
ROOT GUI Window base class.
TGedFrame(const TGedFrame &)=delete
Bool_t fInit
init flag for setting signals/slots
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
Bool_t fAvoidSignal
flag for executing slots
Mother of all ROOT objects.