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
|
Support Class for JKQTBasePlotter, which summarizes all properties that define the visual styling of a JKQTBasePlotter. More...
#include <jkqtpgraphsbasestyle.h>
Public Member Functions | |
JKQTGraphsBaseStyle (const JKQTBasePlotterStyle &parent) | |
const JKQTGraphsSpecificStyleProperties & | getGraphStyleByType (JKQTPPlotStyleType type) const |
returns defaultGraphStyle, barchartStyle, ..., depending on the value of type | |
void | loadSettings (const QSettings &settings, const QString &group, const JKQTGraphsBaseStyle &defaultStyle, const JKQTBasePlotterStyle &parent) |
loads the plot properties from a <a href="http://doc.qt.io/qt-5/qsettings.html")">QSettings object | |
void | saveSettings (QSettings &settings, const QString &group=QString("graphs_styling/")) const |
saves the plot properties into a <a href="http://doc.qt.io/qt-5/qsettings.html")">QSettings object. | |
Static Public Member Functions | |
static QVector< QColor > | getDefaultGraphColors () |
standard color palette for the default style | |
static QVector< JKQTFillStyleSummmary > | getDefaultGraphFillStyles () |
list of Qt::BrushStyle used to automatically style different graphs differently in the default style | |
static QVector< Qt::PenStyle > | getDefaultGraphPenStyles () |
a list of Qt::PenStyles used to automatically style different graphs differently in the default style | |
static QVector< JKQTPGraphSymbols > | getDefaultGraphSymbols () |
list of JKQTPGraphSymbols used to automatically assign to different graphs in the default style | |
Public Attributes | |
JKQTAnnotationsSpecificStyleProperties | annotationStyle |
styling options for annotation elements | |
JKQTBarchartSpecificStyleProperties | barchartStyle |
styling options for bargraph graphs | |
JKQTGraphsSpecificStyleProperties | boxplotStyle |
styling options for boxplots graphs | |
QVector< QColor > | defaultGraphColors |
colors used to automatically collor different graphs differently | |
QVector< JKQTFillStyleSummmary > | defaultGraphFillStyles |
Qt::BrushStyle used to automatically style different graphs differently. | |
QVector< Qt::PenStyle > | defaultGraphPenStyles |
Qt::PenStyle used to automatically style different graphs differently. | |
JKQTGraphsSpecificStyleProperties | defaultGraphStyle |
styling options for standard graphs | |
QVector< JKQTPGraphSymbols > | defaultGraphSymbols |
JKQTPGraphSymbols used to automatically assign to different graphs. | |
JKQTPMathImageColorPalette | defaultPalette |
color palette used by default for new graphs | |
JKQTGraphsSpecificStyleProperties | filledStyle |
styling options for filled graphs | |
JKQTFinancialSpecificStyleProperties | financialStyle |
styling options for financial elements | |
JKQTGeometricSpecificStyleProperties | geometricStyle |
styling options for geometric elements | |
JKQTImpulseSpecificStyleProperties | impulseStyle |
styling options for impulses graphs | |
bool | useAntiAliasingForGraphs |
specifies whether to use antialiasing for plotting the graphs | |
Support Class for JKQTBasePlotter, which summarizes all properties that define the visual styling of a JKQTBasePlotter.
|
explicit |
|
static |
standard color palette for the default style
|
static |
list of Qt::BrushStyle used to automatically style different graphs differently in the default style
|
static |
a list of Qt::PenStyles used to automatically style different graphs differently in the default style
|
static |
list of JKQTPGraphSymbols used to automatically assign to different graphs in the default style
const JKQTGraphsSpecificStyleProperties & JKQTGraphsBaseStyle::getGraphStyleByType | ( | JKQTPPlotStyleType | type | ) | const |
returns defaultGraphStyle, barchartStyle, ..., depending on the value of type
void JKQTGraphsBaseStyle::loadSettings | ( | const QSettings & | settings, |
const QString & | group, | ||
const JKQTGraphsBaseStyle & | defaultStyle, | ||
const JKQTBasePlotterStyle & | parent | ||
) |
loads the plot properties from a <a href="http://doc.qt.io/qt-5/qsettings.html")">QSettings object
settings | QSettings-object to read from |
group | Group in the QSettings-object to read from |
defaultStyle | If a setting cannot be found in settings, default values are taken from this object By default, this is a default-constructed object |
parent | parent JKQTBasePlotterStyle instance for inital values |
void JKQTGraphsBaseStyle::saveSettings | ( | QSettings & | settings, |
const QString & | group = QString("graphs_styling/") |
||
) | const |
saves the plot properties into a <a href="http://doc.qt.io/qt-5/qsettings.html")">QSettings object.
settings | QSettings-object to save to |
group | Group in the QSettings-object to save to |
JKQTAnnotationsSpecificStyleProperties JKQTGraphsBaseStyle::annotationStyle |
styling options for annotation elements
JKQTBarchartSpecificStyleProperties JKQTGraphsBaseStyle::barchartStyle |
styling options for bargraph graphs
JKQTGraphsSpecificStyleProperties JKQTGraphsBaseStyle::boxplotStyle |
styling options for boxplots graphs
QVector<QColor> JKQTGraphsBaseStyle::defaultGraphColors |
colors used to automatically collor different graphs differently
QVector<JKQTFillStyleSummmary> JKQTGraphsBaseStyle::defaultGraphFillStyles |
Qt::BrushStyle used to automatically style different graphs differently.
QVector<Qt::PenStyle> JKQTGraphsBaseStyle::defaultGraphPenStyles |
Qt::PenStyle used to automatically style different graphs differently.
JKQTGraphsSpecificStyleProperties JKQTGraphsBaseStyle::defaultGraphStyle |
styling options for standard graphs
QVector<JKQTPGraphSymbols> JKQTGraphsBaseStyle::defaultGraphSymbols |
JKQTPGraphSymbols used to automatically assign to different graphs.
JKQTPMathImageColorPalette JKQTGraphsBaseStyle::defaultPalette |
color palette used by default for new graphs
JKQTGraphsSpecificStyleProperties JKQTGraphsBaseStyle::filledStyle |
styling options for filled graphs
JKQTFinancialSpecificStyleProperties JKQTGraphsBaseStyle::financialStyle |
styling options for financial elements
JKQTGeometricSpecificStyleProperties JKQTGraphsBaseStyle::geometricStyle |
styling options for geometric elements
JKQTImpulseSpecificStyleProperties JKQTGraphsBaseStyle::impulseStyle |
styling options for impulses graphs
bool JKQTGraphsBaseStyle::useAntiAliasingForGraphs |
specifies whether to use antialiasing for plotting the graphs
false
to increase plotting speed of complex plots (with many graphs inside). You can reach a roughly three-fold speed improvement!