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
Loading...
Searching...
No Matches

Support Class for JKQTBasePlotter, which summarizes all properties that define the visual styling of annotation elements. More...

#include <jkqtpgraphsbasestyle.h>

Inheritance diagram for JKQTAnnotationsSpecificStyleProperties:
[legend]
Collaboration diagram for JKQTAnnotationsSpecificStyleProperties:
[legend]

Public Member Functions

 JKQTAnnotationsSpecificStyleProperties (const JKQTAnnotationsSpecificStyleProperties &other)=default
 
 JKQTAnnotationsSpecificStyleProperties (const JKQTBasePlotterStyle &parent)
 
 JKQTAnnotationsSpecificStyleProperties (const JKQTBasePlotterStyle &parent, const JKQTGraphsSpecificStyleProperties &other)
 
 JKQTAnnotationsSpecificStyleProperties (JKQTAnnotationsSpecificStyleProperties &&other)=default
 
void loadSettings (const QSettings &settings, const QString &group, const JKQTAnnotationsSpecificStyleProperties &defaultStyle)
 loads the plot properties from a <a href="http://doc.qt.io/qt-5/qsettings.html")">QSettings object
 
JKQTAnnotationsSpecificStylePropertiesoperator= (const JKQTAnnotationsSpecificStyleProperties &other)=default
 
JKQTAnnotationsSpecificStylePropertiesoperator= (JKQTAnnotationsSpecificStyleProperties &&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 Member Functions inherited from JKQTGeometricSpecificStyleProperties
 JKQTGeometricSpecificStyleProperties (const JKQTBasePlotterStyle &parent)
 
 JKQTGeometricSpecificStyleProperties (const JKQTBasePlotterStyle &parent, const JKQTGraphsSpecificStyleProperties &other)
 
 JKQTGeometricSpecificStyleProperties (const JKQTGeometricSpecificStyleProperties &other)=default
 
 JKQTGeometricSpecificStyleProperties (JKQTGeometricSpecificStyleProperties &&other)=default
 
 JKQTGeometricSpecificStyleProperties (JKQTPPlotStyleType type, const JKQTBasePlotterStyle &parent)
 
 JKQTGeometricSpecificStyleProperties (JKQTPPlotStyleType type, const JKQTGraphsSpecificStyleProperties &other, const JKQTBasePlotterStyle &parent)
 
void loadSettings (const QSettings &settings, const QString &group, const JKQTGeometricSpecificStyleProperties &defaultStyle)
 loads the plot properties from a <a href="http://doc.qt.io/qt-5/qsettings.html")">QSettings object
 
JKQTGeometricSpecificStylePropertiesoperator= (const JKQTGeometricSpecificStyleProperties &other)=default
 
JKQTGeometricSpecificStylePropertiesoperator= (JKQTGeometricSpecificStyleProperties &&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 Member Functions inherited from JKQTGraphsSpecificStyleProperties
 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
 
JKQTGraphsSpecificStylePropertiesoperator= (const JKQTGraphsSpecificStyleProperties &other)=default
 
JKQTGraphsSpecificStylePropertiesoperator= (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

QString defaultFontName
 default font name in the plot
 
double defaultFontSize
 default font size in the plot [pt]
 
QColor defaultTextColor
 default text color in the plot
 
- Public Attributes inherited from JKQTGeometricSpecificStyleProperties
QColor defaultColor
 graph color used
 
JKQTFillStyleSummmary defaultFillStyle
 graph fill style used
 
Qt::PenStyle defaultLineStyle
 graph line style used
 
JKQTPGraphSymbols defaultSymbol
 graph symbol used
 
- Public Attributes inherited from JKQTGraphsSpecificStyleProperties
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
 

Detailed Description

Support Class for JKQTBasePlotter, which summarizes all properties that define the visual styling of annotation elements.

See also
JKQTBasePlotter, Styling System

Constructor & Destructor Documentation

◆ JKQTAnnotationsSpecificStyleProperties() [1/4]

JKQTAnnotationsSpecificStyleProperties::JKQTAnnotationsSpecificStyleProperties ( const JKQTBasePlotterStyle parent)
explicit

◆ JKQTAnnotationsSpecificStyleProperties() [2/4]

JKQTAnnotationsSpecificStyleProperties::JKQTAnnotationsSpecificStyleProperties ( const JKQTBasePlotterStyle parent,
const JKQTGraphsSpecificStyleProperties other 
)

◆ JKQTAnnotationsSpecificStyleProperties() [3/4]

JKQTAnnotationsSpecificStyleProperties::JKQTAnnotationsSpecificStyleProperties ( const JKQTAnnotationsSpecificStyleProperties other)
default

◆ JKQTAnnotationsSpecificStyleProperties() [4/4]

JKQTAnnotationsSpecificStyleProperties::JKQTAnnotationsSpecificStyleProperties ( JKQTAnnotationsSpecificStyleProperties &&  other)
default

Member Function Documentation

◆ loadSettings()

void JKQTAnnotationsSpecificStyleProperties::loadSettings ( const QSettings &  settings,
const QString &  group,
const JKQTAnnotationsSpecificStyleProperties defaultStyle 
)

loads the plot properties from a <a href="http://doc.qt.io/qt-5/qsettings.html")">QSettings object

Parameters
settingsQSettings-object to read from
groupGroup in the QSettings-object to read from
defaultStyleIf a setting cannot be found in settings, default values are taken from this object By default, this is a default-constructed object

◆ operator=() [1/2]

JKQTAnnotationsSpecificStyleProperties & JKQTAnnotationsSpecificStyleProperties::operator= ( const JKQTAnnotationsSpecificStyleProperties other)
default

◆ operator=() [2/2]

JKQTAnnotationsSpecificStyleProperties & JKQTAnnotationsSpecificStyleProperties::operator= ( JKQTAnnotationsSpecificStyleProperties &&  other)
default

◆ saveSettings()

void JKQTAnnotationsSpecificStyleProperties::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.

Parameters
settingsQSettings-object to save to
groupGroup in the QSettings-object to save to

Member Data Documentation

◆ defaultFontName

QString JKQTAnnotationsSpecificStyleProperties::defaultFontName

default font name in the plot

◆ defaultFontSize

double JKQTAnnotationsSpecificStyleProperties::defaultFontSize

default font size in the plot [pt]

◆ defaultTextColor

QColor JKQTAnnotationsSpecificStyleProperties::defaultTextColor

default text color in the plot


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