]>
Commit | Line | Data |
---|---|---|
48265b32 | 1 | #ifndef ALITPCMONITORDIALOG_H |
2 | #define ALITPCMONITORDIALOG_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | //////////////////////////////////////////////////////////////////////// | |
10 | // | |
11 | // AliTPCMonitorDialog class | |
12 | // | |
13 | // Class to handle dialogs for settings of files and configurations | |
14 | // for the AliTPCMonitor | |
15 | // | |
16 | // Author: Stefan Kniege, IKF, Frankfurt | |
17 | // | |
18 | // | |
19 | ///////////////////////////////////////////////////////////////////////// | |
20 | ||
21 | ||
22 | ||
23 | #include <iostream> | |
24 | #include "TGWindow.h" | |
25 | #include "TRootGuiBuilder.h" | |
26 | #include "TGMenu.h" | |
27 | #include "TGButtonGroup.h" | |
28 | #include "TGDockableFrame.h" | |
29 | #include "TGToolBar.h" | |
30 | #include "TGButton.h" | |
31 | #include "TGToolTip.h" | |
32 | #include "TGuiBldDragManager.h" | |
33 | #include "TGMdiMainFrame.h" | |
34 | #include "TGLabel.h" | |
35 | #include "TG3DLine.h" | |
36 | #include "TGNumberEntry.h" | |
37 | #include "TGuiBldHintsButton.h" | |
38 | #include "TGuiBldHintsEditor.h" | |
39 | #include "TGuiBldEditor.h" | |
40 | #include "TGShutter.h" | |
41 | #include "TGCanvas.h" | |
42 | #include "TGStatusBar.h" | |
43 | #include "TGTab.h" | |
44 | #include "TGSplitter.h" | |
45 | #include "TGMdiMenu.h" | |
46 | #include "TGMdiDecorFrame.h" | |
47 | #include "TGMdiFrame.h" | |
48 | #include "TGListBox.h" | |
49 | #include "TGListView.h" | |
50 | #include "TGFSContainer.h" | |
51 | #include "TGFSComboBox.h" | |
52 | #include "TGFileDialog.h" | |
53 | #include "TGScrollBar.h" | |
54 | #include "TGMsgBox.h" | |
55 | #include "TGLayout.h" | |
56 | #include "TGFrame.h" | |
57 | #include "TGTextEdit.h" | |
58 | #include "RQ_OBJECT.h" | |
59 | #include "TRootEmbeddedCanvas.h" | |
60 | #include "TH2F.h" | |
61 | #include "TRandom.h" | |
62 | #include "TVirtualPadEditor.h" | |
63 | #include "TSystem.h" | |
64 | #include "Rtypes.h" | |
65 | #include "AliTPCMonitor.h" | |
66 | #include "AliLog.h" | |
67 | ||
68 | using namespace std; | |
69 | ||
70 | ||
71 | class TGHorizontalFrame; | |
72 | class AliLog; | |
73 | class AliTPCMonitorDialog : public TNamed{ | |
74 | ||
75 | RQ_OBJECT("AliTPCMonitorDialog") | |
76 | ||
77 | ||
78 | public: | |
79 | AliTPCMonitorDialog(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, UInt_t options = kVerticalFrame, Int_t version =1, AliTPCMonitor* monitor =0); | |
80 | virtual ~AliTPCMonitorDialog(); | |
81 | ||
82 | void DoClose(); | |
83 | void CloseWindow(); | |
84 | void DoOK(); | |
85 | void DoCancel(); | |
86 | void DoTab(Int_t id); | |
87 | void HandleButtons(Int_t id = -1); | |
88 | void CreateDialogVersion(Int_t version); | |
89 | ||
90 | private: | |
91 | ||
92 | TGTransientFrame* fFrameMain; // Frames for dialog windows | |
93 | TGCompositeFrame* fFrameComp; // Frames for dialog windows | |
94 | TGHorizontalFrame* fFrameHor; // Frames for dialog windows | |
95 | TGGroupFrame* fFrameGroup; // Frames for dialog windows | |
96 | TGButton* fOkButton; // Ok button for windows | |
97 | TGButton* fCancelButton; // Cancel button for windows | |
98 | ||
99 | TGListBox* fListBox; // ListBox for entries to be selected | |
100 | TGTab* fTab; // Tabs for several pages in one window | |
101 | TGLayoutHints* fLayout1; // Layout for window version 1 | |
102 | TGLayoutHints* fLayout2; // Layout for window versoin 2 | |
103 | TGLayoutHints* fLayout3; // Layout for window version 3 | |
104 | ||
105 | ||
106 | TGTextBuffer* fBuf[7]; // Text buffer for GroupFrame | |
107 | TGTextEntry* fEnt[7]; // Text entries for GroupFrame | |
108 | ||
109 | AliTPCMonitor* fMonitor; // Pointer to AliTPCMonitor to be called | |
110 | ||
111 | ClassDef(AliTPCMonitorDialog,1); | |
112 | ||
113 | }; | |
114 | ||
115 | ||
116 | ||
117 | #endif |