]>
Commit | Line | Data |
---|---|---|
6e994a7b | 1 | // $Id$ |
cce980ec | 2 | // Author: Stefano Carrazza 2010, CERN, stefano.carrazza@cern.ch |
6e994a7b | 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; | |
6e994a7b | 16 | class TGColorSelect; |
6e994a7b | 17 | class TGComboBox; |
cce980ec | 18 | class TGCheckButton; |
19 | class TGGroupFrame; | |
20 | class TGNumberEntry; | |
6e994a7b | 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 | ||
cce980ec | 38 | // Set Methods |
39 | void SetAlpha(); | |
40 | ||
41 | // Slot methods | |
6e994a7b | 42 | void SelectEventSelection(Int_t id); |
cce980ec | 43 | void ShowEventSelection(); |
6e994a7b | 44 | void ShowPrevEvent(); |
45 | void ShowNextEvent(); | |
cce980ec | 46 | void SwitchDataType(); |
6e994a7b | 47 | |
48 | protected: | |
cce980ec | 49 | AliEveBeamsInfo *fM; // Model object. |
6e994a7b | 50 | |
51 | private: | |
cce980ec | 52 | TGCheckButton *fIsMC; // activating mc selection |
53 | TGGroupFrame *fEventSelection; // event selection group box | |
54 | TGCheckButton *fShowEvents; // display information checkbox | |
55 | TGComboBox *fSelect; // combo box display | |
56 | TGTextButton *fButtonPrev; // previous event selection | |
57 | TGTextButton *fButtonNext; // next event selection | |
58 | TGGroupFrame *fSetAlpha; // set alpha for overlay buttons | |
59 | TGNumberEntry *fAlpha; // alpha value | |
6e994a7b | 60 | |
61 | AliEveBeamsInfoEditor(const AliEveBeamsInfoEditor&); // Not implemented | |
62 | AliEveBeamsInfoEditor& operator=(const AliEveBeamsInfoEditor&); // Not implemented | |
63 | ||
64 | ClassDef(AliEveBeamsInfoEditor, 0); // GUI editor for AliEveBeamsInfo. | |
65 | }; | |
66 | ||
67 | #endif |