![]() |
LeechCraft 0.6.70-17793-g6e56308e78
Modular cross-platform feature rich live environment.
|
#include "plotitem.h"
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 *=nullptr) | |
| 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 |
Definition at line 21 of file plotitem.h.
|
explicit |
Definition at line 28 of file plotitem.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
| double LC::Util::PlotItem::GetAlpha | ( | ) | const |
Definition at line 192 of file plotitem.cpp.
References GetAlpha().
Referenced by GetAlpha().
| QColor LC::Util::PlotItem::GetBackground | ( | ) | const |
Definition at line 263 of file plotitem.cpp.
References GetBackground().
Referenced by GetBackground().
| bool LC::Util::PlotItem::GetBottomAxisEnabled | ( | ) | const |
Definition at line 223 of file plotitem.cpp.
References GetBottomAxisEnabled().
Referenced by GetBottomAxisEnabled().
| QString LC::Util::PlotItem::GetBottomAxisTitle | ( | ) | const |
Definition at line 243 of file plotitem.cpp.
References GetBottomAxisTitle().
Referenced by GetBottomAxisTitle().
| QColor LC::Util::PlotItem::GetColor | ( | ) | const |
Definition at line 203 of file plotitem.cpp.
References GetColor().
Referenced by GetColor().
| QColor LC::Util::PlotItem::GetGridLinesColor | ( | ) | const |
Definition at line 283 of file plotitem.cpp.
References GetGridLinesColor().
Referenced by GetGridLinesColor().
| bool LC::Util::PlotItem::GetLeftAxisEnabled | ( | ) | const |
Definition at line 213 of file plotitem.cpp.
References GetLeftAxisEnabled().
Referenced by GetLeftAxisEnabled().
| QString LC::Util::PlotItem::GetLeftAxisTitle | ( | ) | const |
Definition at line 233 of file plotitem.cpp.
References GetLeftAxisTitle().
Referenced by GetLeftAxisTitle().
| double LC::Util::PlotItem::GetMaxXValue | ( | ) | const |
Definition at line 142 of file plotitem.cpp.
References GetMaxXValue().
Referenced by GetMaxXValue().
| double LC::Util::PlotItem::GetMaxYValue | ( | ) | const |
Definition at line 162 of file plotitem.cpp.
References GetMaxYValue().
Referenced by GetMaxYValue().
| double LC::Util::PlotItem::GetMinXValue | ( | ) | const |
Definition at line 132 of file plotitem.cpp.
References GetMinXValue().
Referenced by GetMinXValue().
| double LC::Util::PlotItem::GetMinYValue | ( | ) | const |
Definition at line 152 of file plotitem.cpp.
References GetMinYValue().
Referenced by GetMinYValue().
| QVariant LC::Util::PlotItem::GetMultipoints | ( | ) | const |
Definition at line 50 of file plotitem.cpp.
| QString LC::Util::PlotItem::GetPlotTitle | ( | ) | const |
Definition at line 253 of file plotitem.cpp.
References GetPlotTitle().
Referenced by GetPlotTitle().
| QList< QPointF > LC::Util::PlotItem::GetPoints | ( | ) | const |
Definition at line 35 of file plotitem.cpp.
| QColor LC::Util::PlotItem::GetTextColor | ( | ) | const |
Definition at line 273 of file plotitem.cpp.
References GetTextColor().
Referenced by GetTextColor().
| int LC::Util::PlotItem::GetXExtent | ( | ) | const |
Definition at line 293 of file plotitem.cpp.
References GetXExtent().
Referenced by GetXExtent().
| int LC::Util::PlotItem::GetYExtent | ( | ) | const |
Definition at line 298 of file plotitem.cpp.
References GetYExtent().
Referenced by GetYExtent().
| bool LC::Util::PlotItem::GetYGridEnabled | ( | ) | const |
Definition at line 172 of file plotitem.cpp.
References GetYGridEnabled().
Referenced by GetYGridEnabled().
| bool LC::Util::PlotItem::GetYMinorGridEnabled | ( | ) | const |
Definition at line 182 of file plotitem.cpp.
References GetYMinorGridEnabled().
Referenced by GetYMinorGridEnabled().
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
override |
Definition at line 303 of file plotitem.cpp.
References color, extentsChanged(), paint(), xExtent, and yExtent.
Referenced by paint().
|
signal |
|
signal |
| void LC::Util::PlotItem::SetAlpha | ( | double | a | ) |
Definition at line 197 of file plotitem.cpp.
References alphaChanged(), and SetAlpha().
Referenced by SetAlpha().
| void LC::Util::PlotItem::SetBackground | ( | const QColor & | bg | ) |
Definition at line 268 of file plotitem.cpp.
References backgroundChanged(), and SetBackground().
Referenced by SetBackground().
| void LC::Util::PlotItem::SetBottomAxisEnabled | ( | bool | enabled | ) |
Definition at line 228 of file plotitem.cpp.
References bottomAxisEnabledChanged(), and SetBottomAxisEnabled().
Referenced by SetBottomAxisEnabled().
| void LC::Util::PlotItem::SetBottomAxisTitle | ( | const QString & | title | ) |
Definition at line 248 of file plotitem.cpp.
References bottomAxisTitleChanged(), and SetBottomAxisTitle().
Referenced by SetBottomAxisTitle().
| void LC::Util::PlotItem::SetColor | ( | const QColor & | color | ) |
Definition at line 208 of file plotitem.cpp.
References color, colorChanged(), and SetColor().
Referenced by SetColor().
| void LC::Util::PlotItem::SetGridLinesColor | ( | const QColor & | color | ) |
Definition at line 288 of file plotitem.cpp.
References color, gridLinesColorChanged(), and SetGridLinesColor().
Referenced by SetGridLinesColor().
| void LC::Util::PlotItem::SetLeftAxisEnabled | ( | bool | enabled | ) |
Definition at line 218 of file plotitem.cpp.
References leftAxisEnabledChanged(), and SetLeftAxisEnabled().
Referenced by SetLeftAxisEnabled().
| void LC::Util::PlotItem::SetLeftAxisTitle | ( | const QString & | title | ) |
Definition at line 238 of file plotitem.cpp.
References leftAxisTitleChanged(), and SetLeftAxisTitle().
Referenced by SetLeftAxisTitle().
| void LC::Util::PlotItem::SetMaxXValue | ( | double | val | ) |
Definition at line 147 of file plotitem.cpp.
References maxXValueChanged(), and SetMaxXValue().
Referenced by SetMaxXValue().
| void LC::Util::PlotItem::SetMaxYValue | ( | double | val | ) |
Definition at line 167 of file plotitem.cpp.
References maxYValueChanged(), and SetMaxYValue().
Referenced by SetMaxYValue().
| void LC::Util::PlotItem::SetMinXValue | ( | double | val | ) |
Definition at line 137 of file plotitem.cpp.
References minXValueChanged(), and SetMinXValue().
Referenced by SetMinXValue().
| void LC::Util::PlotItem::SetMinYValue | ( | double | val | ) |
Definition at line 157 of file plotitem.cpp.
References minYValueChanged(), and SetMinYValue().
Referenced by SetMinYValue().
| void LC::Util::PlotItem::SetMultipoints | ( | const QVariant & | variant | ) |
Definition at line 78 of file plotitem.cpp.
References color, LC::Util::Map(), and points.
| void LC::Util::PlotItem::SetPlotTitle | ( | const QString & | title | ) |
Definition at line 258 of file plotitem.cpp.
References plotTitleChanged(), and SetPlotTitle().
Referenced by SetPlotTitle().
| void LC::Util::PlotItem::SetPoints | ( | const QList< QPointF > & | pts | ) |
Definition at line 40 of file plotitem.cpp.
References pointsChanged().
| void LC::Util::PlotItem::SetTextColor | ( | const QColor & | color | ) |
Definition at line 278 of file plotitem.cpp.
References color, SetTextColor(), and textColorChanged().
Referenced by SetTextColor().
| void LC::Util::PlotItem::SetYGridEnabled | ( | bool | val | ) |
Definition at line 177 of file plotitem.cpp.
References SetYGridEnabled(), and yGridChanged().
Referenced by SetYGridEnabled().
| void LC::Util::PlotItem::SetYMinorGridEnabled | ( | bool | val | ) |
Definition at line 187 of file plotitem.cpp.
References SetYMinorGridEnabled(), and yMinorGridChanged().
Referenced by SetYMinorGridEnabled().
|
signal |
|
signal |
|
signal |
|
readwrite |
Definition at line 37 of file plotitem.h.
|
readwrite |
Definition at line 46 of file plotitem.h.
|
readwrite |
Definition at line 40 of file plotitem.h.
|
readwrite |
Definition at line 42 of file plotitem.h.
|
readwrite |
Definition at line 38 of file plotitem.h.
Referenced by paint(), SetColor(), SetGridLinesColor(), SetMultipoints(), and SetTextColor().
|
readwrite |
Definition at line 48 of file plotitem.h.
|
readwrite |
Definition at line 39 of file plotitem.h.
|
readwrite |
Definition at line 41 of file plotitem.h.
|
readwrite |
Definition at line 30 of file plotitem.h.
|
readwrite |
Definition at line 32 of file plotitem.h.
|
readwrite |
Definition at line 29 of file plotitem.h.
|
readwrite |
Definition at line 31 of file plotitem.h.
|
readwrite |
Definition at line 27 of file plotitem.h.
|
readwrite |
Definition at line 44 of file plotitem.h.
|
readwrite |
Definition at line 25 of file plotitem.h.
Referenced by SetMultipoints().
|
readwrite |
Definition at line 47 of file plotitem.h.
|
read |
Definition at line 50 of file plotitem.h.
Referenced by paint().
|
read |
Definition at line 51 of file plotitem.h.
Referenced by paint().
|
readwrite |
Definition at line 34 of file plotitem.h.
|
readwrite |
Definition at line 35 of file plotitem.h.