00001 #ifndef IGUANA_GL_BROWSERS_IG_2D_BROWSER_H 00002 # define IGUANA_GL_BROWSERS_IG_2D_BROWSER_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "Iguana/GLBrowsers/interface/config.h" 00007 # include "Iguana/GLBrowsers/interface/Ig3DBaseBrowser.h" 00008 00009 //<<<<<< PUBLIC DEFINES >>>>>> 00010 //<<<<<< PUBLIC CONSTANTS >>>>>> 00011 //<<<<<< PUBLIC TYPES >>>>>> 00012 00013 class Ig2DModel; 00014 00015 //<<<<<< PUBLIC VARIABLES >>>>>> 00016 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00017 //<<<<<< CLASS DECLARATIONS >>>>>> 00018 00019 class IGUANA_GL_BROWSERS_API Ig2DBrowser : public Ig3DBaseBrowser 00020 { 00021 Q_OBJECT 00022 00023 public: 00024 Ig2DBrowser (IgState *state, IgSite *site, Ig2DModel *model = 0); 00025 00026 static const char * catalogLabel (void); 00027 00028 public slots: 00029 virtual void viewPlaneX (void); 00030 virtual void viewPlaneY (void); 00031 virtual void viewPlaneZ (void); 00032 00033 protected: 00034 static SbBool eventCallback (void *closure, QEvent *event); 00035 00036 virtual void buildDecoration (QWidget *parent); 00037 virtual QWidget *buildLeftTrim (QWidget *parent); 00038 virtual QWidget *buildBottomTrim (QWidget *parent); 00039 virtual QWidget *buildRightTrim (QWidget *parent); 00040 }; 00041 00042 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00043 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00044 00045 #endif // IGUANA_GL_BROWSERS_IG_2D_BROWSER_H