66 fFixedAR->SetToolTipText(
"Set fixed aspect ratio");
75 fGridX->SetToolTipText(
"Set grid along X");
78 fTickX->SetToolTipText(
"Set tick marks along X");
84 fEditable->SetToolTipText(
"Set editable mode");
87 fGridY->SetToolTipText(
"Set grid along Y");
90 fTickY->SetToolTipText(
"Set tick marks along Y");
100 fLogX->SetToolTipText(
"Set logarithmic scale along X");
103 fLogY->SetToolTipText(
"Set logarithmic scale along Y");
106 fLogZ->SetToolTipText(
"Set logarithmic scale along Z");
114 fBmode->SetToolTipText(
"Set a sinken border of the pad/canvas");
116 fBmode0->SetToolTipText(
"Set no border of the pad/canvas");
118 fBmode1->SetToolTipText(
"Set a raised border of the pad/canvas");
154 fFixedAR->Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoFixedAspectRatio(Bool_t)");
155 fCrosshair->Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoCrosshair(Bool_t)");
156 fEditable->Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoEditable(Bool_t)");
157 fGridX->Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoGridX(Bool_t)");
158 fGridY->Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoGridY(Bool_t)");
159 fTickX->Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoTickX(Bool_t)");
160 fTickY->Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoTickY(Bool_t)");
161 fLogX->Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoLogX(Bool_t)");
162 fLogY->Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoLogY(Bool_t)");
163 fLogZ->Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoLogZ(Bool_t)");
164 fBgroup->Connect(
"Clicked(Int_t)",
"TPadEditor",
this,
"DoBorderMode()");
165 fBsize->Connect(
"Selected(Int_t)",
"TPadEditor",
this,
"DoBorderSize(Int_t)");
225 }
else if (par == 1) {
233 if (par < 1) par = 1;
234 if (par > 16) par = 16;
ULong_t Pixel_t
Pixel value.
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
TClass instances represent classes, structs and namespaces in the ROOT type system.
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.
The TGLineWidthComboBox user callable and it creates a combobox for selecting the line width.
ROOT GUI Window base class.
virtual void ActivateBaseClassEditors(TClass *cl)
Provide list of editors for base-classes.
TGedEditor * fGedEditor
manager of this frame
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.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
~TPadEditor() override
Destructor of fill editor.
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
void SetModel(TObject *obj) override
Pick up the used fill attributes.
void ActivateBaseClassEditors(TClass *cl) override
Exclude TAttLineEditor from this interface.
TGCheckButton * fFixedAR
set fixed aspect ratio
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
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
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.