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 */
11 class TGTransientFrame;
13 class TGHorizontalFrame;
17 class AliMonitorDialog : public TObject {
19 RQ_OBJECT("AliMonitorDialog")
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();
28 void CloseWindow() const;
30 virtual void OnOkClicked() {};
32 virtual void OnCancelClicked() {};
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
44 ClassDef(AliMonitorDialog, 0) // base class for dialogs with ok and cancel button