Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OSGWindowQTPlugin.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002  *                                OpenSG                                     *
00003  *                                                                           *
00004  *                                                                           *
00005  *             Copyright (C) 2000-2002 by the OpenSG Forum                   *
00006  *                                                                           *
00007  *                            www.opensg.org                                 *
00008  *                                                                           *
00009  *   contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de          *
00010  *                                                                           *
00011 \*---------------------------------------------------------------------------*/
00012 /*---------------------------------------------------------------------------*\
00013  *                                License                                    *
00014  *                                                                           *
00015  * This library is free software; you can redistribute it and/or modify it   *
00016  * under the terms of the GNU Library General Public License as published    *
00017  * by the Free Software Foundation, version 2.                               *
00018  *                                                                           *
00019  * This library is distributed in the hope that it will be useful, but       *
00020  * WITHOUT ANY WARRANTY; without even the implied warranty of                *
00021  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         *
00022  * Library General Public License for more details.                          *
00023  *                                                                           *
00024  * You should have received a copy of the GNU Library General Public         *
00025  * License along with this library; if not, write to the Free Software       *
00026  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                 *
00027  *                                                                           *
00028 \*---------------------------------------------------------------------------*/
00029 /*---------------------------------------------------------------------------*\
00030  *                                Changes                                    *
00031  *                                                                           *
00032  *                                                                           *
00033  *                                                                           *
00034  *                                                                           *
00035  *                                                                           *
00036  *                                                                           *
00037 \*---------------------------------------------------------------------------*/
00038 
00039 #ifndef _OSGWINDOWQTPLUGIN_H_
00040 #define _OSGWINDOWQTPLUGIN_H_
00041 #ifdef __sgi
00042 #pragma once
00043 #endif
00044 
00045 //---------------------------------------------------------------------------
00046 //  Includes
00047 //---------------------------------------------------------------------------
00048 
00049 #ifdef OSG_WITH_QT
00050 
00051 // #ifdef __sgi
00052 // #pragma set woff 1375
00053 // #endif
00054 
00055 // #ifdef OSG_WIN32_ICL
00056 // #pragma warning (disable : 171)
00057 // #endif
00058 
00059 #include <qwidgetplugin.h>
00060 
00061 // #ifdef OSG_WIN32_ICL
00062 // #pragma warning (error : 171)
00063 // #endif
00064 
00065 // #ifdef __sgi
00066 // #pragma reset woff 1375
00067 // #endif
00068 
00069 #include "OSGConfig.h"
00070 #include <OSGWindowQTDef.h>
00071 #include <OSGBaseTypes.h>
00072 
00073 #include "OSGQTWindow.h"
00074 
00075 namespace osg {
00076     class NodePtr;
00077 }
00078 
00079 //OSG_BEGIN_NAMESPACE
00080 
00081 //---------------------------------------------------------------------------
00082 //  Class
00083 //---------------------------------------------------------------------------
00084 
00088 
00089 class OSG_WINDOWQTLIB_DLLMAPPING OSGWindowQTPlugin : public QWidgetPlugin
00090 {
00091     /*==========================  PUBLIC  =================================*/
00092 public:
00093 
00094     /*---------------------------------------------------------------------*/
00097     OSGWindowQTPlugin();
00098 
00100     /*---------------------------------------------------------------------*/
00101     /*---------------------------------------------------------------------*/
00104     ~OSGWindowQTPlugin();
00105 
00107     /*---------------------------------------------------------------------*/
00110     QStringList keys() const;
00111     QWidget* create( const QString &classname, QWidget* parent = 0, const char* name = 0 );
00112     QString group( const QString& ) const;
00113     QIconSet iconSet( const QString& ) const;
00114     QString includeFile( const QString& ) const;
00115     QString toolTip( const QString& ) const;
00116     QString whatsThis( const QString& ) const;
00117     bool isContainer( const QString& ) const;
00119     /*==========================  PRIVATE  ================================*/
00120     
00121   protected:
00122     osg::NodePtr makeInitialScene();
00123     
00124   private:
00125 
00126     typedef QWidgetPlugin Inherited;
00127 
00128 
00130     OSGWindowQTPlugin(const OSGWindowQTPlugin &source);
00132     void operator =(const OSGWindowQTPlugin &source);
00133 };
00134 
00135 //---------------------------------------------------------------------------
00136 //   Exported Types
00137 //---------------------------------------------------------------------------
00138 
00142 // typedef OSGWindowQTPlugin *OSGWindowQTPluginP;
00143 
00144 //OSG_END_NAMESPACE
00145 
00146 #define OSGWINDOWQTPLUGIN_HEADER_CVSID "@(#)$Id: OSGWindowQTPlugin.h,v 1.2 2003/07/09 08:53:32 dirk Exp $"
00147 
00148 #endif /* OSG_WITH_QT */
00149 
00150 #endif /* _OSGWINDOWQTPLUGIN_H_ */

Generated on Thu Aug 25 04:12:16 2005 for OpenSG by  doxygen 1.4.3