Do not hide variables from the outer scope (Solaris x86)
[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);
24 virtual ~AliMonitorDialog();
25
c4bd737c 26 void CloseWindow() const;
04fa961a 27 void DoOk();
28 virtual void OnOkClicked() {};
29 void DoCancel();
30 virtual void OnCancelClicked() {};
31
32protected:
c4bd737c 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
04fa961a 41
17c3cc9e 42 private:
43 AliMonitorDialog(const AliMonitorDialog& dlg);
44 AliMonitorDialog& operator = (const AliMonitorDialog& dlg);
45
04fa961a 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