160 fFixedAR->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoFixedAspectRatio(Bool_t)");
162 fEditable->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoEditable(Bool_t)");
163 fGridX->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoGridX(Bool_t)");
164 fGridY->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoGridY(Bool_t)");
165 fTickX->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoTickX(Bool_t)");
166 fTickY->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoTickY(Bool_t)");
167 fLogX->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoLogX(Bool_t)");
168 fLogY->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoLogY(Bool_t)");
169 fLogZ->
Connect(
"Toggled(Bool_t)",
"TPadEditor",
this,
"DoLogZ(Bool_t)");
170 fBgroup->
Connect(
"Clicked(Int_t)",
"TPadEditor",
this,
"DoBorderMode()");
171 fBsize->
Connect(
"Selected(Int_t)",
"TPadEditor",
this,
"DoBorderSize(Int_t)");
231 }
else if (par == 1) {
239 if (par < 1) par = 1;
240 if (par > 16) par = 16;
include TDocParser_001 C image html pict1_TDocParser_001 png width
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.
TGCompositeFrame(const TGCompositeFrame &)
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void ChangeOptions(UInt_t options)
Change composite frame options. Options is an OR of the EFrameTypes.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
void ExcludeClassEditor(TClass *cl, Bool_t recurse=kFALSE)
Exclude editor for class cl from current construction.
virtual void ActivateBaseClassEditors(TClass *cl)
Provide list of editors for base-classes.
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
Mother of all ROOT objects.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual void DoGridX(Bool_t on)
Slot connected to the check box 'GridX'.
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'.
virtual void SetModel(TObject *obj)
Pick up the used fill attributes.
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'.
TGLineWidthComboBox * fBsize
virtual void DoBorderMode()
Slot connected to the border mode settings.
virtual ~TPadEditor()
Destructor of fill editor.
TGCheckButton * fCrosshair
virtual void DoFixedAspectRatio(Bool_t on)
Slot connected to the check box 'Fixed aspect ratio'.
virtual void DoLogX(Bool_t on)
Slot connected to the check box 'LogX'.
virtual void DoGridY(Bool_t on)
Slot connected to the check box 'GridY'.
TPadEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor of TPad editor GUI.
virtual void DoTickX(Bool_t on)
Slot connected to the check box 'TickX'.
TGCheckButton * fEditable
virtual void ActivateBaseClassEditors(TClass *cl)
Exclude TAttLineEditor from this interface.
virtual void DoLogZ(Bool_t on)
Slot connected to the check box 'LogZ'.
The most important graphics class in the ROOT system.
virtual void SetLogy(Int_t value=1)
Set Lin/Log scale for Y.
virtual void SetGridx(Int_t value=1)
virtual Bool_t HasCrosshair() const
Return kTRUE if the crosshair has been activated (via SetCrosshair).
virtual void SetGridy(Int_t value=1)
virtual void SetLogx(Int_t value=1)
Set Lin/Log scale for X.
virtual Bool_t IsEditable() const
virtual void SetCrosshair(Int_t crhair=1)
Set crosshair active/inactive.
virtual void SetTickx(Int_t value=1)
virtual void SetBorderMode(Short_t bordermode)
virtual void SetFixedAspectRatio(Bool_t fixed=kTRUE)
Fix pad aspect ratio to current value if fixed is true.
virtual Short_t GetBorderMode() const
virtual Short_t GetBorderSize() const
virtual void SetTicky(Int_t value=1)
virtual void SetLogz(Int_t value=1)
Set Lin/Log scale for Z.
virtual void SetEditable(Bool_t mode=kTRUE)
Set pad editable yes/no If a pad is not editable:
Bool_t HasFixedAspectRatio() const
virtual void SetBorderSize(Short_t bordersize)
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.