Analysis  version 7.0 - august 2014
GEVPadAxisPropertiesEditor Class Reference

#include <GEVPadAxisPropertiesEditor.hh>

Inheritance diagram for GEVPadAxisPropertiesEditor:

Public Member Functions

 GEVPadAxisPropertiesEditor (GEVPad &pad, int &result)
 
virtual ~GEVPadAxisPropertiesEditor ()
 
virtual void Construct ()
 
virtual void Start ()
 
virtual Bool_t CheckRanges ()
 
virtual void Quit ()
 
virtual void XminTextChanged (const char *str)
 
virtual void XmaxTextChanged (const char *str)
 
virtual void XFullClicked ()
 
virtual void XAutoClicked ()
 
virtual void XLogClicked ()
 
virtual void YminTextChanged (const char *str)
 
virtual void YmaxTextChanged (const char *str)
 
virtual void YFullClicked ()
 
virtual void YAutoClicked ()
 
virtual void YLogClicked ()
 
virtual void ZminTextChanged (const char *str)
 
virtual void ZmaxTextChanged (const char *str)
 
virtual void ZFullClicked ()
 
virtual void ZAutoClicked ()
 
virtual void ZLogClicked ()
 
virtual void Ok ()
 
virtual void Apply ()
 
virtual void Cancel ()
 
 ClassDef (GEVPadAxisPropertiesEditor, 0)
 

Protected Member Functions

 GEVPadAxisPropertiesEditor (const GEVPadAxisPropertiesEditor &original)
 

Protected Attributes

GEVPadpad_ptr
 Pointeur sur le pad à modifier.
 
GEVPadAxisProperties init_properties
 Propriétés initiales du pad.
 
UInt_t dim
 Dimension du premier spectre tracé
 
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_min_entry
 Saisie de Xmin.
 
TGNumberEntry * w_x_max_entry
 Saisie de Xmax.
 
TGTextButton * w_x_full
 Bouton de sélection des bornes extrêmes.
 
TGCheckButton * w_x_auto
 Bouton de sélection automatique des bornes.
 
TGCheckButton * w_x_log
 Bouton de mode logarithmique.
 
TGNumberEntry * w_y_min_entry
 Saisie de Ymin.
 
TGNumberEntry * w_y_max_entry
 Saisie de Ymax.
 
TGTextButton * w_y_full
 Bouton de sélection des bornes extrêmes.
 
TGCheckButton * w_y_auto
 Bouton de sélection automatique des bornes.
 
TGCheckButton * w_y_log
 Bouton de mode logarithmique.
 
TGNumberEntry * w_z_min_entry
 Saisie de Zmin.
 
TGNumberEntry * w_z_max_entry
 Saisie de Zmax.
 
TGTextButton * w_z_full
 Bouton de sélection des bornes extrêmes.
 
TGCheckButton * w_z_auto
 Bouton de sélection automatique des bornes.
 
TGCheckButton * w_z_log
 Bouton de mode logarithmique.
 

Private Member Functions

 GObject (GEVPadAxisPropertiesEditor)
 

Detailed Description

Interface graphique permettant d'éditer les propriétés des axes de tracé d'une zone graphique.

Constructor & Destructor Documentation

