Function dialog. More...
#include <FunctionDialog.h>
Public Slots | |
| void | accept () |
| void | acceptFunction () |
| void | acceptParametric () |
| void | acceptPolar () |
| void | clearList () |
| void | insertParamFunctionsList (const QStringList &xList, const QStringList &yList) |
| void | insertPolarFunctionsList (const QStringList &rList, const QStringList &thetaList) |
| void | setCurveToModify (Graph *g, int curve) |
| void | setGraph (Graph *g) |
Signals | |
| void | clearParamFunctionsList () |
| void | clearPolarFunctionsList () |
Public Member Functions | |
| FunctionDialog (QWidget *parent=0, Qt::WFlags fl=0) | |
Protected Slots | |
| void | raiseWidget (int index) |
Private Attributes | |
| QTableWidget * | boxConstants |
| DoubleSpinBox * | boxFrom |
| QTextEdit * | boxFunction |
| QLineEdit * | boxParameter |
| QLineEdit * | boxParFrom |
| QSpinBox * | boxParPoints |
| QLineEdit * | boxParTo |
| QSpinBox * | boxPoints |
| QLineEdit * | boxPolarFrom |
| QLineEdit * | boxPolarParameter |
| QSpinBox * | boxPolarPoints |
| QComboBox * | boxPolarRadius |
| QComboBox * | boxPolarTheta |
| QLineEdit * | boxPolarTo |
| DoubleSpinBox * | boxTo |
| QComboBox * | boxType |
| QComboBox * | boxXFunction |
| QComboBox * | boxYFunction |
| QPushButton * | buttonCancel |
| QPushButton * | buttonClear |
| QPushButton * | buttonOk |
| int | curveID |
| QWidget * | functionPage |
| Graph * | graph |
| QStackedWidget * | optionStack |
| QWidget * | parametricPage |
| QWidget * | polarPage |
| QLabel * | textFunction |
Function dialog.
| FunctionDialog::FunctionDialog | ( | QWidget * | parent = 0, |
|
| Qt::WFlags | fl = 0 | |||
| ) |
References accept(), boxConstants, boxFrom, boxFunction, boxParameter, boxParFrom, boxParPoints, boxParTo, boxPoints, boxPolarFrom, boxPolarParameter, boxPolarPoints, boxPolarRadius, boxPolarTheta, boxPolarTo, boxTo, boxType, boxXFunction, boxYFunction, buttonCancel, buttonClear, buttonOk, clearList(), curveID, ApplicationWindow::d_decimal_digits, functionPage, graph, optionStack, parametricPage, polarPage, raiseWidget(), DoubleSpinBox::setDecimals(), and DoubleSpinBox::setValue().
| void FunctionDialog::accept | ( | ) | [slot] |
References acceptFunction(), acceptParametric(), acceptPolar(), and boxType.
Referenced by FunctionDialog().
| void FunctionDialog::acceptFunction | ( | ) | [slot] |
References MultiLayer::activeLayer(), Graph::addFunction(), boxConstants, boxFrom, boxFunction, boxPoints, boxTo, boxType, curveID, graph, Graph::modifyFunctionCurve(), ApplicationWindow::newFunctionPlot(), ApplicationWindow::updateFunctionLists(), and DoubleSpinBox::value().
Referenced by accept(), and setCurveToModify().
| void FunctionDialog::acceptParametric | ( | ) | [slot] |
References MultiLayer::activeLayer(), Graph::addFunction(), boxParameter, boxParFrom, boxParPoints, boxParTo, boxType, boxXFunction, boxYFunction, curveID, graph, Graph::modifyFunctionCurve(), ApplicationWindow::newFunctionPlot(), and ApplicationWindow::updateFunctionLists().
Referenced by accept().
| void FunctionDialog::acceptPolar | ( | ) | [slot] |
References MultiLayer::activeLayer(), Graph::addFunction(), boxPolarFrom, boxPolarParameter, boxPolarPoints, boxPolarRadius, boxPolarTheta, boxPolarTo, boxType, curveID, graph, Graph::modifyFunctionCurve(), ApplicationWindow::newFunctionPlot(), and ApplicationWindow::updateFunctionLists().
Referenced by accept().
| void FunctionDialog::clearList | ( | ) | [slot] |
References boxFunction, boxPolarRadius, boxPolarTheta, boxType, boxXFunction, boxYFunction, clearParamFunctionsList(), and clearPolarFunctionsList().
Referenced by FunctionDialog().
| void FunctionDialog::clearParamFunctionsList | ( | ) | [signal] |
Referenced by clearList().
| void FunctionDialog::clearPolarFunctionsList | ( | ) | [signal] |
Referenced by clearList().
| void FunctionDialog::insertParamFunctionsList | ( | const QStringList & | xList, | |
| const QStringList & | yList | |||
| ) | [slot] |
References boxXFunction, and boxYFunction.
Referenced by ApplicationWindow::functionDialog().
| void FunctionDialog::insertPolarFunctionsList | ( | const QStringList & | rList, | |
| const QStringList & | thetaList | |||
| ) | [slot] |
References boxPolarRadius, and boxPolarTheta.
Referenced by ApplicationWindow::functionDialog().
| void FunctionDialog::raiseWidget | ( | int | index | ) | [protected, slot] |
References buttonClear, and optionStack.
Referenced by FunctionDialog().
| void FunctionDialog::setCurveToModify | ( | Graph * | g, | |
| int | curve | |||
| ) | [slot] |
References acceptFunction(), boxConstants, boxFrom, boxFunction, boxParameter, boxParFrom, boxParPoints, boxParTo, boxPoints, boxPolarFrom, boxPolarParameter, boxPolarPoints, boxPolarRadius, boxPolarTheta, boxPolarTo, boxTo, boxType, boxXFunction, boxYFunction, FunctionCurve::constants(), Graph::curve(), curveID, FunctionCurve::endRange(), ApplicationWindow::fit_output_precision, FunctionCurve::formulas(), FunctionCurve::functionType(), graph, FunctionCurve::Normal, optionStack, FunctionCurve::Parametric, FunctionCurve::Polar, DoubleSpinBox::setDecimals(), DoubleSpinBox::setValue(), FunctionCurve::startRange(), and FunctionCurve::variable().
Referenced by ApplicationWindow::showFunctionDialog().
| void FunctionDialog::setGraph | ( | Graph * | g | ) | [inline, slot] |
References graph.
Referenced by ApplicationWindow::addFunctionCurve().
QTableWidget* FunctionDialog::boxConstants [private] |
Referenced by acceptFunction(), FunctionDialog(), and setCurveToModify().
DoubleSpinBox* FunctionDialog::boxFrom [private] |
Referenced by acceptFunction(), FunctionDialog(), and setCurveToModify().
QTextEdit* FunctionDialog::boxFunction [private] |
Referenced by acceptFunction(), clearList(), FunctionDialog(), and setCurveToModify().
QLineEdit* FunctionDialog::boxParameter [private] |
Referenced by acceptParametric(), FunctionDialog(), and setCurveToModify().
QLineEdit* FunctionDialog::boxParFrom [private] |
Referenced by acceptParametric(), FunctionDialog(), and setCurveToModify().
QSpinBox* FunctionDialog::boxParPoints [private] |
Referenced by acceptParametric(), FunctionDialog(), and setCurveToModify().
QLineEdit* FunctionDialog::boxParTo [private] |
Referenced by acceptParametric(), FunctionDialog(), and setCurveToModify().
QSpinBox* FunctionDialog::boxPoints [private] |
Referenced by acceptFunction(), FunctionDialog(), and setCurveToModify().
QLineEdit* FunctionDialog::boxPolarFrom [private] |
Referenced by acceptPolar(), FunctionDialog(), and setCurveToModify().
QLineEdit* FunctionDialog::boxPolarParameter [private] |
Referenced by acceptPolar(), FunctionDialog(), and setCurveToModify().
QSpinBox* FunctionDialog::boxPolarPoints [private] |
Referenced by acceptPolar(), FunctionDialog(), and setCurveToModify().
QComboBox* FunctionDialog::boxPolarRadius [private] |
Referenced by acceptPolar(), clearList(), FunctionDialog(), insertPolarFunctionsList(), and setCurveToModify().
QComboBox* FunctionDialog::boxPolarTheta [private] |
Referenced by acceptPolar(), clearList(), FunctionDialog(), insertPolarFunctionsList(), and setCurveToModify().
QLineEdit* FunctionDialog::boxPolarTo [private] |
Referenced by acceptPolar(), FunctionDialog(), and setCurveToModify().
DoubleSpinBox* FunctionDialog::boxTo [private] |
Referenced by acceptFunction(), FunctionDialog(), and setCurveToModify().
QComboBox* FunctionDialog::boxType [private] |
Referenced by accept(), acceptFunction(), acceptParametric(), acceptPolar(), clearList(), FunctionDialog(), and setCurveToModify().
QComboBox* FunctionDialog::boxXFunction [private] |
Referenced by acceptParametric(), clearList(), FunctionDialog(), insertParamFunctionsList(), and setCurveToModify().
QComboBox* FunctionDialog::boxYFunction [private] |
Referenced by acceptParametric(), clearList(), FunctionDialog(), insertParamFunctionsList(), and setCurveToModify().
QPushButton* FunctionDialog::buttonCancel [private] |
Referenced by FunctionDialog().
QPushButton* FunctionDialog::buttonClear [private] |
Referenced by FunctionDialog(), and raiseWidget().
QPushButton* FunctionDialog::buttonOk [private] |
Referenced by FunctionDialog().
int FunctionDialog::curveID [private] |
Referenced by acceptFunction(), acceptParametric(), acceptPolar(), FunctionDialog(), and setCurveToModify().
QWidget* FunctionDialog::functionPage [private] |
Referenced by FunctionDialog().
Graph* FunctionDialog::graph [private] |
Referenced by acceptFunction(), acceptParametric(), acceptPolar(), FunctionDialog(), setCurveToModify(), and setGraph().
QStackedWidget* FunctionDialog::optionStack [private] |
Referenced by FunctionDialog(), raiseWidget(), and setCurveToModify().
QWidget* FunctionDialog::parametricPage [private] |
Referenced by FunctionDialog().
QWidget* FunctionDialog::polarPage [private] |
Referenced by FunctionDialog().
QLabel* FunctionDialog::textFunction [private] |
1.6.1