Warning, file /include/root/TPadEditor.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TPadEditor
0013 #define ROOT_TPadEditor
0014
0015
0016 #include "TGedFrame.h"
0017
0018 class TGCheckButton;
0019 class TGRadioButton;
0020 class TGLineWidthComboBox;
0021 class TGButtonGroup;
0022 class TPad;
0023
0024
0025 class TPadEditor : public TGedFrame {
0026
0027 protected:
0028 TPad *fPadPointer;
0029 TGCheckButton *fEditable;
0030 TGCheckButton *fCrosshair;
0031 TGCheckButton *fFixedAR;
0032 TGCheckButton *fGridX;
0033 TGCheckButton *fGridY;
0034 TGCheckButton *fLogX;
0035 TGCheckButton *fLogY;
0036 TGCheckButton *fLogZ;
0037 TGCheckButton *fTickX;
0038 TGCheckButton *fTickY;
0039 TGRadioButton *fBmode;
0040 TGRadioButton *fBmode0;
0041 TGRadioButton *fBmode1;
0042 TGLayoutHints *fBmodelh;
0043 TGLineWidthComboBox *fBsize;
0044 TGButtonGroup *fBgroup;
0045
0046 virtual void ConnectSignals2Slots();
0047
0048 public:
0049 TPadEditor(const TGWindow *p = nullptr,
0050 Int_t width = 140, Int_t height = 30,
0051 UInt_t options = kChildFrame,
0052 Pixel_t back = GetDefaultFrameBackground());
0053 ~TPadEditor() override;
0054
0055 void SetModel(TObject* obj) override;
0056 void ActivateBaseClassEditors(TClass* cl) override;
0057
0058 virtual void DoEditable(Bool_t on);
0059 virtual void DoCrosshair(Bool_t on);
0060 virtual void DoFixedAspectRatio(Bool_t on);
0061 virtual void DoGridX(Bool_t on);
0062 virtual void DoGridY(Bool_t on);
0063 virtual void DoLogX(Bool_t on);
0064 virtual void DoLogY(Bool_t on);
0065 virtual void DoLogZ(Bool_t on);
0066 virtual void DoTickX(Bool_t on);
0067 virtual void DoTickY(Bool_t on);
0068 virtual void DoBorderMode();
0069 virtual void DoBorderSize(Int_t size);
0070
0071 ClassDefOverride(TPadEditor,0)
0072 };
0073
0074 #endif