![]() |
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 graphs. More...
#include <jkqtpgraphsbasestyle.h>
Public Member Functions | |
| JKQTGraphsSpecificStyleProperties (const JKQTGraphsSpecificStyleProperties &other)=default | |
| JKQTGraphsSpecificStyleProperties (JKQTGraphsSpecificStyleProperties &&other)=default | |
| JKQTGraphsSpecificStyleProperties (JKQTPPlotStyleType type, const JKQTBasePlotterStyle &parent) | |
| initializes the object for the given type and takes some properties from the parent | |
| JKQTGraphsSpecificStyleProperties (JKQTPPlotStyleType type, const JKQTGraphsSpecificStyleProperties &other) | |
| initializes the object as a copy of other, but modified some properties for the given type | |
| void | loadSettings (const QSettings &settings, const QString &group, const JKQTGraphsSpecificStyleProperties &defaultStyle) |
| loads the plot properties from a <a href="http://doc.qt.io/qt-5/qsettings.html")">QSettings object | |
| JKQTGraphsSpecificStyleProperties & | operator= (const JKQTGraphsSpecificStyleProperties &other)=default |
| JKQTGraphsSpecificStyleProperties & | operator= (JKQTGraphsSpecificStyleProperties &&other)=default |
| void | saveSettings (QSettings &settings, const QString &group) const |
| saves the plot properties into a <a href="http://doc.qt.io/qt-5/qsettings.html")">QSettings object. | |
Public Attributes | |
| double | defaultErrorIndicatorWidth |
| width (in pt) of lines used for the error indicators of newly added graphs | |
| double | defaultHeadDecoratorSizeFactor |
| head decorator size-factor, used to calculate the size of the arrow from the line width | |
| JKQTPLineDecoratorStyle | defaultHeadDecoratorStyle |
| head decorator style | |
| double | defaultLineWidth |
| width (in pt) of lines used for newly added graphs | |
| double | defaultSymbolLineWidth |
| width (in pt) of the outline of symbols used for newly added graphs | |
| double | defaultSymbolSize |
| size (in pt) of symbols used for newly added graphs | |
| JKQTPColorDerivationMode | errorColorDerivationMode |
| defines how to derive an error color for a new graph | |
| JKQTPColorDerivationMode | errorFillColorDerivationMode |
| defines how to derive an error fill color from the error color for a new graph | |
| Qt::BrushStyle | errorFillStyle |
| JKQTPColorDerivationMode | fillColorDerivationMode |
| defines how to derive a fill color for a new graph | |
| JKQTPColorDerivationMode | graphColorDerivationMode |
| defines how to derive the basic graph color for a new graph from the color selected from JKQTGraphsBaseStyle::defaultGraphColors | |
| JKQTPColorDerivationMode | symbolFillColorDerivationMode |
| defines how to derive a symbol fill color for a new graph | |
Private Member Functions | |
| void | modifyForDefaultStyle (JKQTPPlotStyleType type) |
| modifies some of the settings to match the defaults for the given JKQTPPlotStyleType (e.g. sets line-width for impulses ...) | |
Support Class for JKQTBasePlotter, which summarizes all properties that define the visual styling of graphs.
| JKQTGraphsSpecificStyleProperties::JKQTGraphsSpecificStyleProperties | ( | JKQTPPlotStyleType | type, |
| const JKQTBasePlotterStyle & | parent ) |
initializes the object for the given type and takes some properties from the parent
| JKQTGraphsSpecificStyleProperties::JKQTGraphsSpecificStyleProperties | ( | JKQTPPlotStyleType | type, |
| const JKQTGraphsSpecificStyleProperties & | other ) |
initializes the object as a copy of other, but modified some properties for the given type
|
default |
|
default |
| void JKQTGraphsSpecificStyleProperties::loadSettings | ( | const QSettings & | settings, |
| const QString & | group, | ||
| const JKQTGraphsSpecificStyleProperties & | defaultStyle ) |
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 |
|
private |
modifies some of the settings to match the defaults for the given JKQTPPlotStyleType (e.g. sets line-width for impulses ...)
|
default |
|
default |
| void JKQTGraphsSpecificStyleProperties::saveSettings | ( | QSettings & | settings, |
| const QString & | group ) 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 |
| double JKQTGraphsSpecificStyleProperties::defaultErrorIndicatorWidth |
width (in pt) of lines used for the error indicators of newly added graphs
| double JKQTGraphsSpecificStyleProperties::defaultHeadDecoratorSizeFactor |
head decorator size-factor, used to calculate the size of the arrow from the line width
| JKQTPLineDecoratorStyle JKQTGraphsSpecificStyleProperties::defaultHeadDecoratorStyle |
head decorator style
| double JKQTGraphsSpecificStyleProperties::defaultLineWidth |
width (in pt) of lines used for newly added graphs
| double JKQTGraphsSpecificStyleProperties::defaultSymbolLineWidth |
width (in pt) of the outline of symbols used for newly added graphs
| double JKQTGraphsSpecificStyleProperties::defaultSymbolSize |
size (in pt) of symbols used for newly added graphs
| JKQTPColorDerivationMode JKQTGraphsSpecificStyleProperties::errorColorDerivationMode |
defines how to derive an error color for a new graph
| JKQTPColorDerivationMode JKQTGraphsSpecificStyleProperties::errorFillColorDerivationMode |
defines how to derive an error fill color from the error color for a new graph
| Qt::BrushStyle JKQTGraphsSpecificStyleProperties::errorFillStyle |
\↓brief fill style for error indicators
| JKQTPColorDerivationMode JKQTGraphsSpecificStyleProperties::fillColorDerivationMode |
defines how to derive a fill color for a new graph
| JKQTPColorDerivationMode JKQTGraphsSpecificStyleProperties::graphColorDerivationMode |
defines how to derive the basic graph color for a new graph from the color selected from JKQTGraphsBaseStyle::defaultGraphColors
This property is usually JKQTPFFCMSameColor, but can be changed to allow to e.g. fill barcharts always with a lighter color than the full color ...
| JKQTPColorDerivationMode JKQTGraphsSpecificStyleProperties::symbolFillColorDerivationMode |
defines how to derive a symbol fill color for a new graph