Added QWidget style constructor parameters

This commit is contained in:
Robert Osfield 2006-11-27 16:25:12 +00:00
parent fd2ffeb310
commit ae79bebd82
2 changed files with 5 additions and 2 deletions

View File

@ -92,8 +92,10 @@ void GraphicsWindowQT::mouseMoveEvent( QMouseEvent* event )
class SimpleViewerQT : public osgViewer::SimpleViewer, public GraphicsWindowQT
{
public:
SimpleViewerQT() {}
SimpleViewerQT(QWidget * parent = 0, const char * name = 0, const QGLWidget * shareWidget = 0, WFlags f = 0):
GraphicsWindowQT( parent, name, shareWidget, f )
{}
virtual void initializeGL()
{

View File

@ -92,8 +92,9 @@ void GraphicsWindowQT::mouseMoveEvent( QMouseEvent* event )
class SimpleViewerQT : public osgViewer::SimpleViewer, public GraphicsWindowQT
{
public:
SimpleViewerQT() {}
SimpleViewerQT( QWidget * parent = 0, const char * name = 0, const QGLWidget * shareWidget = 0, Qt::WFlags f = 0 ):
GraphicsWindowQT(parent, name, shareWidget, f) {}
virtual void initializeGL()
{