First version of the online reco + AliEVE attached to it. (Matevz and Cvetan)
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveEventManagerEditor.h
CommitLineData
5655e9ce 1// @(#)root/eve:$Id$
2// Author: Matevz Tadel 2007
3
4/**************************************************************************
5 * Copyright(c) 1998-2008, 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 AliEveEventManagerEditor_H
11#define AliEveEventManagerEditor_H
12
13#include "TGedFrame.h"
14
5655e9ce 15class TGCheckButton;
319f3084 16class TEveGValuator;
17class TGTextView;
5655e9ce 18
19class AliEveEventManager;
20
21//______________________________________________________________________________
22// Short description of AliEveEventManagerEditor
23//
24
25class AliEveEventManagerEditor : public TGedFrame
26{
27public:
28 AliEveEventManagerEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
29 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
30 virtual ~AliEveEventManagerEditor() {}
31
32 virtual void SetModel(TObject* obj);
33
34 // Declare callback/slot methods
319f3084 35 void DoSetAutoLoad();
36 void DoSetAutoLoadTime();
37 void DoPrevEvent();
38 void DoNextEvent();
5655e9ce 39
40protected:
41 AliEveEventManager *fM; // Model object.
42
43 // Declare widgets
319f3084 44 TGCheckButton *fAutoLoad; // Check-box for automatic loading of events
45 TEveGValuator *fAutoLoadTime; // Time for automatic loading of events
46
47 TGTextButton *fNextEvent; // Load next event
48 TGTextButton *fPrevEvent; // Load previous event
49
50 TGTextView *fEventInfo; // Text box with event info
5655e9ce 51
52private:
53 AliEveEventManagerEditor(const AliEveEventManagerEditor&); // Not implemented
54 AliEveEventManagerEditor& operator=(const AliEveEventManagerEditor&); // Not implemented
55
56 ClassDef(AliEveEventManagerEditor, 0); // GUI editor for AliEveEventManager.
57};
58
59#endif