]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MONITOR/AliMonitorDialog.h
Removing semaphore .done files.
[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   virtual ~AliMonitorDialog();
25
26   void               CloseWindow() const;
27   void               DoOk();
28   virtual void       OnOkClicked() {};
29   void               DoCancel();
30   virtual void       OnCancelClicked() {};
31
32 protected:
33   TGTransientFrame*  fMain;                // the main window
34   TGLayoutHints*     fFrameLayout;         // layout of the main frame
35   TGHorizontalFrame* fFrame;               // the main frame
36   TGLayoutHints*     fButtonFrameLayout;   // layout of the buttons frame
37   TGHorizontalFrame* fButtonFrame;         // the frame for buttons
38   TGLayoutHints*     fButtonLayout;        // layout of the buttons
39   TGTextButton*      fOkButton;            // the Ok button
40   TGTextButton*      fCancelButton;        // the cancel button
41
42  private:
43   AliMonitorDialog(const AliMonitorDialog& dlg);
44   AliMonitorDialog& operator = (const AliMonitorDialog& dlg);
45
46   ClassDef(AliMonitorDialog, 0)   // base class for dialogs with ok and cancel button
47 };
48  
49
50 #endif
51
52
53
54
55
56
57
58
59