]>
Commit | Line | Data |
---|---|---|
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 | 10 | class TGFrame; |
11 | class TGTransientFrame; | |
12 | class TGLayoutHints; | |
13 | class TGHorizontalFrame; | |
14 | class TGTextButton; | |
15 | ||
04fa961a | 16 | |
17 | class AliMonitorDialog : public TObject { | |
18 | ||
19 | RQ_OBJECT("AliMonitorDialog") | |
20 | ||
21 | public: | |
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 | ||
34 | protected: | |
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 |