CMS 3D CMS Logo

IgQtTextBrowser.h

Go to the documentation of this file.
00001 #ifndef IGUANA_STUDIO_IG_QT_TEXT_BROWSER_H
00002 # define IGUANA_STUDIO_IG_QT_TEXT_BROWSER_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "Iguana/Studio/interface/config.h"
00007 # include "Iguana/Framework/interface/IgBrowser.h"
00008 # include <qtextbrowser.h>
00009 
00010 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00011 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00012 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00013 
00014 class IgState;
00015 class IgTextRep;
00016 class IgSimpleTextModel;
00017 class IgTextModelEvent;
00018 class IgSite;
00019 class IgSelectionMessage;
00020 
00021 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00022 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00023 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00024 
00025 class IGUANA_STUDIO_API IgQtTextBrowser : public QTextBrowser,
00026                                           public IgBrowser
00027 {
00028 public:
00029     IgQtTextBrowser (IgState *state, IgSite *site);
00030     ~IgQtTextBrowser (void);
00031 
00032     virtual void        browse (IgRepresentable *object);
00033 
00034     static const char * catalogLabel (void);
00035 
00036 protected:
00037     virtual void        textChanged (IgTextModelEvent event);
00038     virtual void        selectMessage (IgSelectionMessage message);
00039     virtual void        select (IgTextRep *rep);
00040 
00041 private:
00042     IgState             *m_state;
00043     IgSite              *m_site;
00044     IgSimpleTextModel   *m_model;
00045 
00046     // undefined semantics
00047     IgQtTextBrowser (const IgQtTextBrowser &);
00048     IgQtTextBrowser &operator= (const IgQtTextBrowser &);
00049 };
00050 
00051 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00052 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00053 
00054 #endif // IGUANA_STUDIO_IG_QT_TEXT_BROWSER_H

Generated on Tue Jun 9 17:38:48 2009 for CMSSW by  doxygen 1.5.4