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 Class Referenceabstract

#include <Curve.h>

Inheritance diagram for Curve:
[legend]

Public Member Functions

 Curve ()
 
virtual ~Curve ()
 
virtual bool activateCurve (QPointF mouseScenePos, double maxDist=-1)=0
 
virtual void setHover (bool on)=0
 

Detailed Description

File : Curve.h Project : LabPlot

Description : Base class for curves (xy-curve, histogram, etc.).

Copyright : (C) 2020 Alexander Semke (alexa.nosp@m.nder.nosp@m..semk.nosp@m.e@we.nosp@m.b.de)

  • 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 *

Definition at line 34 of file Curve.h.

Constructor & Destructor Documentation

◆ Curve()

Curve::Curve ( )
explicitdefault

File : Curve.h Project : LabPlot

Description : Base class for curves (xy-curve, histogram, etc.).

Copyright : (C) 2020 Alexander Semke (alexa.nosp@m.nder.nosp@m..semk.nosp@m.e@we.nosp@m.b.de)

  • 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 *

◆ ~Curve()

Curve::~Curve ( )
virtualdefault

Member Function Documentation

◆ activateCurve()

virtual bool Curve::activateCurve ( QPointF  mouseScenePos,
double  maxDist = -1 
)
pure virtual

Implemented in Histogram, and XYCurve.

◆ setHover()

virtual void Curve::setHover ( bool  on)
pure virtual

Implemented in Histogram, and XYCurve.

Referenced by CartesianPlotPrivate::hoverMoveEvent().


The documentation for this class was generated from the following files: