]>
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> |
a1e17193 | 9 | #include <TObject.h> |
04fa961a | 10 | |
c4bd737c | 11 | class TGFrame; |
12 | class TGTransientFrame; | |
13 | class TGLayoutHints; | |
14 | class TGHorizontalFrame; | |
15 | class TGTextButton; | |
16 | ||
04fa961a | 17 | |
18 | class AliMonitorDialog : public TObject { | |
19 | ||
20 | RQ_OBJECT("AliMonitorDialog") | |
21 | ||
22 | public: | |
23 | AliMonitorDialog(TGFrame* main, Int_t width = 300, Int_t height = 80, | |
24 | Bool_t cancelBtn = kTRUE); | |
25 | virtual ~AliMonitorDialog(); | |
26 | ||
c4bd737c | 27 | void CloseWindow() const; |
04fa961a | 28 | void DoOk(); |
29 | virtual void OnOkClicked() {}; | |
30 | void DoCancel(); | |
31 | virtual void OnCancelClicked() {}; | |
32 | ||
33 | protected: | |
c4bd737c | 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 | |
04fa961a | 42 | |
17c3cc9e | 43 | private: |
44 | AliMonitorDialog(const AliMonitorDialog& dlg); | |
45 | AliMonitorDialog& operator = (const AliMonitorDialog& dlg); | |
46 | ||
04fa961a | 47 | ClassDef(AliMonitorDialog, 0) // base class for dialogs with ok and cancel button |
48 | }; | |
49 | ||
50 | ||
51 | #endif | |
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 |