]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCMonitorDialog.h
GraphErrors * FitSlices
[u/mrichter/AliRoot.git] / TPC / AliTPCMonitorDialog.h
CommitLineData
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////////////////////////////////////////////////////////////////////////
fb3305d1 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////
48265b32 19/////////////////////////////////////////////////////////////////////////
20
21
48265b32 22#include "TGFrame.h"
48265b32 23#include "AliTPCMonitor.h"
ca7b8371 24class TGWindow;
25class TGTransientFrame;
26class TGLayoutHints;
27class TGListBox;
28class AliTPCMonitor;
29class TGTab;
30class TGButton;
48265b32 31class TGHorizontalFrame;
ca7b8371 32class TGTextBuffer;
33class TGTextEntry;
34class TGTransientFrame;
35class TGCompositeFrame;
36class TGGroupFrame;
fb3305d1 37class AliTPCMonitorDialog : public TNamed
38{
48265b32 39
ca7b8371 40public:
fb3305d1 41 AliTPCMonitorDialog(TGWindow *p, TGWindow *main, UInt_t w, UInt_t h, UInt_t options = kVerticalFrame, Int_t version =1, AliTPCMonitor* monitor =0);
42 AliTPCMonitorDialog(const AliTPCMonitorDialog &dialog);
43 AliTPCMonitorDialog& operator= (const AliTPCMonitorDialog& dialog);
48265b32 44 virtual ~AliTPCMonitorDialog();
45
fb3305d1 46 void DoClose() const;
47 void CloseWindow() const;
48 void DoOK();
49 void DoCancel();
50 void DoTab(Int_t id);
51 void HandleButtons(Int_t id = -1);
52 void CreateDialogVersion(Int_t version);
53 UInt_t GetWidth() const { return fWidth; }
54 UInt_t GetHeight() const { return fHeight; }
55 UInt_t GetOptions() const { return fOptions; }
56 AliTPCMonitor* GetMonitor() const { return fMonitor; }
57 TGWindow* GetClient() const { return fClient; }
58 TGWindow* GetMainFrame() const { return fMain; }
59 Int_t GetVersion() const { return fVersion; }
48265b32 60 private:
61
62 TGTransientFrame* fFrameMain; // Frames for dialog windows
63 TGCompositeFrame* fFrameComp; // Frames for dialog windows
64 TGHorizontalFrame* fFrameHor; // Frames for dialog windows
65 TGGroupFrame* fFrameGroup; // Frames for dialog windows
66 TGButton* fOkButton; // Ok button for windows
48265b32 67 TGListBox* fListBox; // ListBox for entries to be selected
68 TGTab* fTab; // Tabs for several pages in one window
69 TGLayoutHints* fLayout1; // Layout for window version 1
70 TGLayoutHints* fLayout2; // Layout for window versoin 2
71 TGLayoutHints* fLayout3; // Layout for window version 3
72
fb3305d1 73
74
48265b32 75 TGTextBuffer* fBuf[7]; // Text buffer for GroupFrame
76 TGTextEntry* fEnt[7]; // Text entries for GroupFrame
77
78 AliTPCMonitor* fMonitor; // Pointer to AliTPCMonitor to be called
79
fb3305d1 80 UInt_t fWidth; // Width of the window
81 UInt_t fHeight; // Height of the window
82 UInt_t fOptions; // Frame options
83 Int_t fVersion; // Version of the dialog
84 TGWindow* fClient; // TGClient of Dialog
85 TGWindow* fMain; // Main fraem for Dialog window
48265b32 86 ClassDef(AliTPCMonitorDialog,1);
87
88};
89
90
91
92#endif