Analysis
version 7.0 - august 2014
|
#include <GEVPadAxisPropertiesEditor.hh>
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 | |
GEVPad * | pad_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) | |
Interface graphique permettant d'éditer les propriétés des axes de tracé d'une zone graphique.
GEVPadAxisPropertiesEditor::GEVPadAxisPropertiesEditor | ( | GEVPad & | pad, |
int & | result | ||
) |
Constructeur: génère l'interface permettant d'éditer les propriétés d'une zone graphique.
pad | pad à éditer |
result | variable recevant le résultat en sortie: 1 = 0k, 0 = Cancel |
References Construct(), dim, init_properties, pad_ptr, result_ptr, Start(), and update.
|
virtual |
Destructeur.
Referenced by Quit().
|
protected |
Constructeur de recopie (non implémenté).
original | instance à recopier |
|
private |
Macro from GCpp library that defines the following functions:
|
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().
|
virtual |
Fonction qui ouvre l'interface graphique et traite l'édition.
References gevDico, and GEVDico::pad_axis_prop_title.
Referenced by GEVPadAxisPropertiesEditor().
|
virtual |
Fonction qui vérifie que les bornes de tracé sont correctes. Si ce n'est pas le cas, en mode autoscale, elles sont redéfinies aux valeurs extrêmes, sinon un message est affiché.
References GEVPadAxisProperties::GetAutoscaleX(), GEVPadAxisProperties::GetAutoscaleY(), GEVPadAxisProperties::GetAutoscaleZ(), GEVPadAxisProperties::GetXmax(), GEVPadAxisProperties::GetXmin(), GEVPadAxisProperties::GetYmax(), GEVPadAxisProperties::GetYmin(), GEVPadAxisProperties::GetZmax(), GEVPadAxisProperties::GetZmin(), GEVDico::gev_req_continue, GEVDico::gev_req_warn_title, gevDico, pad_ptr, XFullClicked(), YFullClicked(), and ZFullClicked().
|
virtual |
Fonction qui termine l'édition et ferme la fenêtre.
References GEVPage::GetCanvas(), GEVPad::GetPagePtr(), pad_ptr, update, GEVPad::Update(), and ~GEVPadAxisPropertiesEditor().
|
virtual |
Slot appelé à la modification du texte de la valeur Xmin.
str | texte de la zone de texte |
References GEVPadAxisProperties::GetXmin(), pad_ptr, GEVPad::SetLogX(), GEVPadAxisProperties::SetXmin(), w_x_log, and w_x_min_entry.
|
virtual |
Slot appelé à la modification du texte de la valeur Xmax.
str | texte de la zone de texte |
References GEVPadAxisProperties::GetXmax(), pad_ptr, GEVPad::SetLogX(), GEVPadAxisProperties::SetXmax(), w_x_log, and w_x_max_entry.
|
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().
|
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().
|
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.
|
virtual |
Slot appelé à la modification du texte de la valeur Ymin.
str | texte de la zone de texte |
References GEVPadAxisProperties::GetYmin(), pad_ptr, GEVPad::SetLogY(), GEVPadAxisProperties::SetYmin(), w_y_log, and w_y_min_entry.
|
virtual |
Slot appelé à la modification du texte de la valeur Ymax.
str | texte de la zone de texte |
References GEVPadAxisProperties::GetYmax(), pad_ptr, GEVPad::SetLogY(), GEVPadAxisProperties::SetYmax(), w_y_log, and w_y_max_entry.
|
virtual |
Slot appelé lorsque le bouton Full est sélectionné pour l'axe Y.
References dim, Spectrum::GetHistoPtr(), GEVPlot::GetSpectrumDimension(), GEVPlot::GetSpectrumPtr(), GEVPadAxisProperties::GetYmaxLimit(), GEVPadAxisProperties::GetYminLimit(), pad_ptr, w_y_max_entry, and w_y_min_entry.
Referenced by CheckRanges(), and 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().
|
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.
|
virtual |
Slot appelé à la modification du texte de la valeur Zmin.
str | texte de la zone de texte |
References GEVPadAxisProperties::GetZmin(), pad_ptr, GEVPad::SetLogZ(), GEVPadAxisProperties::SetZmin(), w_z_log, and w_z_min_entry.
|
virtual |
Slot appelé à la modification du texte de la valeur Zmax.
str | texte de la zone de texte |
References GEVPadAxisProperties::GetZmax(), pad_ptr, GEVPad::SetLogZ(), GEVPadAxisProperties::SetZmax(), w_z_log, and w_z_max_entry.
|
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().
|
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().
|
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.
|
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.
|
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().
|
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 | , |
0 | |||
) |
Définition à usage de ROOT...