Analysis
version 7.0 - august 2014
|
#include <GEVHistoEditor.hh>
Public Member Functions | |
GEVHistoEditor (TGWindow *mw, GEVPageManager *pg_mgr) | |
virtual void | Construct () |
virtual void | Start () |
virtual void | Quit () |
virtual void | SaveButtonClicked () |
virtual void | ClearButtonClicked () |
virtual void | DoneButtonClicked () |
ClassDef (GEVHistoEditor, 0) | |
Protected Member Functions | |
GEVHistoEditor (const GEVHistoEditor &original) | |
Protected Attributes | |
GEVPageManager * | page_mgr |
pointeur sur le gestionnaire de pages | |
const SpectrumList * | spec_list |
pointeur sur la liste de spectres | |
GEVSpectrumSelectionWidget * | w_spec_select |
widget de sélection des spectres | |
TGTextButton * | w_button_save |
bouton de sauvegarde des histogrammes | |
TGTextButton * | w_button_clear |
bouton de RAZ des histogrammes | |
TGTextButton * | w_button_done |
bouton de fin de traitement | |
Static Protected Attributes | |
static UInt_t | last_width = 0 |
Largeur au dernier appel. | |
static UInt_t | last_height = 0 |
hauteur au dernier appel | |
static string | file_name = "" |
nom de fichier ROOT | |
Private Member Functions | |
GObject (GEVHistoEditor) | |
Classe définissant une interface graphique pour gérer les histogrammes associés aux spectres: effacer ou sauvegarder les histogrammes.
GEVHistoEditor::GEVHistoEditor | ( | TGWindow * | mw, |
GEVPageManager * | pg_mgr | ||
) |
Constructeur.
mw | fenêtre de l'application appelante |
pg_mgr | pointeur sur le gestionnaire de pages |
References Construct(), GEVPageManager::GetEventManagerPtr(), EventManager::GetSpectrumListPtr(), page_mgr, spec_list, and Start().
|
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 gevDico, GEVDico::histo_edit_clear, GEVDico::histo_edit_clear_tip, GEVDico::histo_edit_done, GEVDico::histo_edit_done_tip, GEVDico::histo_edit_save, GEVDico::histo_edit_save_tip, spec_list, w_button_clear, w_button_done, w_button_save, and w_spec_select.
Referenced by GEVHistoEditor().
|
virtual |
Fonction qui ouvre l'interface graphique et traite l'édition.
References gevDico, GEVDico::histo_edit_title, last_height, and last_width.
Referenced by GEVHistoEditor().
|
virtual |
Fonction qui termine l'édition et ferme la fenêtre.
References last_height, and last_width.
|
virtual |
Slot appelé lorsque le bouton Save est sélectionné.
References file_name, GEVSpectrumSelectionWidget::GetSelectedNumber(), GEVDico::gev_req_continue, GEVDico::gev_req_file_error, GEVDico::gev_req_warn_title, gevDico, GEVDico::histo_edit_file_error, GEVDico::histo_edit_warn_select, histo_file_types, SpectrumList::SaveSelectedHistograms(), SpectrumList::SelectionToSave(), SetFileExt(), spec_list, and w_spec_select.
|
virtual |
Slot appelé lorsque le bouton Clear est sélectionné.
References GEVSpectrumSelectionWidget::GetSelectedNumber(), GEVDico::gev_req_continue, GEVDico::gev_req_warn_title, gevDico, GEVDico::histo_edit_clear_but, GEVDico::histo_edit_clear_req_txt, GEVDico::histo_edit_clear_title, GEVDico::histo_edit_warn_select, page_mgr, spec_list, GEVPageManager::UpdatePages(), and w_spec_select.
|
virtual |
Slot appelé lorsque le bouton Done est sélectionné. Cela provoque la fin de l'édition.
GEVHistoEditor::ClassDef | ( | GEVHistoEditor | , |
0 | |||
) |
Définition à usage de ROOT...