GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Gw::LevelEditor Class Reference

Level GUI Editor :
The goal of the level editor is to change graphical attributes for a level. More...

#include <LevelEditor.h>

Inherits TGedFrame.

Public Member Functions

virtual void DoOffsetX0 ()
 
virtual void DoOffsetX1 ()
 
virtual void DoOffsetX2 ()
 
virtual void DoOffsetX3 ()
 
virtual void DoOffsetY0 ()
 
virtual void DoOffsetY1 ()
 
virtual void DoOffsetY2 ()
 
virtual void DoOffsetY3 ()
 
virtual void DoTextColor0 (Pixel_t color)
 
virtual void DoTextColor1 (Pixel_t color)
 
virtual void DoTextColor2 (Pixel_t color)
 
virtual void DoTextColor3 (Pixel_t color)
 
virtual void DoTextEntry0 (const Char_t *name="")
 
virtual void DoTextEntry1 (const Char_t *name="")
 
virtual void DoTextEntry2 (const Char_t *name="")
 
virtual void DoTextEntry3 (const Char_t *name="")
 
 LevelEditor (const TGWindow *p=0)
 
 LevelEditor (const TGWindow *p, Int_t id)
 
virtual void SetModel (TObject *obj)
 to connect the current Level to the Editor (for ROOTVERSION > 5.12) More...
 
virtual void SetModel (TVirtualPad *pad, TObject *obj, Int_t event)
 to connect the current Level to the Editor (for ROOTVERSION <= 5.12) More...
 
virtual ~LevelEditor ()
 

Protected Member Functions

virtual void ConnectSignals2Slots ()
 

Protected Attributes

TGColorSelect * fColorSelect0
 
TGColorSelect * fColorSelect1
 
TGColorSelect * fColorSelect2
 
TGColorSelect * fColorSelect3
 
LevelfLevel
 
TGNumberEntry * fOffsetX0
 
TGNumberEntry * fOffsetX1
 
TGNumberEntry * fOffsetX2
 
TGNumberEntry * fOffsetX3
 
TGNumberEntry * fOffsetY0
 
TGNumberEntry * fOffsetY1
 
TGNumberEntry * fOffsetY2
 
TGNumberEntry * fOffsetY3
 
TGTextEntry * fTextEntry0
 
TGTextEntry * fTextEntry1
 
TGTextEntry * fTextEntry2
 
TGTextEntry * fTextEntry3
 

Detailed Description

Level GUI Editor :
The goal of the level editor is to change graphical attributes for a level.

As a Level derives from a TLine, the TLine editor is still open and the user can change graphical attributes of the level line (color, style, width).

All labels can be modified (color, text, offset in X direction, offset in Y direction).

Todo:
perhaps remove text fields for the labels because in NuclearLevel, labels are related to nuclear data as spin, parity, ...
Author
Bertrand ROSSE

Definition at line 54 of file LevelEditor.h.


The documentation for this class was generated from the following files: