]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Alieve/TPCLoaderEditor.h
Fix effc++ warnings.
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCLoaderEditor.h
CommitLineData
e9a38ea3 1// $Header$
2
3#ifndef ALIEVE_TPCLoaderEditor_H
4#define ALIEVE_TPCLoaderEditor_H
5
6#include <TGedFrame.h>
7
8class TGTextButton;
9class TGCheckButton;
10class TGNumberEntry;
11class TGColorSelect;
12class TGTextEntry;
13
14namespace Reve {
15class RGValuator;
16}
17
18namespace Alieve {
19
20class TPCLoader;
21
22class TPCLoaderEditor : public TGedFrame
23{
265ecb21 24 TPCLoaderEditor(const TPCLoaderEditor&); // Not implemented
25 TPCLoaderEditor& operator=(const TPCLoaderEditor&); // Not implemented
26
e9a38ea3 27protected:
28 TPCLoader* fM; // fModel dynamic-casted to TPCLoaderEditor
29
30 TGTextEntry* fFile;
31 TGTextButton* fOpenFile;
32
33 Reve::RGValuator* fEvent;
6e91772d 34 TGCheckButton* fDoubleSR;
e9a38ea3 35
36 TGTextButton* fUpdateSectors;
37 TGTextButton* fCreateSectors3D;
38 TGTextButton* fDeleteSectors3D;
39
40public:
6e91772d 41 TPCLoaderEditor(const TGWindow* p=0, Int_t id=-1, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
e9a38ea3 42 ~TPCLoaderEditor();
43
44 virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
45
46 void FileSelect();
47 void FileChanged();
48 void DoOpen();
49
50 void DoEvent();
6e91772d 51 void DoDoubleSR();
e9a38ea3 52
53 void DoUpdateSectors();
54 void DoCreateSectors3D();
55 void DoDeleteSectors3D();
56
57 ClassDef(TPCLoaderEditor, 0); // Editor for TPCLoader
58}; // endclass TPCLoaderEditor
59
60}
61
62#endif