AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliQAHistViewer.h
Go to the documentation of this file.
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice */
4 //
5 // QA histogram viewer
6 // (see AliQAHistNavigator.cxx for details)
7 // Origin: Mikolaj Krzewicki, Nikhef, Mikolaj.Krzewicki@cern.ch
8 //
10 
11 #ifndef ALIQAHISTVIEWER_H
12 #define ALIQAHISTVIEWER_H
13 
14 #include <TGFrame.h>
15 
16 class TRootEmbeddedCanvas;
17 class AliQAHistNavigator;
18 class TGComboBox;
19 class TGCheckButton;
20 class TGWindow;
21 
22 class AliQAHistViewer : public TGMainFrame {
23 
24 private:
25  TRootEmbeddedCanvas *fEcan; //embedded canvas
26  AliQAHistNavigator *fQANavigator; //the navigator engine
27  TGComboBox *fFileListBox; //drop down menu
28  TGComboBox *fDetectorListBox; //drop down menun
29  TGComboBox *fLevelListBox; //drop down menu
30  TGComboBox *fHistListBox; //drop down menu
31  TGCheckButton *fExpertMode;// expertmode
32  Bool_t fIsEmbedded; //whether the window is embedded somewhere
33  AliQAHistViewer(const AliQAHistViewer&); // Not implemented
34  AliQAHistViewer& operator=(const AliQAHistViewer&); // Not implemented
35 
36 public:
37  AliQAHistViewer(const TGWindow *p, UInt_t w=500, UInt_t h=500, Bool_t embed=kFALSE);
38  virtual ~AliQAHistViewer();
39  void DoExit();
40  void DoDrawNext();
41  void DoDrawPrev();
42  void DoSetFile(Int_t s);
43  void DoSetDetector(Int_t s);
44  void DoSetLevel(Int_t s);
45  void DoSetHistogram(Int_t s);
46  void DoSetExpertMode(Bool_t mode=kTRUE);
47  void FillComboBoxWithListEntries( TGComboBox* box, const TList* list );
49 
50  ClassDef(AliQAHistViewer, 999)
51 };
52 
53 #endif
AliQAHistViewer(const AliQAHistViewer &)
void DoSetFile(Int_t s)
void DoSetLevel(Int_t s)
virtual ~AliQAHistViewer()
void DoSetExpertMode(Bool_t mode=kTRUE)
TGComboBox * fDetectorListBox
void FillComboBoxWithListEntries(TGComboBox *box, const TList *list)
AliQAHistViewer & operator=(const AliQAHistViewer &)
TGComboBox * fHistListBox
void DoSetDetector(Int_t s)
AliQAHistNavigator * fQANavigator
TGComboBox * fLevelListBox
TRootEmbeddedCanvas * fEcan
TGCheckButton * fExpertMode
void DoSetHistogram(Int_t s)
TGComboBox * fFileListBox
void UpdateAllPathComboBoxes()