Warning, file /include/root/TPieEditor.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_TPieEditor
0013 #define ROOT_TPieEditor
0014
0015
0016 #include "TGedFrame.h"
0017
0018 class TPie;
0019 class TGButtonGroup;
0020 class TGTextEntry;
0021 class TGCheckButton;
0022 class TGRadioButton;
0023 class TGNumberEntry;
0024 class TGColorSelect;
0025 class TGFontTypeComboBox;
0026 class TGComboBox;
0027
0028 class TPieEditor : public TGedFrame {
0029
0030 protected:
0031 char fDrawShape;
0032 TGTextEntry *fTitle;
0033 Int_t fTitlePrec;
0034 TPie *fPie;
0035 TGButtonGroup *fgr;
0036 TGRadioButton *fLblDirH;
0037 TGRadioButton *fLblDirR;
0038 TGRadioButton *fLblDirT;
0039 TGLayoutHints *fShape1lh;
0040 TGCheckButton *fOutlineOnOff;
0041 TGCheckButton *fIs3D;
0042 TGNumberEntry *f3DHeight;
0043 TGNumberEntry *f3DAngle;
0044 TGColorSelect *fColorSelect;
0045 TGFontTypeComboBox *fTypeCombo;
0046 TGComboBox *fSizeCombo;
0047
0048 virtual void ConnectSignals2Slots();
0049
0050 static TGComboBox* BuildFontSizeComboBox(TGFrame*, Int_t);
0051
0052 public:
0053 TPieEditor(const TGWindow *p = nullptr,
0054 Int_t width = 140, Int_t height = 30,
0055 UInt_t options = kChildFrame,
0056 Pixel_t back = GetDefaultFrameBackground());
0057 ~TPieEditor() override;
0058 void SetModel(TObject* ) override;
0059 void ActivateBaseClassEditors(TClass*) override;
0060
0061
0062 virtual void DoShape();
0063 virtual void DoMarkerOnOff(Bool_t on);
0064 virtual void DoTitle(const char *text);
0065 virtual void DoGraphLineWidth();
0066 virtual void DoChange3DAngle();
0067 virtual void DoTextChange();
0068
0069 ClassDefOverride(TPieEditor,0)
0070 };
0071 #endif