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 virtual ~AliMonitorDialog();
26 void CloseWindow() const;
28 virtual void OnOkClicked() {};
30 virtual void OnCancelClicked() {};
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
43 AliMonitorDialog(const AliMonitorDialog& dlg);
44 AliMonitorDialog& operator = (const AliMonitorDialog& dlg);
46 ClassDef(AliMonitorDialog, 0) // base class for dialogs with ok and cancel button