Analysis
version 7.0 - august 2014
|
#include <GEVPadPropertiesEditor.hh>
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 | |
GEVPad * | pad_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) | |
Interface graphique permettant d'éditer les propriétés d'une zone graphique.
GEVPadPropertiesEditor::GEVPadPropertiesEditor | ( | 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 |
< 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.
|
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 current_properties, GEVPadProperties::GetMarginDown(), GEVPadProperties::GetMarginLeft(), GEVPadProperties::GetMarginRight(), GEVPadProperties::GetMarginUp(), GEVPad::GetTPadPtr(), GEVPadProperties::GetXinf(), GEVPadProperties::GetXsup(), GEVPadProperties::GetXTitleOffset(), GEVPadProperties::GetYinf(), GEVPadProperties::GetYsup(), GEVPadProperties::GetYTitleOffset(), gevDico, GEVDico::pad_prop_angles, GEVDico::pad_prop_apply, GEVDico::pad_prop_apply_tip, GEVDico::pad_prop_axis_title, GEVDico::pad_prop_axis_x, GEVDico::pad_prop_axis_y, GEVDico::pad_prop_cancel, GEVDico::pad_prop_cancel_tip, GEVDico::pad_prop_margin, GEVDico::pad_prop_mg_bottom, GEVDico::pad_prop_mg_left, GEVDico::pad_prop_mg_right, GEVDico::pad_prop_mg_top, GEVDico::pad_prop_ok, GEVDico::pad_prop_ok_tip, GEVDico::pad_prop_phi, GEVDico::pad_prop_pos_current, GEVDico::pad_prop_pos_current_tip, GEVDico::pad_prop_pos_init, GEVDico::pad_prop_pos_init_tip, GEVDico::pad_prop_position, GEVDico::pad_prop_theta, GEVDico::pad_prop_x_inf, GEVDico::pad_prop_x_sup, GEVDico::pad_prop_y_inf, GEVDico::pad_prop_y_sup, pad_ptr, w_button_apply, w_button_cancel, w_button_ok, w_button_pos_current, w_button_pos_init, w_phi_entry, w_theta_entry, w_x_inf_entry, w_x_mgl_entry, w_x_mgr_entry, w_x_sup_entry, w_xtit_off_entry, w_y_inf_entry, w_y_mgd_entry, w_y_mgu_entry, w_y_sup_entry, and w_ytit_off_entry.
Referenced by GEVPadPropertiesEditor().
|
virtual |
Fonction qui ouvre l'interface graphique et traite l'édition.
References current_properties, GEVPadProperties::GetXinf(), GEVPadProperties::GetXsup(), GEVPadProperties::GetYinf(), GEVPadProperties::GetYsup(), gevDico, GEVDico::pad_prop_title, pad_ptr, and GEVPadProperties::SetGeometry().
Referenced by GEVPadPropertiesEditor().
|
virtual |
Fonction qui termine l'édition et ferme la fenêtre.
References GEVPad::GetPagePtr(), pad_ptr, GEVPad::ResetGeometry(), update, GEVPage::Update(), and ~GEVPadPropertiesEditor().
|
virtual |
Slot appelé par le bouton de sélection de la position initiale du pad.
References GEVPadProperties::GetXinf(), GEVPadProperties::GetXsup(), GEVPadProperties::GetYinf(), GEVPadProperties::GetYsup(), init_properties, pad_ptr, GEVPadProperties::SetGeometry(), w_x_inf_entry, w_x_sup_entry, w_y_inf_entry, and w_y_sup_entry.
|
virtual |
Slot appelé par le bouton de sélection de la position actuellement visible du pad.
References current_properties, GEVPadProperties::GetXinf(), GEVPadProperties::GetXsup(), GEVPadProperties::GetYinf(), GEVPadProperties::GetYsup(), pad_ptr, GEVPadProperties::SetGeometry(), w_x_inf_entry, w_x_sup_entry, w_y_inf_entry, and w_y_sup_entry.
|
virtual |
Slot appelé à la modification du texte de la position Xinf.
str | texte de la zone de texte |
References pad_ptr, GEVPadProperties::SetXinf(), and w_x_inf_entry.
|
virtual |
Slot appelé à la modification du texte de la position Xsup.
str | texte de la zone de texte |
References pad_ptr, GEVPadProperties::SetXsup(), and w_x_sup_entry.
|
virtual |
Slot appelé à la modification du texte de la position Yinf.
str | texte de la zone de texte |
References pad_ptr, GEVPadProperties::SetYinf(), and w_y_inf_entry.
|
virtual |
Slot appelé à la modification du texte de la position Ysup.
str | texte de la zone de texte |
References pad_ptr, GEVPadProperties::SetYsup(), and w_y_sup_entry.
|
virtual |
Slot appelé à la modification du texte de la marge gauche.
str | texte de la zone de texte |
References pad_ptr, GEVPadProperties::SetMarginLeft(), and w_x_mgl_entry.
|
virtual |
Slot appelé à la modification du texte de la marge droite.
str | texte de la zone de texte |
References pad_ptr, GEVPadProperties::SetMarginRight(), and w_x_mgr_entry.
|
virtual |
Slot appelé à la modification du texte de la marge du haut.
str | texte de la zone de texte |
References pad_ptr, GEVPadProperties::SetMarginUp(), and w_y_mgu_entry.
|
virtual |
Slot appelé à la modification du texte de la marge du bas.
str | texte de la zone de texte |
References pad_ptr, GEVPadProperties::SetMarginDown(), and w_y_mgd_entry.
|
virtual |
Slot appelé à la modification du texte de la position du titre en X.
str | texte de la zone de texte |
References pad_ptr, GEVPadProperties::SetXTitleOffset(), and w_xtit_off_entry.
|
virtual |
Slot appelé à la modification du texte de la position du titre en Y.
str | texte de la zone de texte |
References pad_ptr, GEVPadProperties::SetYTitleOffset(), and w_ytit_off_entry.
|
virtual |
Slot appelé à la modification du texte de l'angle theta.
str | texte de la zone de texte |
References pad_ptr, GEVPadProperties::SetTheta(), and w_theta_entry.
|
virtual |
Slot appelé à la modification du texte de l'angle phi.
str | texte de la zone de texte |
References pad_ptr, GEVPadProperties::SetPhi(), and w_phi_entry.
|
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.
|
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().
|
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 | , |
0 | |||
) |
Définition à usage de ROOT...