1 // Author: Mihai Niculescu 2013
3 /**************************************************************************
4 * Copyright(c) 1998-2009, ALICE Experiment at CERN, all rights reserved. *
5 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
6 * full copyright notice. *
7 **************************************************************************/
9 #ifndef AliEveMainWindow_H
10 #define AliEveMainWindow_H
19 class AliEveMainWindow;
20 class AliEveFileDialog;
22 // Items IDs for MenuBar
23 enum AliEveMainWindow::MENU_FILE
27 MENU_FILE_OPEN_CONNECTION,
28 MENU_FILE_EXPORT_VIEWS,
32 enum AliEveMainWindow::MENU_EDIT
43 enum AliEveMainWindow::MENU_VIEW
45 MENU_VIEW_TOOLBAR_MAIN,
46 MENU_VIEW_TOOLBAR_NAV, // event navigation toolbar
47 MENU_VIEW_TOOLBAR_PROP, // Properties Sidebar - event info, objects list, etc...
48 MENU_VIEW_TOOLBAR_HIST, // History sidebar
55 enum AliEveMainWindow::MENU_GO
64 enum AliEveMainWindow::MENU_HIST
67 MENU_HIST_CLEAR_RECENT
70 enum AliEveMainWindow::MENU_TOOLS
76 enum AliEveMainWindow::MENU_HELP
82 //______________________________________________________________________________
86 class AliEveMainWindow : public TGMainFrame
89 AliEveMainWindow(const char* title, UInt_t width=800, UInt_t height=600);
93 void onMenuFileItem(UInt_t id);
94 void onMenuEditItem(UInt_t id);
95 void onMenuViewItem(UInt_t id);
96 void onMenuGoItem(UInt_t id);
100 void setupToolbars();
105 AliEveMainWindow(const AliEveMainWindow& other);// Not implemented
106 AliEveMainWindow& operator=(const AliEveMainWindow& other);
111 TGPopupMenu *fMenuFile;
112 TGPopupMenu *fMenuEdit;
113 TGPopupMenu *fMenuView;
114 TGPopupMenu *fMenuViewToolbars;
115 TGPopupMenu *fMenuViewSidebars;
116 TGPopupMenu *fMenuGo;
117 TGPopupMenu *fMenuTools;
118 TGPopupMenu *fMenuHelp;
123 TGPicturePool* fPicturePool;
126 AliEveFileDialog* fFileDialog;
128 ClassDef(AliEveMainWindow, 0); // Short description.