Warning, file /include/root/TGuiBldNameFrame.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_TGuiBldNameFrame
0013 #define ROOT_TGuiBldNameFrame
0014
0015
0016 #include "TGFrame.h"
0017
0018 class TGLabel;
0019 class TGTextEntry;
0020 class TGuiBldEditor;
0021 class TGuiBldEditor;
0022 class TRootGuiBuilder;
0023 class TGListTree;
0024 class TGFrame;
0025 class TGCanvas;
0026 class TGListTreeItem;
0027 class TGuiBldDragManager;
0028
0029
0030
0031 class TGuiBldNameFrame : public TGCompositeFrame {
0032
0033 private:
0034 TGLabel *fLabel;
0035 TGTextEntry *fFrameName;
0036 TGuiBldEditor *fEditor;
0037 TGCompositeFrame *fTitleFrame;
0038 TRootGuiBuilder *fBuilder;
0039 TGuiBldDragManager *fManager;
0040 TGListTree *fListTree;
0041 TGCanvas *fCanvas;
0042
0043 protected:
0044 void DoRedraw() override;
0045
0046 public:
0047 TGuiBldNameFrame(const TGWindow *p, TGuiBldEditor *editor);
0048 ~TGuiBldNameFrame() override { }
0049
0050 void ChangeSelected(TGFrame *frame);
0051 Bool_t CheckItems(TGCompositeFrame *main);
0052 TGListTreeItem *FindItemByName(TGListTree *tree, const char* name, TGListTreeItem *item = nullptr);
0053 TGCompositeFrame *GetMdi(TGFrame *frame);
0054 void MapItems(TGCompositeFrame *main);
0055 void RemoveFrame(TGFrame *frame) override;
0056 void Reset();
0057 void SelectFrameByItem(TGListTreeItem* item, Int_t i = 0);
0058 void UpdateName();
0059
0060 ClassDefOverride(TGuiBldNameFrame, 0)
0061 };
0062
0063
0064 #endif