JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
Loading...
Searching...
No Matches

base class for all plots that may be plotted by JKQTFastPlotter More...

#include <jkqtfastplotter.h>

Inheritance diagram for JKQTFPPlot:
[legend]
Collaboration diagram for JKQTFPPlot:
[legend]

Public Slots

void setVisible (bool visible)

Public Member Functions

 JKQTFPPlot (JKQTFastPlotter *parent)
 class constructor
virtual ~JKQTFPPlot ()
 virtual class destructor
virtual void drawGraph (QPainter &painter)=0
 draw the graph
bool isVisible () const
 returns whether this graph is visible inside the plot
void paint (QPainter &painter)
 draw the graph
void replot ()
 start a replot of the parent widget
void setParent (JKQTFastPlotter *parent)
 set the parent of the plot

Protected Attributes

JKQTFastPlotterparent
 parent class, i.e. the plotter to plot on
bool visible
 indicates whether the plot is visible or not

Detailed Description

base class for all plots that may be plotted by JKQTFastPlotter

Deprecated
The class JKQTFastPlotter and all its support classes are deprecated and will be removed in future versions.

Constructor & Destructor Documentation

◆ JKQTFPPlot()

JKQTFPPlot::JKQTFPPlot ( JKQTFastPlotter * parent)

class constructor

◆ ~JKQTFPPlot()

virtual JKQTFPPlot::~JKQTFPPlot ( )
virtual

virtual class destructor

Member Function Documentation

◆ drawGraph()

◆ isVisible()

bool JKQTFPPlot::isVisible ( ) const
inline

returns whether this graph is visible inside the plot

◆ paint()

void JKQTFPPlot::paint ( QPainter & painter)

draw the graph

◆ replot()

void JKQTFPPlot::replot ( )

start a replot of the parent widget

◆ setParent()

void JKQTFPPlot::setParent ( JKQTFastPlotter * parent)
inline

set the parent of the plot

◆ setVisible

void JKQTFPPlot::setVisible ( bool visible)
inlineslot

Member Data Documentation

◆ parent

JKQTFastPlotter* JKQTFPPlot::parent
protected

parent class, i.e. the plotter to plot on

◆ visible

bool JKQTFPPlot::visible
protected

indicates whether the plot is visible or not


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