]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MONITOR/AliMonitorDialog.h
Message commented out
[u/mrichter/AliRoot.git] / MONITOR / AliMonitorDialog.h
CommitLineData
04fa961a 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
04fa961a 8#include <RQ_OBJECT.h>
9
c4bd737c 10class TGFrame;
11class TGTransientFrame;
12class TGLayoutHints;
13class TGHorizontalFrame;
14class TGTextButton;
15
04fa961a 16
17class AliMonitorDialog : public TObject {
18
19RQ_OBJECT("AliMonitorDialog")
20
21public:
22 AliMonitorDialog(TGFrame* main, Int_t width = 300, Int_t height = 80,
23 Bool_t cancelBtn = kTRUE);
c4bd737c 24 AliMonitorDialog(const AliMonitorDialog& dlg);
25 AliMonitorDialog& operator = (const AliMonitorDialog& dlg);
04fa961a 26 virtual ~AliMonitorDialog();
27
c4bd737c 28 void CloseWindow() const;
04fa961a 29 void DoOk();
30 virtual void OnOkClicked() {};
31 void DoCancel();
32 virtual void OnCancelClicked() {};
33
34protected:
c4bd737c 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
04fa961a 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