SurfaceDialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002     File                 : SurfaceDialog.h
00003     Project              : QtiPlot
00004     --------------------------------------------------------------------
00005     Copyright            : (C) 2006 by Ion Vasilief
00006     Email (use @ for *)  : ion_vasilief*yahoo.fr
00007     Description          : Define surface plot dialog
00008 
00009  ***************************************************************************/
00010 
00011 /***************************************************************************
00012  *                                                                         *
00013  *  This program is free software; you can redistribute it and/or modify   *
00014  *  it under the terms of the GNU General Public License as published by   *
00015  *  the Free Software Foundation; either version 2 of the License, or      *
00016  *  (at your option) any later version.                                    *
00017  *                                                                         *
00018  *  This program is distributed in the hope that it will be useful,        *
00019  *  but WITHOUT ANY WARRANTY; without even the implied warranty of         *
00020  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
00021  *  GNU General Public License for more details.                           *
00022  *                                                                         *
00023  *   You should have received a copy of the GNU General Public License     *
00024  *   along with this program; if not, write to the Free Software           *
00025  *   Foundation, Inc., 51 Franklin Street, Fifth Floor,                    *
00026  *   Boston, MA  02110-1301  USA                                           *
00027  *                                                                         *
00028  ***************************************************************************/
00029 #ifndef SURFACEDIALOG_H
00030 #define SURFACEDIALOG_H
00031 
00032 #include <QDialog>
00033 
00034 class QPushButton;
00035 class QLineEdit;
00036 class QCheckBox;
00037 class QComboBox;
00038 class QStackedWidget;
00039 class QSpinBox;
00040 class Graph3D;
00041 
00043 class SurfaceDialog : public QDialog
00044 {
00045     Q_OBJECT
00046 
00047 public:
00048     SurfaceDialog( QWidget* parent = 0, Qt::WFlags fl = 0 );
00049 
00050 public slots:
00051     void accept();
00052     void setFunction(Graph3D *);
00053     void setParametricSurface(Graph3D *);
00054 
00055 private slots:
00056     void clearList();
00057 
00058 private:
00059     Graph3D *d_graph;
00060 
00061     void acceptParametricSurface();
00062     void acceptFunction();
00063     void initFunctionPage();
00064     void initParametricSurfacePage();
00065 
00066     QWidget* functionPage;
00067     QWidget* parametricPage;
00068     QStackedWidget* optionStack;
00069     QPushButton* buttonOk;
00070     QPushButton* buttonCancel;
00071     QPushButton* buttonClear;
00072     QComboBox* boxType;
00073     QComboBox* boxFunction;
00074     QLineEdit* boxXFrom;
00075     QLineEdit* boxXTo;
00076     QLineEdit* boxYFrom;
00077     QLineEdit* boxYTo;
00078     QLineEdit* boxZFrom;
00079     QLineEdit* boxZTo;
00080 
00081     QLineEdit* boxX;
00082     QLineEdit* boxY;
00083     QLineEdit* boxZ;
00084 
00085     QLineEdit* boxUFrom;
00086     QLineEdit* boxUTo;
00087     QLineEdit* boxVFrom;
00088     QLineEdit* boxVTo;
00089 
00090     QCheckBox *boxUPeriodic, *boxVPeriodic;
00091     QSpinBox *boxColumns, *boxRows, *boxFuncColumns, *boxFuncRows;
00092 };
00093 
00094 #endif

Generated on Fri Nov 7 03:36:53 2008 for QtiPlot by  doxygen 1.5.6