155 fFixedAR->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoFixedAspectRatio(Bool_t)");
157 fEditable->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoEditable(Bool_t)");
158 fGridX->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoGridX(Bool_t)");
159 fGridY->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoGridY(Bool_t)");
160 fTickX->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoTickX(Bool_t)");
161 fTickY->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoTickY(Bool_t)");
162 fLogX->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoLogX(Bool_t)");
163 fLogY->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoLogY(Bool_t)");
164 fLogZ->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoLogZ(Bool_t)");
165 fBgroup->
Connect(
"Clicked(Int_t)",
"TPadEditor",
this,
"DoBorderMode()");
166 fBsize->
Connect(
"Selected(Int_t)",
"TPadEditor",
this,
"DoBorderSize(Int_t)");
226 }
else if (par == 1) {
234 if (par < 1) par = 1;
235 if (par > 16) par = 16;
ULong_t Pixel_t
Pixel value.
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Option_t Option_t TPoint TPoint const char mode
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
TClass instances represent classes, structs and namespaces in the ROOT type system.
virtual void Select(Int_t id, Bool_t emit=kTRUE)
Make the selected item visible in the combo box window and emit signals according to the second param...
virtual void SetEnabled(Bool_t on=kTRUE)
Set state of combo box. If kTRUE=enabled, kFALSE=disabled.
The base class for composite widgets (menu bars, list boxes, etc.).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
void ChangeOptions(UInt_t options) override
Change composite frame options. Options is an OR of the EFrameTypes.
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
This class handles GUI labels.
This class describes layout hints used by the layout classes.
The TGLineWidthComboBox user callable and it creates a combobox for selecting the line width.
ROOT GUI Window base class.
void ExcludeClassEditor(TClass *cl, Bool_t recurse=kFALSE)
Exclude editor for class cl from current construction.
Base frame for implementing GUI - a service class.
virtual void ActivateBaseClassEditors(TClass *cl)
Provide list of editors for base-classes.
TGedEditor * fGedEditor
manager of this frame
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.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
Editor of pad/canvas objects.
virtual void ConnectSignals2Slots()
Connect signals to slots.
TGRadioButton * fBmode0
set no pad border
virtual void DoGridX(Bool_t on)
Slot connected to the check box 'GridX'.
TGButtonGroup * fBgroup
button group of border mode
virtual void DoLogY(Bool_t on)
Slot connected to the check box 'LogY'.
virtual void DoEditable(Bool_t on)
Slot connected to the check box 'Editable'.
TGCheckButton * fLogX
set log scale on X
TGCheckButton * fFixedAR
set fixed aspect ratio
virtual void SetModel(TObject *obj)
Pick up the used fill attributes.
TGCheckButton * fLogZ
set log scale on Z
virtual void DoBorderSize(Int_t size)
Slot connected to the border size settings.
virtual void DoCrosshair(Bool_t on)
Slot connected to the check box 'Crosshair'.
virtual void DoTickY(Bool_t on)
Slot connected to the check box 'TickY'.
TGCheckButton * fLogY
set log scale on Y
TGLineWidthComboBox * fBsize
set pad border size
virtual void DoBorderMode()
Slot connected to the border mode settings.
TGCheckButton * fTickX
set ticks on X
virtual ~TPadEditor()
Destructor of fill editor.
TGRadioButton * fBmode1
set raised pad border mode
TGCheckButton * fGridY
set grid on Y
TGCheckButton * fCrosshair
set crosshair
virtual void DoFixedAspectRatio(Bool_t on)
Slot connected to the check box 'Fixed aspect ratio'.
TPad * fPadPointer
TPad object.
virtual void DoLogX(Bool_t on)
Slot connected to the check box 'LogX'.
TGCheckButton * fGridX
set grid on X
virtual void DoGridY(Bool_t on)
Slot connected to the check box 'GridY'.
TGRadioButton * fBmode
set sinken pad border mode
virtual void DoTickX(Bool_t on)
Slot connected to the check box 'TickX'.
TGCheckButton * fEditable
set pad editable
virtual void ActivateBaseClassEditors(TClass *cl)
Exclude TAttLineEditor from this interface.
TGCheckButton * fTickY
set ticks on Y
TPadEditor(const TGWindow *p=nullptr, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor of TPad editor GUI.
virtual void DoLogZ(Bool_t on)
Slot connected to the check box 'LogZ'.
TGLayoutHints * fBmodelh
layout hints for border mode buttons
The most important graphics class in the ROOT system.
void SetGridx(Int_t value=1) override
Short_t GetBorderMode() const override
void SetBorderSize(Short_t bordersize) override
Int_t GetTicky() const override
void SetTickx(Int_t value=1) override
Bool_t GetGridx() const override
void SetLogz(Int_t value=1) override
Set Lin/Log scale for Z.
void SetEditable(Bool_t mode=kTRUE) override
Set pad editable yes/no If a pad is not editable:
Int_t GetTickx() const override
void SetLogy(Int_t value=1) override
Set Lin/Log scale for Y.
Bool_t HasCrosshair() const override
Return kTRUE if the crosshair has been activated (via SetCrosshair).
Bool_t HasFixedAspectRatio() const override
Bool_t GetGridy() const override
Int_t GetLogz() const override
void SetFixedAspectRatio(Bool_t fixed=kTRUE) override
Fix pad aspect ratio to current value if fixed is true.
Short_t GetBorderSize() const override
void SetGridy(Int_t value=1) override
Int_t GetLogy() const override
virtual Bool_t IsEditable() const override
void SetBorderMode(Short_t bordermode) override
void SetTicky(Int_t value=1) override
void SetLogx(Int_t value=1) override
Set Lin/Log scale for X.
void SetCrosshair(Int_t crhair=1) override
Set crosshair active/inactive.
Int_t GetLogx() const override
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.