5284a94c226e9ea0c0bb2c1570c36036f77994e2
[u/mrichter/AliRoot.git] / ANALYSIS / Aliengui / AliSelectorFrame.h
1 #ifndef ALISELECTORFRAME_H
2 #define ALISELECTORFRAME_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 //-------------------------------------------------------------------------
9 //                          Class AliSelectorFrame
10 //   AliSelectorFrame class that describes the selector frame of the GUI
11 //
12 //    Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13 //-------------------------------------------------------------------------
14
15
16
17 //////////////////////////////////////////////////////////////////////////
18 //                                                                      //
19 //                        AliSelectorFrame                              //
20 //                                                                      //
21 //                      Selector tab of the GUI.                        //
22 //                                                                      //
23 //////////////////////////////////////////////////////////////////////////
24
25 #include <TGFrame.h>
26
27 class TGCanvas;
28 class TGVerticalFrame;
29 class TGTextEntry;
30 class TGButton;
31 class TGLabel;
32
33 class AliAnalysisGUI;
34
35 //___________________________________________________________________________
36 class AliSelectorFrame : public TGHorizontalFrame {
37
38  public:
39   AliSelectorFrame(const TGWindow *main, UInt_t w, UInt_t h, AliAnalysisGUI*, AliTagAnalysisFrame*);
40   AliSelectorFrame(const AliSelectorFrame& fSelectorFrame);
41
42   //___________________________________________________________________________
43   //slots
44   void OnSelect();
45   void OnRun();
46
47   //___________________________________________________________________________
48  private:
49   TGVerticalFrame     *fVFrame1, *fVFrame2; //vertical frames
50   TGLabel             *fLabel1; //macro label
51   TGTextEntry         *fTextSelector; //selector text box
52   TGButton            *fButtonSelect; //select button
53   TGButton            *fButtonRun; //run button
54   
55   AliAnalysisGUI      *fAliAnalysisGUI; //analysis gui pointer
56   AliTagAnalysisFrame *fTagAnalysisFrame; //tag frame pointer
57   
58   AliSelectorFrame & operator=(const AliSelectorFrame & ) {return *this;}
59
60   ClassDef(AliSelectorFrame, 0); // SelectorFrame
61 };
62
63
64 #endif