/* $Id$ */
////////////////////////////////////////////////////////////////////////
-//
-// AliTPCMonitorDialog class
-//
-// Class to handle dialogs for settings of files and configurations
-// for the AliTPCMonitor
-//
-// Author: Stefan Kniege, IKF, Frankfurt
-//
-//
+////
+//// AliTPCMonitorDialog class
+////
+//// Class to handle dialogs for settings of files and configurations
+//// for the AliTPCMonitor
+////
+//// Author: Stefan Kniege, IKF, Frankfurt
+////
+////
/////////////////////////////////////////////////////////////////////////
#include "TGFrame.h"
-#include "RQ_OBJECT.h"
#include "AliTPCMonitor.h"
class TGWindow;
class TGTransientFrame;
class TGTransientFrame;
class TGCompositeFrame;
class TGGroupFrame;
-class AliTPCMonitorDialog : public TNamed{
+class AliTPCMonitorDialog : public TNamed
+{
- RQ_OBJECT("AliTPCMonitorDialog")
-
-
public:
- AliTPCMonitorDialog(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, UInt_t options = kVerticalFrame, Int_t version =1, AliTPCMonitor* monitor =0);
- //AliTPCMonitorDialog(const AliTPCMonitorDialog &dialog);
- //AliTPCMonitorDialog& operator= (const AliTPCMonitorDialog& dialog);
+ AliTPCMonitorDialog(TGWindow *p, TGWindow *main, UInt_t w, UInt_t h, UInt_t options = kVerticalFrame, Int_t version =1, AliTPCMonitor* monitor =0);
+ AliTPCMonitorDialog(const AliTPCMonitorDialog &dialog);
+ AliTPCMonitorDialog& operator= (const AliTPCMonitorDialog& dialog);
virtual ~AliTPCMonitorDialog();
- void DoClose();
- void CloseWindow();
- void DoOK();
- void DoCancel();
- void DoTab(Int_t id);
- void HandleButtons(Int_t id = -1);
- void CreateDialogVersion(Int_t version);
-
+ void DoClose() const;
+ void CloseWindow() const;
+ void DoOK();
+ void DoCancel();
+ void DoTab(Int_t id);
+ void HandleButtons(Int_t id = -1);
+ void CreateDialogVersion(Int_t version);
+ UInt_t GetWidth() const { return fWidth; }
+ UInt_t GetHeight() const { return fHeight; }
+ UInt_t GetOptions() const { return fOptions; }
+ AliTPCMonitor* GetMonitor() const { return fMonitor; }
+ TGWindow* GetClient() const { return fClient; }
+ TGWindow* GetMainFrame() const { return fMain; }
+ Int_t GetVersion() const { return fVersion; }
private:
TGTransientFrame* fFrameMain; // Frames for dialog windows
TGLayoutHints* fLayout2; // Layout for window versoin 2
TGLayoutHints* fLayout3; // Layout for window version 3
-
+
+
TGTextBuffer* fBuf[7]; // Text buffer for GroupFrame
TGTextEntry* fEnt[7]; // Text entries for GroupFrame
AliTPCMonitor* fMonitor; // Pointer to AliTPCMonitor to be called
+ UInt_t fWidth; // Width of the window
+ UInt_t fHeight; // Height of the window
+ UInt_t fOptions; // Frame options
+ Int_t fVersion; // Version of the dialog
+ TGWindow* fClient; // TGClient of Dialog
+ TGWindow* fMain; // Main fraem for Dialog window
ClassDef(AliTPCMonitorDialog,1);
};