LeechCraft  0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
LeechCraft::Util::PlotItem Class Reference

#include "plotitem.h"

+ Inheritance diagram for LeechCraft::Util::PlotItem:
+ Collaboration diagram for LeechCraft::Util::PlotItem:

Signals

void pointsChanged ()
 
void multipointsChanged ()
 
void minXValueChanged ()
 
void maxXValueChanged ()
 
void minYValueChanged ()
 
void maxYValueChanged ()
 
void yGridChanged ()
 
void yMinorGridChanged ()
 
void alphaChanged ()
 
void colorChanged ()
 
void leftAxisEnabledChanged ()
 
void bottomAxisEnabledChanged ()
 
void leftAxisTitleChanged ()
 
void bottomAxisTitleChanged ()
 
void plotTitleChanged ()
 
void backgroundChanged ()
 
void textColorChanged ()
 
void gridLinesColorChanged ()
 
void extentsChanged ()
 

Public Member Functions

 PlotItem (QQuickItem *=0)
 
QList< QPointF > GetPoints () const
 
void SetPoints (const QList< QPointF > &)
 
QVariant GetMultipoints () const
 
void SetMultipoints (const QVariant &)
 
double GetMinXValue () const
 
void SetMinXValue (double)
 
double GetMaxXValue () const
 
void SetMaxXValue (double)
 
double GetMinYValue () const
 
void SetMinYValue (double)
 
double GetMaxYValue () const
 
void SetMaxYValue (double)
 
bool GetYGridEnabled () const
 
void SetYGridEnabled (bool)
 
bool GetYMinorGridEnabled () const
 
void SetYMinorGridEnabled (bool)
 
double GetAlpha () const
 
void SetAlpha (double)
 
QColor GetColor () const
 
void SetColor (const QColor &)
 
bool GetLeftAxisEnabled () const
 
void SetLeftAxisEnabled (bool)
 
bool GetBottomAxisEnabled () const
 
void SetBottomAxisEnabled (bool)
 
QString GetLeftAxisTitle () const
 
void SetLeftAxisTitle (const QString &)
 
QString GetBottomAxisTitle () const
 
void SetBottomAxisTitle (const QString &)
 
QString GetPlotTitle () const
 
void SetPlotTitle (const QString &)
 
QColor GetBackground () const
 
void SetBackground (const QColor &)
 
QColor GetTextColor () const
 
void SetTextColor (const QColor &)
 
QColor GetGridLinesColor () const
 
void SetGridLinesColor (const QColor &)
 
int GetXExtent () const
 
int GetYExtent () const
 
void paint (QPainter *) override
 

Properties

QList< QPointF > points
 
QVariant multipoints
 
double minXValue
 
double maxXValue
 
double minYValue
 
double maxYValue
 
bool yGridEnabled
 
bool yMinorGridEnabled
 
double alpha
 
QColor color
 
bool leftAxisEnabled
 
bool bottomAxisEnabled
 
QString leftAxisTitle
 
QString bottomAxisTitle
 
QString plotTitle
 
QColor background
 
QColor textColor
 
QColor gridLinesColor
 
int xExtent
 
int yExtent
 

Detailed Description

Definition at line 45 of file plotitem.h.

Constructor & Destructor Documentation

◆ PlotItem()

LeechCraft::Util::PlotItem::PlotItem ( QQuickItem *  parent = 0)

Definition at line 51 of file plotitem.cpp.

Member Function Documentation

◆ alphaChanged

void LeechCraft::Util::PlotItem::alphaChanged ( )
signal

Referenced by SetAlpha().

+ Here is the caller graph for this function:

◆ backgroundChanged

void LeechCraft::Util::PlotItem::backgroundChanged ( )
signal

Referenced by SetBackground().

+ Here is the caller graph for this function:

◆ bottomAxisEnabledChanged

void LeechCraft::Util::PlotItem::bottomAxisEnabledChanged ( )
signal

Referenced by SetBottomAxisEnabled().

+ Here is the caller graph for this function:

◆ bottomAxisTitleChanged

void LeechCraft::Util::PlotItem::bottomAxisTitleChanged ( )
signal

Referenced by SetBottomAxisTitle().

+ Here is the caller graph for this function:

