InterpolationDialog.h
Go to the documentation of this file.
/***************************************************************************
File : InterpolationDialog.h
Project : QtiPlot
--------------------------------------------------------------------
Copyright : (C) 2006 - 2011 by Ion Vasilief
Email (use @ for *) : ion_vasilief*yahoo.fr
Description : Interpolation options dialog
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the Free Software *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, *
* Boston, MA 02110-1301 USA *
* *
***************************************************************************/
#ifndef INTERPOLATIONDIALOG_H
#define INTERPOLATIONDIALOG_H
#include <QDialog>
class QPushButton;
class QComboBox;
class QSpinBox;
class Graph;
class ColorButton;
class DoubleSpinBox;
class InterpolationDialog : public QDialog
{
Q_OBJECT
public:
InterpolationDialog( QWidget* parent = 0, Qt::WFlags fl = 0 );
public slots:
void activateCurve(const QString&);
void setGraph(Graph *g);
void interpolate();
void changeDataRange();
private:
Graph *graph;
QPushButton* buttonFit;
QPushButton* buttonCancel;
QComboBox* boxName;
QComboBox* boxMethod;
QSpinBox* boxPoints;
DoubleSpinBox* boxStart;
DoubleSpinBox* boxEnd;
ColorButton* boxColor;
};
#endif
InterpolationDialog
Interpolation options dialog.
Definition: InterpolationDialog.h:42
InterpolationDialog::InterpolationDialog
InterpolationDialog(QWidget *parent=0, Qt::WFlags fl=0)
Definition: InterpolationDialog.cpp:44
InterpolationDialog::boxMethod
QComboBox * boxMethod
Definition: InterpolationDialog.h:60
Graph
A 2D-plotting widget.
Definition: Graph.h:123
InterpolationDialog::boxColor
ColorButton * boxColor
Definition: InterpolationDialog.h:64
InterpolationDialog::buttonFit
QPushButton * buttonFit
Definition: InterpolationDialog.h:57
ColorButton
A customized QtColorPicker used for color selection.
Definition: ColorButton.h:39
InterpolationDialog::boxEnd
DoubleSpinBox * boxEnd
Definition: InterpolationDialog.h:63
DoubleSpinBox
A QDoubleSpinBox allowing to customize numbers display with respect to locale settings.
Definition: DoubleSpinBox.h:39
InterpolationDialog::interpolate
void interpolate()
Definition: InterpolationDialog.cpp:113
InterpolationDialog::boxStart
DoubleSpinBox * boxStart
Definition: InterpolationDialog.h:62
InterpolationDialog::boxPoints
QSpinBox * boxPoints
Definition: InterpolationDialog.h:61
InterpolationDialog::activateCurve
void activateCurve(const QString &)
Definition: InterpolationDialog.cpp:158
InterpolationDialog::setGraph
void setGraph(Graph *g)
Definition: InterpolationDialog.cpp:141
InterpolationDialog::graph
Graph * graph
Definition: InterpolationDialog.h:56
InterpolationDialog::changeDataRange
void changeDataRange()
Definition: InterpolationDialog.cpp:174
InterpolationDialog::boxName
QComboBox * boxName
Definition: InterpolationDialog.h:59
InterpolationDialog::buttonCancel
QPushButton * buttonCancel
Definition: InterpolationDialog.h:58