]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveBase/AliEveBeamsInfoEditor.h
From Stefano:
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveBeamsInfoEditor.h
1 // $Id$
2 // Author: Stefano Carrazza 2010
3
4 /**************************************************************************
5  * Copyright(c) 1998-2009, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 #ifndef ALIEVEBEAMSINFOEDITOR_H
11 #define ALIEVEBEAMSINFOEDITOR_H
12
13 #include "TGedFrame.h"
14
15 class TGButton;
16 class TGCheckButton;
17 class TGNumberEntry;
18 class TGColorSelect;
19 class TGGroupFrame;
20 class TGComboBox;
21 class TGTextButton;
22
23 class AliEveBeamsInfo;
24
25 //______________________________________________________________________________
26 // Short description of AliEveBeamsInfoEditor
27 //
28
29 class AliEveBeamsInfoEditor : public TGedFrame
30 {
31 public:
32    AliEveBeamsInfoEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
33          UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
34    virtual ~AliEveBeamsInfoEditor() {}
35
36    virtual void SetModel(TObject* obj);
37
38    // Declare callback/slot methods
39    void ShowEventSelection();
40    void SelectEventSelection(Int_t id);
41    void ShowPrevEvent();
42    void ShowNextEvent();
43
44 protected:
45    AliEveBeamsInfo            *fM; // Model object.
46
47 private:
48    TGGroupFrame  *fEventSelection;  // event selection group box
49    TGCheckButton *fShowEvents;      // display information checkbox
50    TGComboBox    *fSelect;          // combo box display
51    TGTextButton  *fButtonPrev;      // previous event selection
52    TGTextButton  *fButtonNext;      // next event selection
53
54    AliEveBeamsInfoEditor(const AliEveBeamsInfoEditor&);            // Not implemented
55    AliEveBeamsInfoEditor& operator=(const AliEveBeamsInfoEditor&); // Not implemented
56
57    ClassDef(AliEveBeamsInfoEditor, 0); // GUI editor for AliEveBeamsInfo.
58 };
59
60 #endif