1 #ifndef ALIANALYSISGUI_H
2 #define ALIANALYSISGUI_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //-------------------------------------------------------------------------
9 // Class AliAnalysisGUIFrame
10 // AliAnalysisGUI class that describes the overall analysis GUI
12 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13 //-------------------------------------------------------------------------
17 //////////////////////////////////////////////////////////////////////////
21 // Implementation fo the analysis GUI. //
23 //////////////////////////////////////////////////////////////////////////
25 #include <TGDockableFrame.h>
37 class TGHorizontal3DLine;
40 class AliFileListFrame;
42 class AliAlienBrowser;
44 class AliPackageFrame;
46 #include "AliTagAnalysisFrame.h"
47 #include "AliSelectorFrame.h"
49 enum ECommandIdentifiers {
57 //___________________________________________________________________________
58 class AliAnalysisGUI : public TGMainFrame {
61 AliAnalysisGUI(const TGWindow *p, UInt_t w, UInt_t h);
64 //___________________________________________________________________________
66 Bool_t LogIn(const char * server, const char* username="");
67 Bool_t IsConnected() const {return fIsConnected;}
70 void HandleMenu(Int_t id);
71 void HandleToolBar(Int_t id);
72 void OnDoubleClick(TGListTreeItem* item, Int_t btn);
74 //___________________________________________________________________________
76 AliAnalysisGUI(const AliAnalysisGUI&);
77 AliAnalysisGUI& operator= (const AliAnalysisGUI&);
83 void ChangeRightLogo(const char *name);
85 TGHorizontalFrame *fHFrame1; //horizontal frame
86 TGVerticalFrame *fVFrame1, *fVFrame2; //verticla frames
87 TGDockableFrame *fMenuDock; //main menu
88 TGPopupMenu *fMenuFile; //main popup menu
89 TGMenuBar *fMenuBar; //menu bar
90 TGToolBar *fToolBar; //the button tool bar
91 TGTab *fTab; //tab objects
92 TGLayoutHints *fMenuBarLayout, *fMenuBarItemLayout; //layout
93 TGHorizontal3DLine *fH3DLine; //3d line
94 TGCanvas *fCanvas2; //canvas
95 TGStatusBar *fStatusBar; //status bar
97 AliAlienBrowser *fAliEnBrowser; //the catalog browser
98 AliFileListFrame *fFileListFrame; //the file list tab
99 AliLoginFrame *fLogInFrame; //the login frame
100 AliTagFrame *fTagFrame; //the tag frame
101 AliTagAnalysisFrame *fTagAnalysisFrame; //the event tag tab
102 AliPackageFrame *fPackageFrame; //the package tab
103 AliSelectorFrame *fSelectorFrame; //the selector tab
105 const TGPicture *fIcon; //picture
106 TGPicture *fRightIconPicture; //picture
107 TGIcon *fRightIcon; //icon
108 Bool_t fIsConnected; //alien connected
109 TGrid *fAlien; //api pointer
111 ClassDef(AliAnalysisGUI, 0); // AliAnalysisGUI