12 #ifndef ROOT_TGeoTabManager
13 #define ROOT_TGeoTabManager
virtual void DoClose()
Handle close button.
virtual ~TGeoTreeDialog()
Destructor.
TGCompositeFrame * GetVolumeTab() const
virtual void ConnectSignalsToSlots()
Connect signals to slots.
virtual void DoClose()
Handle close button.
void SetTab()
Set a given tab element as active one.
void GetEditors(TClass *cl)
Get editor for a class.
virtual void BuildListTree()
Build shape specific list tree.
virtual ~TGeoMatrixDialog()
static TObject * fgSelectedObj
virtual void DoItemClick(TGListTreeItem *item, Int_t btn)
Handle item click.
virtual void DeleteEditors()
Delete editors.
TGeoTabManager(TGedEditor *ged)
virtual void ConnectSignalsToSlots()
Connect signals to slots.
TGCompositeFrame * fVolumeTab
void GetMaterialEditor(TGeoMaterial *material)
Get editor for a material.
Int_t GetTabIndex() const
Get index for a given tab element.
void SetVolTabEnabled(Bool_t flag=kTRUE)
Enable/disable tabs.
virtual ~TGeoMediumDialog()
static void Cleanup(TGCompositeFrame *frame)
Static method to cleanup hirarchically all daughters of a composite frame.
virtual ~TGeoTransientPanel()
Destructor.
void DoSelect(TGListTreeItem *item)
Update dialog to reflect current clicked object.
#define ClassDef(name, id)
virtual void BuildListTree()
Build matrix specific list tree.
virtual void BuildListTree()
Build volume specific list tree.
void GetMediumEditor(TGeoMedium *medium)
Get editor for a medium.
virtual void ConnectSignalsToSlots()=0
virtual ~TGeoMaterialDialog()
TGeoShapeDialog(TGFrame *caller, const TGWindow *main, UInt_t w=1, UInt_t h=1)
TVirtualPad is an abstract base class for the Pad and Canvas classes.
TGeoTransientPanel * fMatrixPanel
virtual void DoItemClick(TGListTreeItem *item, Int_t btn)=0
TObject * GetModel() const
virtual void DoClose()
Handle close button.
virtual void ConnectSignalsToSlots()
Connect signals to slots.
void SetModel(TObject *model)
Update the editors in the main tab to reflect the selected object.
virtual ~TGeoTabManager()
Dtor.
virtual void DoItemClick(TGListTreeItem *item, Int_t btn)
Handle item click.
static TGeoTabManager * GetMakeTabManager(TGedEditor *ged)
Static method to return the tab manager currently appended to the pad or create one if not existing...
TGCompositeFrame * fStyle
void GetVolumeEditor(TGeoVolume *vol)
Get editor for a volume.
TGeoTransientPanel * fShapePanel
void GetEditors(TClass *cl)
Get editor for a class.
The ROOT global object gROOT contains a list of all defined classes.
TGCompositeFrame * fTabContainer
static void MoveFrame(TGCompositeFrame *fr, TGCompositeFrame *p)
Move frame fr at the end of the list of parent p.
void SetModel(TObject *model)
Send the SetModel signal to all editors in the tab TYPE.
int main(int argc, char *argv[])
TGeoTreeDialog(TGFrame *caller, const TGWindow *main, UInt_t w=1, UInt_t h=1)
Constructor.
virtual void ConnectSignalsToSlots()
Connect signals to slots.
virtual ~TGeoShapeDialog()
TGeoTransientPanel * fMediumPanel
TGeoTransientPanel * fMaterialPanel
virtual void DoClose()
Handle close button.
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
TGeoTransientPanel(TGedEditor *ged, const char *name, TObject *obj)
static TObject * GetSelected()
TGeoMatrixDialog(TGFrame *caller, const TGWindow *main, UInt_t w=1, UInt_t h=1)
static TMap fgEditorToMgrMap
TGeoMaterialDialog(TGFrame *caller, const TGWindow *main, UInt_t w=1, UInt_t h=1)
Mother of all ROOT objects.
TGeoVolume * GetVolume() const
TGCompositeFrame * GetStyle() const
virtual void BuildListTree()
Build volume specific list tree.
TVirtualPad * GetPad() const
virtual void Show()
Hide the transient frame.
virtual void Hide()
Hide the transient frame.
virtual void BuildListTree()=0
virtual void DoItemClick(TGListTreeItem *item, Int_t btn)
Handle item click.
virtual void CloseWindow()
When closed via WM close button, just unmap (i.e.
void GetMatrixEditor(TGeoMatrix *matrix)
Get editor for a matrix.
TGeoMediumDialog(TGFrame *caller, const TGWindow *main, UInt_t w=1, UInt_t h=1)
void GetShapeEditor(TGeoShape *shape)
Get editor for a shape.
virtual void DoItemClick(TGListTreeItem *item, Int_t btn)
Handle item click.