Put index into track's name instead of its label.
[u/mrichter/AliRoot.git] / MONITOR / AliMonitorDialog.h
... / ...
CommitLineData
1#ifndef ALIMONITORDIALOG_H
2#define ALIMONITORDIALOG_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#include <RQ_OBJECT.h>
9#include <TObject.h>
10
11class TGFrame;
12class TGTransientFrame;
13class TGLayoutHints;
14class TGHorizontalFrame;
15class TGTextButton;
16
17
18class AliMonitorDialog : public TObject {
19
20RQ_OBJECT("AliMonitorDialog")
21
22public:
23 AliMonitorDialog(TGFrame* main, Int_t width = 300, Int_t height = 80,
24 Bool_t cancelBtn = kTRUE);
25 virtual ~AliMonitorDialog();
26
27 void CloseWindow() const;
28 void DoOk();
29 virtual void OnOkClicked() {};
30 void DoCancel();
31 virtual void OnCancelClicked() {};
32
33protected:
34 TGTransientFrame* fMain; // the main window
35 TGLayoutHints* fFrameLayout; // layout of the main frame
36 TGHorizontalFrame* fFrame; // the main frame
37 TGLayoutHints* fButtonFrameLayout; // layout of the buttons frame
38 TGHorizontalFrame* fButtonFrame; // the frame for buttons
39 TGLayoutHints* fButtonLayout; // layout of the buttons
40 TGTextButton* fOkButton; // the Ok button
41 TGTextButton* fCancelButton; // the cancel button
42
43 private:
44 AliMonitorDialog(const AliMonitorDialog& dlg);
45 AliMonitorDialog& operator = (const AliMonitorDialog& dlg);
46
47 ClassDef(AliMonitorDialog, 0) // base class for dialogs with ok and cancel button
48};
49
50
51#endif
52
53
54
55
56
57
58
59
60