LeechCraft  %{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 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 ()
 

Public Member Functions

 PlotItem (QDeclarativeItem *=0)
 
QList< QPointF > GetPoints () const
 
void SetPoints (const QList< QPointF > &)
 
QVariant GetMultipoints () const
 
void SetMultipoints (const QVariant &)
 
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 &)
 
void paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *) override
 

Detailed Description

Definition at line 40 of file plotitem.h.

Constructor & Destructor Documentation

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

Definition at line 49 of file plotitem.cpp.

Member Function Documentation

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

Referenced by SetAlpha().

+ Here is the caller graph for this function:

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

Referenced by SetBackground().

+ Here is the caller graph for this function:

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

Referenced by SetBottomAxisEnabled().

+ Here is the caller graph for this function:

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

Referenced by SetBottomAxisTitle().

+ Here is the caller graph for this function:

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

Referenced by SetColor().

+ Here is the caller graph for this function:

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

Definition at line 137 of file plotitem.cpp.

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

Definition at line 208 of file plotitem.cpp.

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

Definition at line 168 of file plotitem.cpp.

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

Definition at line 188 of file plotitem.cpp.

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

Definition at line 148 of file plotitem.cpp.

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

Definition at line 158 of file plotitem.cpp.

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

Definition at line 178 of file plotitem.cpp.

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

Definition at line 107 of file plotitem.cpp.

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

Definition at line 97 of file plotitem.cpp.

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

Definition at line 71 of file plotitem.cpp.

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

Definition at line 198 of file plotitem.cpp.

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

Definition at line 56 of file plotitem.cpp.

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

Definition at line 218 of file plotitem.cpp.

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

Definition at line 117 of file plotitem.cpp.

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

Definition at line 127 of file plotitem.cpp.

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

Referenced by SetLeftAxisEnabled().

+ Here is the caller graph for this function:

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

Referenced by SetLeftAxisTitle().

+ Here is the caller graph for this function:

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

Referenced by SetMaxYValue().

+ Here is the caller graph for this function:

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

Referenced by SetMinYValue().

+ Here is the caller graph for this function:

void LeechCraft::Util::PlotItem::multipointsChanged ( )
signal
void LeechCraft::Util::PlotItem::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *   
)
override

Definition at line 228 of file plotitem.cpp.

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

Referenced by SetPlotTitle().

+ Here is the caller graph for this function:

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

Referenced by SetPoints().

+ Here is the caller graph for this function:

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

Definition at line 142 of file plotitem.cpp.

References alphaChanged().

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

Definition at line 213 of file plotitem.cpp.

References backgroundChanged().

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

Definition at line 173 of file plotitem.cpp.

References bottomAxisEnabledChanged().

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

Definition at line 193 of file plotitem.cpp.

References bottomAxisTitleChanged().

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

Definition at line 153 of file plotitem.cpp.

References colorChanged().

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

Definition at line 163 of file plotitem.cpp.

References leftAxisEnabledChanged().

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

Definition at line 183 of file plotitem.cpp.

References leftAxisTitleChanged().

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

Definition at line 112 of file plotitem.cpp.

References maxYValueChanged().

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

Definition at line 102 of file plotitem.cpp.

References minYValueChanged().

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

Definition at line 82 of file plotitem.cpp.

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

Definition at line 203 of file plotitem.cpp.

References plotTitleChanged().

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

Definition at line 61 of file plotitem.cpp.

References pointsChanged().

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

Definition at line 223 of file plotitem.cpp.

References textColorChanged().

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

Definition at line 122 of file plotitem.cpp.

References yGridChanged().

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

Definition at line 132 of file plotitem.cpp.

References yMinorGridChanged().

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

Referenced by SetTextColor().

+ Here is the caller graph for this function:

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

Referenced by SetYGridEnabled().

+ Here is the caller graph for this function:

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

Referenced by SetYMinorGridEnabled().

+ Here is the caller graph for this function:


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