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