/****************************************************************************
** $Id: qt/globjwin.h   3.3.8   edited Jan 11 14:37 $
**
** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
**
** This file is part of an example program for Qt.  This example
** program may be used, distributed and modified without limitation.
**
*****************************************************************************/

/****************************************************************************
**
** The GLObjectWindow contains a GLBox and three sliders connected to
** the GLBox's rotation slots.
**
****************************************************************************/

#ifndef GLOBJWIN_H
#define GLOBJWIN_H

#include <qwidget.h>
#include <osgViewer/Viewer>
#include <osgViewer/ViewerEventHandlers>
#include <osgGA/TrackballManipulator>
#include <osgDB/ReadFile>
#include "AdapterWidget.h"


class GLObjectWindow : public QWidget
{
    Q_OBJECT
public:
  GLObjectWindow( QApplication& a, osg::ArgumentParser& arguments,QWidget* parent = 0, const char* name = 0 );
  AdapterWidget* viewerWindow;
public slots:

    void		setXRotation( int degrees );
    void		setYRotation( int degrees );
    void		setZRotation( int degrees );

};


#endif // GLOBJWIN_H
