Analysis  version 7.0 - august 2014
GEVPadPropertiesEditor Class Reference

#include <GEVPadPropertiesEditor.hh>

Inheritance diagram for GEVPadPropertiesEditor:

Public Member Functions

 GEVPadPropertiesEditor (GEVPad &pad, int &result)
 
virtual ~GEVPadPropertiesEditor ()
 
virtual void Construct ()
 
virtual void Start ()
 
virtual void Quit ()
 
virtual void ResetInitPosition ()
 
virtual void ResetCurrentPosition ()
 
virtual void XinfTextChanged (const char *str)
 
virtual void XsupTextChanged (const char *str)
 
virtual void YinfTextChanged (const char *str)
 
virtual void YsupTextChanged (const char *str)
 
virtual void XmglTextChanged (const char *str)
 
virtual void XmgrTextChanged (const char *str)
 
virtual void YmguTextChanged (const char *str)
 
virtual void YmgdTextChanged (const char *str)
 
virtual void XTitleOffsetTextChanged (const char *str)
 
virtual void YTitleOffsetTextChanged (const char *str)
 
virtual void ThetaTextChanged (const char *str)
 
virtual void PhiTextChanged (const char *str)
 
virtual void Ok ()
 
virtual void Apply ()
 
virtual void Cancel ()
 
 ClassDef (GEVPadPropertiesEditor, 0)
 

Protected Member Functions

 GEVPadPropertiesEditor (const GEVPadPropertiesEditor &original)
 

Protected Attributes

GEVPadpad_ptr
 Pointeur sur le pad à modifier.
 
GEVPadProperties init_properties
 Propriétés initiales du pad.
 
GEVPadProperties current_properties
 Propriétés actuelles (modifiées) du pad: seule la position est utilisée
 
int * result_ptr
 Pointeur sur le résultat en sortie de la requête
 
bool update
 Teste s'il faut mettre à jour en sortie.
 
TGTextButton * w_button_ok
 Bouton de validation.
 
TGTextButton * w_button_apply
 Bouton d'affichage.
 
TGTextButton * w_button_cancel
 Bouton d'annulation.
 
TGNumberEntry * w_x_inf_entry
 Saisie de Xinf.
 
TGNumberEntry * w_x_sup_entry
 Saisie de Xsup.
 
TGNumberEntry * w_y_inf_entry
 Saisie de Yinf.
 
TGNumberEntry * w_y_sup_entry
 Saisie de Ysup.
 
TGTextButton * w_button_pos_init
 Bouton de récupération des valeurs initiales.
 
TGTextButton * w_button_pos_current
 Bouton de récupération des valeurs courantes.
 
TGNumberEntry * w_x_mgl_entry
 Saisie de la marge à gauche du pad.
 
TGNumberEntry * w_x_mgr_entry
 Saisie de la marge à droite du pad.
 
TGNumberEntry * w_y_mgu_entry
 Saisie de la marge en haut du pad.
 
TGNumberEntry * w_y_mgd_entry
 Saisie de la marge en bas du pad.
 
TGNumberEntry * w_xtit_off_entry
 Saisie du décalage du titre de l'axe X.
 
TGNumberEntry * w_ytit_off_entry
 Saisie du décalage du titre de l'axe Y.
 
TGNumberEntry * w_theta_entry
 Saisie de l'angle de rotation 3D.
 
TGNumberEntry * w_phi_entry
 Saisie de l'angle de rotation 3D.
 

Private Member Functions

 GObject (GEVPadPropertiesEditor)
 

Detailed Description

Interface graphique permettant d'éditer les propriétés d'une zone graphique.

Constructor & Destructor Documentation

GEVPadPropertiesEditor::GEVPadPropertiesEditor ( GEVPad pad,
int &  result 
)

Constructeur: génère l'interface permettant d'éditer les propriétés d'une zone graphique.

Parameters
padpad à éditer
resultvariable recevant le résultat en sortie: 1 = 0k, 0 = Cancel

< Valeur actuelle de x_inf

< Valeur actuelle de x_sup

< Valeur actuelle de y_inf

< Valeur actuelle de y_sup

References Construct(), current_properties, GEVPad::GetCurrentGeometry(), init_properties, pad_ptr, result_ptr, GEVPadProperties::SetXinf(), GEVPadProperties::SetXsup(), GEVPadProperties::SetYinf(), GEVPadProperties::SetYsup(), Start(), and update.

GEVPadPropertiesEditor::~GEVPadPropertiesEditor ( )
virtual

Destructeur.

Referenced by Quit().

GEVPadPropertiesEditor::GEVPadPropertiesEditor ( const GEVPadPropertiesEditor original)
protected

