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)  

Curve.h
Go to the documentation of this file.
1 /***************************************************************************
2  File : Curve.h
3  Project : LabPlot
4  Description : Base class for curves (xy-curve, histogram, etc.).
5  --------------------------------------------------------------------
6  Copyright : (C) 2020 Alexander Semke (alexander.semke@web.de)
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 CURVE_H
30 #define CURVE_H
31 
32 #include <QPointF>
33 
34 class Curve {
35 public:
36  explicit Curve();
37  virtual ~Curve();
38 
39  virtual bool activateCurve(QPointF mouseScenePos, double maxDist = -1) = 0;
40  virtual void setHover(bool on) = 0;
41 };
42 
43 #endif
Definition: Curve.h:34
virtual ~Curve()
virtual void setHover(bool on)=0
virtual bool activateCurve(QPointF mouseScenePos, double maxDist=-1)=0