◆ colorChanged

void LeechCraft::Util::PlotItem::colorChanged ( )
signal

Referenced by SetColor().

+ Here is the caller graph for this function:

◆ extentsChanged

void LeechCraft::Util::PlotItem::extentsChanged ( )
signal

◆ GetAlpha()

double LeechCraft::Util::PlotItem::GetAlpha ( ) const

Definition at line 195 of file plotitem.cpp.

◆ GetBackground()

QColor LeechCraft::Util::PlotItem::GetBackground ( ) const

Definition at line 266 of file plotitem.cpp.

◆ GetBottomAxisEnabled()

bool LeechCraft::Util::PlotItem::GetBottomAxisEnabled ( ) const

Definition at line 226 of file plotitem.cpp.

◆ GetBottomAxisTitle()

QString LeechCraft::Util::PlotItem::GetBottomAxisTitle ( ) const

Definition at line 246 of file plotitem.cpp.

◆ GetColor()

QColor LeechCraft::Util::PlotItem::GetColor ( ) const

Definition at line 206 of file plotitem.cpp.

◆ GetGridLinesColor()

QColor LeechCraft::Util::PlotItem::GetGridLinesColor ( ) const

Definition at line 286 of file plotitem.cpp.

◆ GetLeftAxisEnabled()

bool LeechCraft::Util::PlotItem::GetLeftAxisEnabled ( ) const

Definition at line 216 of file plotitem.cpp.

◆ GetLeftAxisTitle()

QString LeechCraft::Util::PlotItem::GetLeftAxisTitle ( ) const

Definition at line 236 of file plotitem.cpp.

◆ GetMaxXValue()

double LeechCraft::Util::PlotItem::GetMaxXValue ( ) const

Definition at line 145 of file plotitem.cpp.

◆ GetMaxYValue()

double LeechCraft::Util::PlotItem::GetMaxYValue ( ) const

Definition at line 165 of file plotitem.cpp.

◆ GetMinXValue()

double LeechCraft::Util::PlotItem::GetMinXValue ( ) const

Definition at line 135 of file plotitem.cpp.

◆ GetMinYValue()

double LeechCraft::Util::PlotItem::GetMinYValue ( ) const

Definition at line 155 of file plotitem.cpp.

◆ GetMultipoints()

QVariant LeechCraft::Util::PlotItem::GetMultipoints ( ) const

Definition at line 73 of file plotitem.cpp.

◆ GetPlotTitle()

QString LeechCraft::Util::PlotItem::GetPlotTitle ( ) const

Definition at line 256 of file plotitem.cpp.

◆ GetPoints()

QList< QPointF > LeechCraft::Util::PlotItem::GetPoints ( ) const

Definition at line 58 of file plotitem.cpp.

◆ GetTextColor()

QColor LeechCraft::Util::PlotItem::GetTextColor ( ) const

Definition at line 276 of file plotitem.cpp.

◆ GetXExtent()

int LeechCraft::Util::PlotItem::GetXExtent ( ) const

Definition at line 296 of file plotitem.cpp.

◆ GetYExtent()

int LeechCraft::Util::PlotItem::GetYExtent ( ) const

Definition at line 301 of file plotitem.cpp.

◆ GetYGridEnabled()

bool LeechCraft::Util::PlotItem::GetYGridEnabled ( ) const

Definition at line 175 of file plotitem.cpp.

◆ GetYMinorGridEnabled()

bool LeechCraft::Util::PlotItem::GetYMinorGridEnabled ( ) const

Definition at line 185 of file plotitem.cpp.

◆ gridLinesColorChanged

void LeechCraft::Util::PlotItem::gridLinesColorChanged ( )
signal

Referenced by SetGridLinesColor().

+ Here is the caller graph for this function:

◆ leftAxisEnabledChanged

void LeechCraft::Util::PlotItem::leftAxisEnabledChanged ( )
signal

Referenced by SetLeftAxisEnabled().

+ Here is the caller graph for this function:

◆ leftAxisTitleChanged

void LeechCraft::Util::PlotItem::leftAxisTitleChanged ( )
signal

Referenced by SetLeftAxisTitle().

+ Here is the caller graph for this function:

◆ maxXValueChanged

void LeechCraft::Util::PlotItem::maxXValueChanged ( )
signal

Referenced by SetMaxXValue().

+ Here is the caller graph for this function:

◆ maxYValueChanged

void LeechCraft::Util::PlotItem::maxYValueChanged ( )
signal

Referenced by SetMaxYValue().

+ Here is the caller graph for this function:

◆ minXValueChanged

void LeechCraft::Util::PlotItem::minXValueChanged ( )
signal

Referenced by SetMinXValue().

+ Here is the caller graph for this function:

◆ minYValueChanged

void LeechCraft::Util::PlotItem::minYValueChanged ( )
signal

Referenced by SetMinYValue().

+ Here is the caller graph for this function:

◆ multipointsChanged

void LeechCraft::Util::PlotItem::multipointsChanged ( )
signal

◆ paint()

void LeechCraft::Util::PlotItem::paint ( QPainter *  painter)
override

Definition at line 306 of file plotitem.cpp.

References color.

◆ plotTitleChanged

void LeechCraft::Util::PlotItem::plotTitleChanged ( )
signal

Referenced by SetPlotTitle().

+ Here is the caller graph for this function:

◆ pointsChanged

void LeechCraft::Util::PlotItem::pointsChanged ( )
signal

Referenced by SetPoints().

+ Here is the caller graph for this function:

◆ SetAlpha()

void LeechCraft::Util::PlotItem::SetAlpha ( double  a)

Definition at line 200 of file plotitem.cpp.

References alphaChanged().

◆ SetBackground()

void LeechCraft::Util::PlotItem::SetBackground ( const QColor &  bg)

Definition at line 271 of file plotitem.cpp.

References backgroundChanged().

◆ SetBottomAxisEnabled()

void LeechCraft::Util::PlotItem::SetBottomAxisEnabled ( bool  enabled)

Definition at line 231 of file plotitem.cpp.

References bottomAxisEnabledChanged().

◆ SetBottomAxisTitle()

void LeechCraft::Util::PlotItem::SetBottomAxisTitle ( const QString &  title)

Definition at line 251 of file plotitem.cpp.

References bottomAxisTitleChanged().

◆ SetColor()

void LeechCraft::Util::PlotItem::SetColor ( const QColor &  color)

Definition at line 211 of file plotitem.cpp.

References color, and colorChanged().

◆ SetGridLinesColor()

void LeechCraft::Util::PlotItem::SetGridLinesColor ( const QColor &  color)

Definition at line 291 of file plotitem.cpp.

References color, and gridLinesColorChanged().

◆ SetLeftAxisEnabled()

void LeechCraft::Util::PlotItem::SetLeftAxisEnabled ( bool  enabled)

Definition at line 221 of file plotitem.cpp.

References leftAxisEnabledChanged().

◆ SetLeftAxisTitle()

void LeechCraft::Util::PlotItem::SetLeftAxisTitle ( const QString &  title)

Definition at line 241 of file plotitem.cpp.

References leftAxisTitleChanged().

◆ SetMaxXValue()

void LeechCraft::Util::PlotItem::SetMaxXValue ( double  val)

Definition at line 150 of file plotitem.cpp.

References maxXValueChanged().

◆ SetMaxYValue()

void LeechCraft::Util::PlotItem::SetMaxYValue ( double  val)

Definition at line 170 of file plotitem.cpp.

References maxYValueChanged().

◆ SetMinXValue()

void LeechCraft::Util::PlotItem::SetMinXValue ( double  val)

Definition at line 140 of file plotitem.cpp.

References minXValueChanged().

◆ SetMinYValue()

void LeechCraft::Util::PlotItem::SetMinYValue ( double  val)

Definition at line 160 of file plotitem.cpp.

References minYValueChanged().

◆ SetMultipoints()

void LeechCraft::Util::PlotItem::SetMultipoints ( const QVariant &  variant)

Definition at line 92 of file plotitem.cpp.

◆ SetPlotTitle()

void LeechCraft::Util::PlotItem::SetPlotTitle ( const QString &  title)

Definition at line 261 of file plotitem.cpp.

References plotTitleChanged().

◆ SetPoints()

void LeechCraft::Util::PlotItem::SetPoints ( const QList< QPointF > &  pts)

