X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONMchViewApplication.h;h=7c40675987e17bd9608fd50df7eae2e66c22c5b0;hb=5c15a68b15868213d26579c32974ddf3ad334170;hp=abef192e45e4ff28be08f710ed87ba2bfe733332;hpb=10eb3d173dd4f09822d4f0197ebc0b701dcfb429;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONMchViewApplication.h b/MUON/AliMUONMchViewApplication.h index abef192e45e..7c40675987e 100644 --- a/MUON/AliMUONMchViewApplication.h +++ b/MUON/AliMUONMchViewApplication.h @@ -15,29 +15,27 @@ #ifndef ROOT_TRint # include #endif -#ifndef ROOT_RQ_OBJECT -# include -#endif -class AliMUONPainterMasterFrame; +class TList; +class TDirectory; class TGMainFrame; +class AliMUONPainterMatrix; +class TGTab; class AliMUONMchViewApplication : public TRint { - RQ_OBJECT("AliMUONMchViewApplication") - public: AliMUONMchViewApplication(const char* name, int* argc, char** argv, - Float_t wfraction, Float_t hfraction); + UInt_t w=0, UInt_t h=0, UInt_t ox=0, UInt_t oy=0); virtual ~AliMUONMchViewApplication(); void HandleMenu(Int_t i); /// Return the version number of the mchview application - static const char* Version() { return "0.91"; } + static const char* Version() { return "1.03"; } /// Return the SVN revision and version number of the mchview application - static const char* FullVersion() { return Form("mchview Version %s ($Revision$)",Version()); } + static const char* FullVersion() { return Form("mchview Version %s ($Id$)",Version()); } void Open(const char* filename); @@ -47,24 +45,31 @@ private: /// Not implemented AliMUONMchViewApplication& operator=(const AliMUONMchViewApplication& rhs); + void CompareData(); void CreateMenuBar(UInt_t w); void Save(); void Save(const char* filename); void Open(); void PrintAs(); - + void ReleaseNotes(); + void ReadDir(TDirectory& dir); + AliMUONPainterMatrix* GenerateStartupMatrix(); + private: TGMainFrame* fMainFrame; ///< pointer to our mainframe - AliMUONPainterMasterFrame* fPainterMasterFrame; ///< pointer to our main object + TList* fPainterMasterFrameList; ///< list of painterMasterFrame objects + TGTab* fTabs; ///< our tabs static const Int_t fgkFILESAVEAS; ///< File/Save As... menu static const Int_t fgkFILEOPEN; ///< File/Open... menu static const Int_t fgkFILEEXIT; ///< File/Exit menu static const Int_t fgkFILEPRINTAS; ///< File/Print As... menu - + static const Int_t fgkABOUT; ///< About menu + static const Int_t fgkCOMPAREDATA; ///< Tools/Compare Data menu + static const char* fgkFileTypes[]; ///< For the open menu - ClassDef(AliMUONMchViewApplication,2) // mchview application + ClassDef(AliMUONMchViewApplication,5) // mchview application }; #endif