]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCMonitorDialog.h
Coding convention fixes from Stefan
[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////////////////////////////////////////////////////////////////////////
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
48265b32 22#include "TGFrame.h"
48265b32 23#include "RQ_OBJECT.h"
48265b32 24#include "AliTPCMonitor.h"
ca7b8371 25class TGWindow;
26class TGTransientFrame;
27class TGLayoutHints;
28class TGListBox;
29class AliTPCMonitor;
30class TGTab;
31class TGButton;
48265b32 32class TGHorizontalFrame;
ca7b8371 33class TGTextBuffer;
34class TGTextEntry;
35class TGTransientFrame;
36class TGCompositeFrame;
37class TGGroupFrame;
48265b32 38class AliTPCMonitorDialog : public TNamed{
39
40 RQ_OBJECT("AliTPCMonitorDialog")
41
ca7b8371 42
43public:
48265b32 44 AliTPCMonitorDialog(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, UInt_t options = kVerticalFrame, Int_t version =1, AliTPCMonitor* monitor =0);
ca7b8371 45 //AliTPCMonitorDialog(const AliTPCMonitorDialog &dialog);
46 //AliTPCMonitorDialog& operator= (const AliTPCMonitorDialog& dialog);
48265b32 47 virtual ~AliTPCMonitorDialog();
48
49 void DoClose();
50 void CloseWindow();
51 void DoOK();
52 void DoCancel();
53 void DoTab(Int_t id);
54 void HandleButtons(Int_t id = -1);
55 void CreateDialogVersion(Int_t version);
56
57 private:
58
59 TGTransientFrame* fFrameMain; // Frames for dialog windows
60 TGCompositeFrame* fFrameComp; // Frames for dialog windows
61 TGHorizontalFrame* fFrameHor; // Frames for dialog windows
62 TGGroupFrame* fFrameGroup; // Frames for dialog windows
63 TGButton* fOkButton; // Ok button for windows
48265b32 64 TGListBox* fListBox; // ListBox for entries to be selected
65 TGTab* fTab; // Tabs for several pages in one window
66 TGLayoutHints* fLayout1; // Layout for window version 1
67 TGLayoutHints* fLayout2; // Layout for window versoin 2
68 TGLayoutHints* fLayout3; // Layout for window version 3
69
70
71 TGTextBuffer* fBuf[7]; // Text buffer for GroupFrame
72 TGTextEntry* fEnt[7]; // Text entries for GroupFrame
73
74 AliTPCMonitor* fMonitor; // Pointer to AliTPCMonitor to be called
75
76 ClassDef(AliTPCMonitorDialog,1);
77
78};
79
80
81
82#endif