Constructeur de recopie (non implémenté).

Parameters
originalinstance à recopier

Member Function Documentation

GEVPadPropertiesEditor::GObject ( GEVPadPropertiesEditor  )
private

Macro from GCpp library that defines the following functions:

  • ClassName(): return the real class name of the object
  • StaticClassName(): return the used class name of the object (that may be a base class of the real object).
  • IsInstanceOf<T>(): return true if the current object is an instance of the template class name argument
  • Clone(): return an allocated copy of the object.
void GEVPadPropertiesEditor::Construct ( )
virtual
void GEVPadPropertiesEditor::Start ( )
virtual
void GEVPadPropertiesEditor::Quit ( )
virtual

Fonction qui termine l'édition et ferme la fenêtre.

References GEVPad::GetPagePtr(), pad_ptr, GEVPad::ResetGeometry(), update, GEVPage::Update(), and ~GEVPadPropertiesEditor().

void GEVPadPropertiesEditor::ResetInitPosition ( )
virtual
void GEVPadPropertiesEditor::ResetCurrentPosition ( )
virtual
void GEVPadPropertiesEditor::XinfTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la position Xinf.

Parameters
strtexte de la zone de texte

References pad_ptr, GEVPadProperties::SetXinf(), and w_x_inf_entry.

void GEVPadPropertiesEditor::XsupTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la position Xsup.

Parameters
strtexte de la zone de texte

References pad_ptr, GEVPadProperties::SetXsup(), and w_x_sup_entry.

void GEVPadPropertiesEditor::YinfTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la position Yinf.

Parameters
strtexte de la zone de texte

References pad_ptr, GEVPadProperties::SetYinf(), and w_y_inf_entry.

void GEVPadPropertiesEditor::YsupTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la position Ysup.

Parameters
strtexte de la zone de texte

References pad_ptr, GEVPadProperties::SetYsup(), and w_y_sup_entry.

void GEVPadPropertiesEditor::XmglTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la marge gauche.

Parameters
strtexte de la zone de texte

References pad_ptr, GEVPadProperties::SetMarginLeft(), and w_x_mgl_entry.

void GEVPadPropertiesEditor::XmgrTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la marge droite.

Parameters
strtexte de la zone de texte

References pad_ptr, GEVPadProperties::SetMarginRight(), and w_x_mgr_entry.

void GEVPadPropertiesEditor::YmguTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la marge du haut.

Parameters
strtexte de la zone de texte

References pad_ptr, GEVPadProperties::SetMarginUp(), and w_y_mgu_entry.

void GEVPadPropertiesEditor::YmgdTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la marge du bas.

Parameters
strtexte de la zone de texte

References pad_ptr, GEVPadProperties::SetMarginDown(), and w_y_mgd_entry.

void GEVPadPropertiesEditor::XTitleOffsetTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la position du titre en X.

Parameters
strtexte de la zone de texte

References pad_ptr, GEVPadProperties::SetXTitleOffset(), and w_xtit_off_entry.

void GEVPadPropertiesEditor::YTitleOffsetTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la position du titre en Y.

Parameters
strtexte de la zone de texte

References pad_ptr, GEVPadProperties::SetYTitleOffset(), and w_ytit_off_entry.

void GEVPadPropertiesEditor::ThetaTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de l'angle theta.

Parameters
strtexte de la zone de texte

References pad_ptr, GEVPadProperties::SetTheta(), and w_theta_entry.

void GEVPadPropertiesEditor::PhiTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de l'angle phi.

Parameters
strtexte de la zone de texte

References pad_ptr, GEVPadProperties::SetPhi(), and w_phi_entry.

void GEVPadPropertiesEditor::Ok ( )
virtual

Slot appelé lorsque le bouton Ok est sélectionné. Celà provoque la fin de l'édition, en validant les changements.

References result_ptr, and update.

void GEVPadPropertiesEditor::Apply ( )
virtual

Slot appelé lorsque le bouton Apply est sélectionné. Celà ne provoque pas la fin de l'édition, mais seulement un affichage avec les paramètres définis.

References GEVPad::GetPagePtr(), pad_ptr, GEVPad::ResetGeometry(), update, and GEVPage::Update().

void GEVPadPropertiesEditor::Cancel ( )
virtual

Slot appelé lorsque le bouton Cancel est sélectionné. Celà provoque la fin de l'édition, en annulant les changements.

References init_properties, pad_ptr, and result_ptr.

GEVPadPropertiesEditor::ClassDef ( GEVPadPropertiesEditor  ,
 
)

Définition à usage de ROOT...


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