Definition at line 63 of file plotitem.cpp.

References pointsChanged().

◆ SetTextColor()

void LeechCraft::Util::PlotItem::SetTextColor ( const QColor &  color)

Definition at line 281 of file plotitem.cpp.

References color, and textColorChanged().

◆ SetYGridEnabled()

void LeechCraft::Util::PlotItem::SetYGridEnabled ( bool  val)

Definition at line 180 of file plotitem.cpp.

References yGridChanged().

◆ SetYMinorGridEnabled()

void LeechCraft::Util::PlotItem::SetYMinorGridEnabled ( bool  val)

Definition at line 190 of file plotitem.cpp.

References yMinorGridChanged().

◆ textColorChanged

void LeechCraft::Util::PlotItem::textColorChanged ( )
signal

Referenced by SetTextColor().

+ Here is the caller graph for this function:

◆ yGridChanged

void LeechCraft::Util::PlotItem::yGridChanged ( )
signal

Referenced by SetYGridEnabled().

+ Here is the caller graph for this function:

◆ yMinorGridChanged

void LeechCraft::Util::PlotItem::yMinorGridChanged ( )
signal

Referenced by SetYMinorGridEnabled().

+ Here is the caller graph for this function:

Property Documentation

◆ alpha

double LeechCraft::Util::PlotItem::alpha
readwrite

Definition at line 61 of file plotitem.h.

◆ background

QColor LeechCraft::Util::PlotItem::background
readwrite

Definition at line 70 of file plotitem.h.

◆ bottomAxisEnabled

bool LeechCraft::Util::PlotItem::bottomAxisEnabled
readwrite

Definition at line 64 of file plotitem.h.

◆ bottomAxisTitle

QString LeechCraft::Util::PlotItem::bottomAxisTitle
readwrite

Definition at line 66 of file plotitem.h.

◆ color

QColor LeechCraft::Util::PlotItem::color
readwrite

Definition at line 62 of file plotitem.h.

Referenced by paint(), SetColor(), SetGridLinesColor(), and SetTextColor().

◆ gridLinesColor

QColor LeechCraft::Util::PlotItem::gridLinesColor
readwrite

Definition at line 72 of file plotitem.h.

◆ leftAxisEnabled

bool LeechCraft::Util::PlotItem::leftAxisEnabled
readwrite

Definition at line 63 of file plotitem.h.

◆ leftAxisTitle

QString LeechCraft::Util::PlotItem::leftAxisTitle
readwrite

Definition at line 65 of file plotitem.h.

◆ maxXValue

double LeechCraft::Util::PlotItem::maxXValue
readwrite

Definition at line 54 of file plotitem.h.

◆ maxYValue

double LeechCraft::Util::PlotItem::maxYValue
readwrite

Definition at line 56 of file plotitem.h.

◆ minXValue

double LeechCraft::Util::PlotItem::minXValue
readwrite

Definition at line 53 of file plotitem.h.

◆ minYValue

double LeechCraft::Util::PlotItem::minYValue
readwrite

Definition at line 55 of file plotitem.h.

◆ multipoints

QVariant LeechCraft::Util::PlotItem::multipoints
readwrite

Definition at line 51 of file plotitem.h.

◆ plotTitle

QString LeechCraft::Util::PlotItem::plotTitle
readwrite

Definition at line 68 of file plotitem.h.

◆ points

QList<QPointF> LeechCraft::Util::PlotItem::points
readwrite

Definition at line 49 of file plotitem.h.

◆ textColor

QColor LeechCraft::Util::PlotItem::textColor
readwrite

Definition at line 71 of file plotitem.h.

◆ xExtent

int LeechCraft::Util::PlotItem::xExtent
read

Definition at line 74 of file plotitem.h.

◆ yExtent

int LeechCraft::Util::PlotItem::yExtent
read

Definition at line 75 of file plotitem.h.

◆ yGridEnabled

bool LeechCraft::Util::PlotItem::yGridEnabled
readwrite

Definition at line 58 of file plotitem.h.

◆ yMinorGridEnabled

bool LeechCraft::Util::PlotItem::yMinorGridEnabled
readwrite

Definition at line 59 of file plotitem.h.


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