00001 #ifndef VIS_ROOT_BROWSER_VIS_ROOT_BROWSER_H 00002 # define VIS_ROOT_BROWSER_VIS_ROOT_BROWSER_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 # include "VisRoot/VisRootBrowser/interface/config.h" 00006 # include "Iguana/Framework/interface/IgBrowser.h" 00007 # include <TQtWidget.h> 00008 # include <qobject.h> 00009 00010 //<<<<<< PUBLIC DEFINES >>>>>> 00011 //<<<<<< PUBLIC CONSTANTS >>>>>> 00012 //<<<<<< PUBLIC TYPES >>>>>> 00013 00014 class IgState; 00015 class IgSite; 00016 class VisRootModel; 00017 class IgRepresentable; 00018 class IgSelectionMessage; 00019 class VisRootModelEvent; 00020 class QWidget; 00021 00022 //<<<<<< PUBLIC VARIABLES >>>>>> 00023 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00024 //<<<<<< CLASS DECLARATIONS >>>>>> 00025 00026 class VIS_ROOT_BROWSER_API VisRootBrowser : public TQtWidget, 00027 public IgBrowser 00028 { 00029 public: 00030 VisRootBrowser (IgState *state, IgSite * site, VisRootModel *model = 0); 00031 static const char * catalogLabel (void); 00032 00033 virtual void browse (IgRepresentable *object); 00034 void selectMessage (IgSelectionMessage message); 00035 void modelChanged (VisRootModelEvent event); 00036 public slots: 00037 virtual void print (void); 00038 00039 private: 00040 IgState *m_state; 00041 IgSite *m_site; 00042 VisRootModel *m_model; 00043 QWidget * initialise (IgState *, IgSite *); 00044 00045 00046 // implicit copy constructor 00047 // implicit assignment operator 00048 // implicit destructor 00049 }; 00050 00051 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00052 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00053 00054 #endif // VIS_ROOT_BROWSER_VIS_ROOT_BROWSER_H