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 */
12 class TGTransientFrame;
14 class TGHorizontalFrame;
18 class AliMonitorDialog : public TObject {
20 RQ_OBJECT("AliMonitorDialog")
23 AliMonitorDialog(TGFrame* main, Int_t width = 300, Int_t height = 80,
24 Bool_t cancelBtn = kTRUE);
25 virtual ~AliMonitorDialog();
27 void CloseWindow() const;
29 virtual void OnOkClicked() {};
31 virtual void OnCancelClicked() {};
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
44 AliMonitorDialog(const AliMonitorDialog& dlg);
45 AliMonitorDialog& operator = (const AliMonitorDialog& dlg);
47 ClassDef(AliMonitorDialog, 0) // base class for dialogs with ok and cancel button