settingwindow.h

Go to the documentation of this file.
00001 /****************************************************************************
00002 **
00003 ** Author:  Jaime Valls Miro <jaime.vallsmiro@eng.uts.edu.au>
00004 **          Hue Tuan Thi <huetuan.thi@uts.edu.au>, (C) 2006
00005 **
00006 ** This file is part of the S3D Viewer Project
00007 **
00008 ** This file may be used under the terms of the GNU General Public
00009 ** License version 2.0 as published by the Free Software Foundation
00010 ** and appearing in the file LICENSE.GPL included in the packaging of
00011 ** this file.  Please review the following information to ensure GNU
00012 ** General Public Licensing requirements will be met:
00013 ** http://www.trolltech.com/products/qt/opensource.html
00014 **
00015 ** If you are unsure which license is appropriate for your use, please
00016 ** review the following information:
00017 ** http://www.trolltech.com/products/qt/licensing.html or contact the
00018 ** sales department at sales@trolltech.com.
00019 **
00020 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00021 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00022 **
00023 ****************************************************************************/
00024 
00033 #ifndef SETTINGWINDOW_H
00034 #define SETTINGWINDOW_H
00035 #include <QMainWindow>
00036 
00037 #include <QGroupBox>
00038 #include "point3dwidget.h"
00039 #include <QPushButton>
00040 #include <QColorDialog>
00041 
00042 #include <QCheckBox>
00043 #include <QSpinBox>
00044 #include <QRadioButton>
00045 #include <QLabel>
00046 
00050 class SettingWindow: public QMainWindow{
00051     Q_OBJECT
00052 
00053 public:
00054     SettingWindow(QWidget *parent = 0);     
00055     ~SettingWindow();                       
00056     void setPointWidget(Point3dWidget *pw); 
00057 private:
00058     QGroupBox *visualBox;                   
00059     QCheckBox *camera;                      
00060     QCheckBox *bound;                       
00061     QCheckBox *movingStatus;                
00062     QPushButton *colorSelector;             
00063     QPushButton *initCam;                   
00064 
00065     QGroupBox *primitives;                  
00066     QSpinBox *cubeWidthSpin;                
00067     QPushButton *alterColor;                
00068 
00069     Point3dWidget *point3dWidget;           
00070 
00071 private slots:
00072     void selectColor();                     
00073     void initCamera();                      
00074     void changeMoving(bool status);         
00075     void changeBound(bool status);          
00076     void changeView(bool status);           
00077     void changeCubeWidth(int cubeWidth);    
00078     void toPoint(bool status);              
00079     void toCube(bool status);               
00080     void initColor(bool status);            
00081     void changeColor();                     
00082 
00083 };
00084 
00085 #endif

Generated on Mon Aug 14 10:44:20 2006 for S3DViewer by  doxygen 1.4.4