GEVPadAxisPropertiesEditor::GEVPadAxisPropertiesEditor ( 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

References Construct(), dim, init_properties, pad_ptr, result_ptr, Start(), and update.

GEVPadAxisPropertiesEditor::~GEVPadAxisPropertiesEditor ( )
virtual

Destructeur.

Referenced by Quit().

GEVPadAxisPropertiesEditor::GEVPadAxisPropertiesEditor ( const GEVPadAxisPropertiesEditor original)
protected

Constructeur de recopie (non implémenté).

Parameters
originalinstance à recopier

Member Function Documentation

GEVPadAxisPropertiesEditor::GObject ( GEVPadAxisPropertiesEditor  )
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 GEVPadAxisPropertiesEditor::Construct ( )
virtual

Fonction qui met en place les widgets de l'interface graphique.

References GEVPad::CheckLogY(), GEVPad::CheckLogZ(), dim, GEVPadAxisProperties::GetAutoscaleX(), GEVPadAxisProperties::GetAutoscaleY(), GEVPadAxisProperties::GetAutoscaleZ(), GEVPadAxisProperties::GetLogX(), GEVPadAxisProperties::GetLogY(), GEVPadAxisProperties::GetLogZ(), GEVPlot::GetSpectrumDimension(), GEVPadAxisProperties::GetXmax(), GEVPadAxisProperties::GetXmaxLimit(), GEVPadAxisProperties::GetXmin(), GEVPadAxisProperties::GetXminLimit(), GEVPadAxisProperties::GetYmax(), GEVPadAxisProperties::GetYmaxLimit(), GEVPadAxisProperties::GetYmin(), GEVPadAxisProperties::GetYminLimit(), GEVPadAxisProperties::GetZmax(), GEVPadAxisProperties::GetZmaxLimit(), GEVPadAxisProperties::GetZmin(), GEVPadAxisProperties::GetZminLimit(), gevDico, GEVDico::pad_axis_prop_apply, GEVDico::pad_axis_prop_auto, GEVDico::pad_axis_prop_cancel, GEVDico::pad_axis_prop_full, GEVDico::pad_axis_prop_log, GEVDico::pad_axis_prop_max, GEVDico::pad_axis_prop_min, GEVDico::pad_axis_prop_ok, GEVDico::pad_axis_prop_x_auto_tip, GEVDico::pad_axis_prop_x_axis, GEVDico::pad_axis_prop_x_full_tip, GEVDico::pad_axis_prop_x_log_tip, GEVDico::pad_axis_prop_y_auto_tip, GEVDico::pad_axis_prop_y_axis, GEVDico::pad_axis_prop_y_full_tip, GEVDico::pad_axis_prop_y_log_tip, GEVDico::pad_axis_prop_z_auto_tip, GEVDico::pad_axis_prop_z_axis, GEVDico::pad_axis_prop_z_full_tip, GEVDico::pad_axis_prop_z_log_tip, pad_ptr, GEVPad::SetLogY(), GEVPad::SetLogZ(), w_button_apply, w_button_cancel, w_button_ok, w_x_auto, w_x_full, w_x_log, w_x_max_entry, w_x_min_entry, w_y_auto, w_y_full, w_y_log, w_y_max_entry, w_y_min_entry, w_z_auto, w_z_full, w_z_log, w_z_max_entry, w_z_min_entry, XAutoClicked(), YAutoClicked(), and ZAutoClicked().

Referenced by GEVPadAxisPropertiesEditor().

void GEVPadAxisPropertiesEditor::Start ( )
virtual

Fonction qui ouvre l'interface graphique et traite l'édition.

References gevDico, and GEVDico::pad_axis_prop_title.

Referenced by GEVPadAxisPropertiesEditor().

Bool_t GEVPadAxisPropertiesEditor::CheckRanges ( )
virtual
void GEVPadAxisPropertiesEditor::Quit ( )
virtual

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

References GEVPage::GetCanvas(), GEVPad::GetPagePtr(), pad_ptr, update, GEVPad::Update(), and ~GEVPadAxisPropertiesEditor().

void GEVPadAxisPropertiesEditor::XminTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la valeur Xmin.

Parameters
strtexte de la zone de texte

References GEVPadAxisProperties::GetXmin(), pad_ptr, GEVPad::SetLogX(), GEVPadAxisProperties::SetXmin(), w_x_log, and w_x_min_entry.

void GEVPadAxisPropertiesEditor::XmaxTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la valeur Xmax.

Parameters
strtexte de la zone de texte

References GEVPadAxisProperties::GetXmax(), pad_ptr, GEVPad::SetLogX(), GEVPadAxisProperties::SetXmax(), w_x_log, and w_x_max_entry.

void GEVPadAxisPropertiesEditor::XFullClicked ( )
virtual

Slot appelé lorsque le bouton Full est sélectionné pour l'axe X.

References GEVPadAxisProperties::GetXmaxLimit(), GEVPadAxisProperties::GetXminLimit(), pad_ptr, w_x_max_entry, and w_x_min_entry.

Referenced by CheckRanges(), and XAutoClicked().

void GEVPadAxisPropertiesEditor::XAutoClicked ( )
virtual

Slot appelé lorsque le bouton Auto est sélectionné pour l'axe X.

References GEVPadAxisProperties::GetAutoscaleX(), pad_ptr, GEVPadAxisProperties::SetAutoscaleX(), w_x_auto, w_x_full, w_x_max_entry, w_x_min_entry, and XFullClicked().

Referenced by Construct().

void GEVPadAxisPropertiesEditor::XLogClicked ( )
virtual

Slot appelé lorsque le bouton Log est sélectionné pour l'axe X.

References GEVPadAxisProperties::GetXmax(), GEVPadAxisProperties::GetXmin(), pad_ptr, GEVPad::SetLogX(), and w_x_log.

void GEVPadAxisPropertiesEditor::YminTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la valeur Ymin.

Parameters
strtexte de la zone de texte

References GEVPadAxisProperties::GetYmin(), pad_ptr, GEVPad::SetLogY(), GEVPadAxisProperties::SetYmin(), w_y_log, and w_y_min_entry.

void GEVPadAxisPropertiesEditor::YmaxTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la valeur Ymax.

Parameters
strtexte de la zone de texte

References GEVPadAxisProperties::GetYmax(), pad_ptr, GEVPad::SetLogY(), GEVPadAxisProperties::SetYmax(), w_y_log, and w_y_max_entry.

void GEVPadAxisPropertiesEditor::YFullClicked ( )
virtual
void GEVPadAxisPropertiesEditor::YAutoClicked ( )
virtual

Slot appelé lorsque le bouton Auto est sélectionné pour l'axe Y.

References GEVPadAxisProperties::GetAutoscaleY(), pad_ptr, GEVPadAxisProperties::SetAutoscaleY(), w_y_auto, w_y_full, w_y_max_entry, w_y_min_entry, and YFullClicked().

Referenced by Construct().

void GEVPadAxisPropertiesEditor::YLogClicked ( )
virtual

Slot appelé lorsque le bouton Log est sélectionné pour l'axe Y.

References GEVPadAxisProperties::GetYmax(), GEVPadAxisProperties::GetYmin(), pad_ptr, GEVPad::SetLogY(), and w_y_log.

void GEVPadAxisPropertiesEditor::ZminTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la valeur Zmin.

Parameters
strtexte de la zone de texte

References GEVPadAxisProperties::GetZmin(), pad_ptr, GEVPad::SetLogZ(), GEVPadAxisProperties::SetZmin(), w_z_log, and w_z_min_entry.

void GEVPadAxisPropertiesEditor::ZmaxTextChanged ( const char *  str)
virtual

Slot appelé à la modification du texte de la valeur Zmax.

Parameters
strtexte de la zone de texte

References GEVPadAxisProperties::GetZmax(), pad_ptr, GEVPad::SetLogZ(), GEVPadAxisProperties::SetZmax(), w_z_log, and w_z_max_entry.

void GEVPadAxisPropertiesEditor::ZFullClicked ( )
virtual

Slot appelé lorsque le bouton Full est sélectionné pour l'axe Z.

References Spectrum::GetHistoPtr(), GEVPlot::GetSpectrumPtr(), pad_ptr, w_z_max_entry, and w_z_min_entry.

Referenced by CheckRanges(), and ZAutoClicked().

void GEVPadAxisPropertiesEditor::ZAutoClicked ( )
virtual

Slot appelé lorsque le bouton Auto est sélectionné pour l'axe Z.

References GEVPadAxisProperties::GetAutoscaleZ(), pad_ptr, GEVPadAxisProperties::SetAutoscaleZ(), w_z_auto, w_z_full, w_z_max_entry, w_z_min_entry, and ZFullClicked().

Referenced by Construct().

void GEVPadAxisPropertiesEditor::ZLogClicked ( )
virtual

Slot appelé lorsque le bouton Log est sélectionné pour l'axe Z.

References GEVPadAxisProperties::GetZmax(), GEVPadAxisProperties::GetZmin(), pad_ptr, GEVPad::SetLogZ(), and w_z_log.

void GEVPadAxisPropertiesEditor::Ok ( )
virtual

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

References CheckRanges(), result_ptr, and update.

void GEVPadAxisPropertiesEditor::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 CheckRanges(), GEVPage::GetCanvas(), GEVPad::GetPagePtr(), pad_ptr, update, and GEVPad::Update().

void GEVPadAxisPropertiesEditor::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.

GEVPadAxisPropertiesEditor::ClassDef ( GEVPadAxisPropertiesEditor  ,
 
)

Définition à usage de ROOT...


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