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

OSGQGLWidget_qt.cpp

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 //---------------------------------------------------------------------------
00040 //  Includes
00041 //---------------------------------------------------------------------------
00042 
00043 #ifdef OSG_WITH_QT
00044 
00045 #include <stdlib.h>
00046 #include <stdio.h>
00047 
00048 #include "OSGConfig.h"
00049 
00050 #include "OSGQGLWidget_qt.h"
00051 
00052 OSG_USING_NAMESPACE
00053 
00060 /***************************************************************************\
00061  *                           Instance methods                              *
00062 \***************************************************************************/
00063 
00064 /*-------------------------------------------------------------------------*\
00065  -  public                                                                 -
00066 \*-------------------------------------------------------------------------*/
00067 
00068 /*------------- constructors & destructors --------------------------------*/
00069 
00074 OSGQGLWidget::OSGQGLWidget( QWidget *parent, const char *name, 
00075                     const QGLWidget * shareWidget, WFlags f ) :
00076     QGLWidget( parent, name, shareWidget, f ) 
00077 {
00078 }
00079                     
00080 OSGQGLWidget::OSGQGLWidget( const QGLFormat & format,
00081                   QWidget *parent, const char *name, 
00082                   const QGLWidget * shareWidget, WFlags f       
00083                 ) :
00084     QGLWidget( format, parent, name, shareWidget, f ) 
00085 {
00086 }
00087 
00088 
00092 OSGQGLWidget::~OSGQGLWidget( void )
00093 {
00094 }
00095 
00096 
00097 /*------------------------------ access -----------------------------------*/
00098 
00099 void OSGQGLWidget::initializeGL(void) 
00100 {
00101 }
00102 
00103 void OSGQGLWidget::paintGL(void) 
00104 {
00105 }
00106 
00107 void OSGQGLWidget::resizeGL(int, int) 
00108 {
00109 }
00110 
00111 void OSGQGLWidget::makeCurrent(void)
00112 {
00113 }
00114 
00115 void OSGQGLWidget::swapBuffers(void)
00116 {
00117 }
00118 
00119 #ifdef __sgi
00120 #pragma set woff 1375
00121 #endif
00122 
00123 #include "OSGQGLWidget_qt_moc.cpp"
00124 
00125 #ifdef __sgi
00126 #pragma reset woff 1375
00127 #endif
00128 
00129 /*-------------------------------------------------------------------------*/
00130 /*                              cvs id's                                   */
00131 
00132 #ifdef __sgi
00133 #pragma set woff 1174
00134 #endif
00135 
00136 #ifdef OSG_LINUX_ICC
00137 #pragma warning( disable : 177 )
00138 #endif
00139 
00140 namespace
00141 {
00142     static char cvsid_cpp[] = "@(#)$Id: $";
00143     static char cvsid_hpp[] = OSGQGLWIDGET_HEADER_CVSID;
00144     static char cvsid_inl[] = OSGQGLWIDGET_INLINE_CVSID;
00145 }
00146 
00147 #endif /* OSG_WITH_QT */

Generated on Thu Aug 25 04:08:59 2005 for OpenSG by  doxygen 1.4.3