62 Warning(
"TEveGedEditor::TEveGedEditor",
"Can't fix priority for TAttMarkerEditor.\n");
64 * (
Int_t*) (((
char*)frame) + off) = 1;
77 Info(
"TEveGedEditor::~TEveGedEditor",
"%p going down.",
this);
87 Info(
"TEveGedEditor::CloseWindow",
"%p closing.",
this);
121 static const TEveException eh(
"TEveGedEditor::DisplayElement ");
157 fElement->PropagateVizParamsToProjecteds();
172 "Maximum number of extra editors reached.",
268 fNCButton->Connect(
"Clicked()",
"TEveGedNameFrame",
this,
"SpawnEditorClone()");
291 fNCButton->SetText(
"No object selected.");
336 static const TEveException eh(
"TEveGedNameTextButton::HandleButton ");
const Mask_t kButtonPressMask
const Mask_t kAnyModifier
const Mask_t kButtonReleaseMask
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
void Info(const char *location, const char *msgfmt,...)
Use this function for informational messages.
void Warning(const char *location, const char *msgfmt,...)
Use this function in warning situations.
externTGDNDManager * gDNDManager
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
TClass instances represent classes, structs and namespaces in the ROOT type system.
void * New(ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
Return a pointer to a newly allocated object of this class.
Longptr_t GetDataMemberOffset(const char *membername) const
return offset for member name.
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
virtual TObject * GetEditorObject(const TEveException &eh) const
virtual TObject * GetObject(const TEveException &eh) const
Get a TObject associated with this render-element.
Exception class thrown by TEve classes and macros.
Specialization of TGedEditor for proper update propagation to TEveManager.
static Int_t fgMaxExtraEditors
TGedFrame * CreateNameFrame(const TGWindow *parent, const char *tab_name) override
Create name-frame for a tab.
TEveElement * GetEveElement() const
Return eve-element if it is the model object.
static void ElementDeleted(TEveElement *el)
Element is being deleted. Close editors showing it.
void DisplayElement(TEveElement *re)
Show a TEveElement in editor.
static TContextMenu * GetContextMenu()
Return context menu object shared among eve-ged-editors.
static TContextMenu * fgContextMenu
static TList * fgExtraEditors
void CloseWindow() override
Called from window-manger close button.
void Update(TGedFrame *gframe=nullptr) override
Virtual method from TGedEditor, called on every change.
void SetModel(TVirtualPad *pad, TObject *obj, Int_t event, Bool_t force=kFALSE) override
Set model object.
static void DestroyEditors()
Destroys all editors. Called from EVE termination.
TEveGedEditor(const TEveGedEditor &)
void DisplayObject(TObject *obj)
Show a TObject in editor.
static void ElementChanged(TEveElement *el)
Element was changed. Update editors showing it.
~TEveGedEditor() override
Destructor.
static void SpawnNewEditor(TObject *obj)
Static function to create a new extra editor.
Specialization of TGedNameFrame used in EVE.
void SpawnEditorClone()
Create a new floating editor with current object.
void SetModel(TObject *obj) override
Set model object.
~TEveGedNameFrame() override
Destructor.
TEveGedNameFrame(const TEveGedNameFrame &)
Specialization of TGTextButton for EVE name frame.
Bool_t HandleButton(Event_t *event) override
Handle button.
~TEveGedNameTextButton() override
Destructor.
TEveGedNameFrame * fFrame
TEveGedNameTextButton(const TEveGedNameTextButton &)
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
virtual void DeleteWindow()
Delete window.
This class describes layout hints used by the layout classes.
void SetWindowName(const char *name=nullptr) override
Set window name. This is typically done via the window manager.
TGClient * fClient
Connection to display server.
Handle_t fId
X11/Win32 Window identifier.
TGTextButton(const TGTextButton &)=delete
ROOT GUI Window base class.
TMap fFrameMap
global map of available frames
TVirtualPad * fPad
selected pad
virtual void SetModel(TVirtualPad *pad, TObject *obj, Int_t event, Bool_t force=kFALSE)
Activate object editors according to the selected object.
TGedEditor(const TGedEditor &)=delete
TGCompositeFrame * fTabContainer
main tab container
TObject * fModel
selected object
static void SetFrameCreator(TGedEditor *e)
Set the TGedEditor that currently creates TGedFrames.
virtual TObject * GetModel() const
Base frame for implementing GUI - a service class.
virtual void SetGedEditor(TGedEditor *ed)
TGedEditor * fGedEditor
manager of this frame
TGedFrame(const TGedFrame &)=delete
void SetModelClass(TClass *mcl)
Wrapper around a TObject so it can be stored in a TList.
TObject * GetObject() const
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual const char * GetTitle() const
Returns title of object.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
EGEventType fType
of event (see EGEventType)
Int_t fYRoot
coordinates relative to root
UInt_t fCode
key or button code