labplot  2.8.2
About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.
  Fossies Dox: labplot-2.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

XYEquationCurveDock.h
Go to the documentation of this file.
1 /***************************************************************************
2  File : XYEquationCurveDock.h
3  Project : LabPlot
4  --------------------------------------------------------------------
5  Copyright : (C) 2014 Alexander Semke (alexander.semke@web.de)
6  Description : widget for editing properties of equation curves
7 
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  * This program is distributed in the hope that it will be useful, *
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
20  * GNU General Public License for more details. *
21  * *
22  * You should have received a copy of the GNU General Public License *
23  * along with this program; if not, write to the Free Software *
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, *
25  * Boston, MA 02110-1301 USA *
26  * *
27  ***************************************************************************/
28 
29 #ifndef XYEQUATIONCURVEDOCK_H
30 #define XYEQUATIONCURVEDOCK_H
31 
34 #include "ui_xyequationcurvedockgeneraltab.h"
35 
37 class QCompleter;
38 
40  Q_OBJECT
41 
42 public:
43  explicit XYEquationCurveDock(QWidget *parent);
44  void setupGeneral() override;
46 
47 private:
48  void initGeneralTab() override;
49 
50  Ui::XYEquationCurveDockGeneralTab uiGeneralTab;
52 
53 private slots:
54  //SLOTs for changes triggered in XYCurveDock
55  void typeChanged(int);
56  void recalculateClicked();
57  void showConstants();
58  void showFunctions();
59  void insertFunction1(const QString&);
60  void insertConstant1(const QString&);
61  void insertFunction2(const QString&);
62  void insertConstant2(const QString&);
63  void enableRecalculate() const;
64 
65  //SLOTs for changes triggered in XYCurve
66  //General-Tab
69 };
70 
71 #endif
Base class of all persistent objects in a Project.
Provides a widget for editing the properties of the XYCurves (2D-curves) currently selected in the pr...
Definition: XYCurveDock.h:46
Provides a widget for editing the properties of the XYEquationCurves (2D-curves defined by a mathemat...
void setCurves(QList< XYCurve * >)
void curveEquationDataChanged(const XYEquationCurve::EquationData &)
void insertFunction2(const QString &)
void insertFunction1(const QString &)
void insertConstant1(const QString &)
void curveDescriptionChanged(const AbstractAspect *)
void setupGeneral() override
XYEquationCurve * m_equationCurve
void insertConstant2(const QString &)
Ui::XYEquationCurveDockGeneralTab uiGeneralTab
void initGeneralTab() override
XYEquationCurveDock(QWidget *parent)
A xy-curve defined by a mathematical equation.