20#ifndef JKQTBASEPLOTTERSTYLE_H
21#define JKQTBASEPLOTTERSTYLE_H
23#include "jkqtplotter/jkqtptools.h"
24#include "jkqtplotter/jkqtpimagetools.h"
25#include "jkqtplotter/jkqtpcoordinateaxesstyle.h"
26#include "jkqtplotter/jkqtpkeystyle.h"
27#include "jkqtplotter/jkqtpimagetools.h"
28#include "jkqtplotter/jkqtpgraphsbasestyle.h"
29#include "jkqtplotter/jkqtplotter_imexport.h"
30#include "jkqtplotter/jkqtplotter_configmacros.h"
31#include "jkqtcommon/jkqtpdrawingtools.h"
32#include "jkqtcommon/jkqtpbasicimagetools.h"
68 void saveSettings(QSettings& settings,
const QString& group=QString(
"plots/"))
const;
Support Class for JKQTBasePlotter, which summarizes all properties that define the visual styling of ...
Definition jkqtpbaseplotterstyle.h:47
JKQTPKeyStyle keyStyle
style of the plot key/legend
Definition jkqtpbaseplotterstyle.h:164
QString CSVdecimalSeparator
the decimal separator used when exporting data to text files
Definition jkqtpbaseplotterstyle.h:89
bool plotFrameVisible
if true, JKQTBasePlotter will draw a rectangle/frame around the plot
Definition jkqtpbaseplotterstyle.h:137
int plotBorderBottom
free space between widget bottom border and plot bottom border, this property may be set by the user ...
Definition jkqtpbaseplotterstyle.h:115
double plotLabelOffset
offset of the plot label from the next element of the graph, i.e. below the label [pt].
Definition jkqtpbaseplotterstyle.h:145
double plotLabelTopBorder
offset of the plot label from the top [pt].
Definition jkqtpbaseplotterstyle.h:147
JKQTGraphsBaseStyle graphsStyle
style of the graphs
Definition jkqtpbaseplotterstyle.h:176
JKQTPColorbarCoordinateAxisStyle rightColorbarAxisStyle
style of the coordinate axes used to display colorbars in the right
Definition jkqtpbaseplotterstyle.h:172
bool debugShowTextBoxes
if set true (default: false ) the JKQTBasePlotter draws colored rectangles to indicate the outline et...
Definition jkqtpbaseplotterstyle.h:83
QString plotLabelFontName
the plot label font name
Definition jkqtpbaseplotterstyle.h:139
QColor plotLabelColor
the plot label color
Definition jkqtpbaseplotterstyle.h:143
double plotFrameWidth
if plotFrameVisible==true, JKQTBasePlotter will draw a rectangle/frame around the plot in this width ...
Definition jkqtpbaseplotterstyle.h:133
int plotBorderTop
free space between widget top border and plot top border, this property may be set by the user and is...
Definition jkqtpbaseplotterstyle.h:99
void saveSettings(QSettings &settings, const QString &group=QString("plots/")) const
saves the plot properties into a <a href="http://doc.qt.io/qt-5/qsettings.html")">QSettings object.
bool useAntiAliasingForSystem
specifies whether to use antialiasing for plotting the coordinate system
Definition jkqtpbaseplotterstyle.h:149
int plotBorderRight
free space between widget right border and plot right border, this property may be set by the user an...
Definition jkqtpbaseplotterstyle.h:123
double debugTextBoxLineWidth
width of the lines that are drawn, when debugShowTextBoxes ==true [in pixels]
Definition jkqtpbaseplotterstyle.h:85
void loadSettings(const QSettings &settings, const QString &group=QString("plots/"), const JKQTBasePlotterStyle &defaultStyle=JKQTBasePlotterStyle())
loads the plot properties from a <a href="http://doc.qt.io/qt-5/qsettings.html")">QSettings object
bool useAntiAliasingForText
specifies whether to use antialiasing when drawing any text
Definition jkqtpbaseplotterstyle.h:154
QString defaultFontName
default font name in the plot
Definition jkqtpbaseplotterstyle.h:160
double plotLabelFontSize
the plot label font size [pt]
Definition jkqtpbaseplotterstyle.h:141
double defaultFontSize
default font size in the plot [pt]
Definition jkqtpbaseplotterstyle.h:158
QColor plotFrameColor
if plotFrameVisible==true, JKQTBasePlotter will draw a rectangle/frame around the plot in this color
Definition jkqtpbaseplotterstyle.h:131
QBrush widgetBackgroundBrush
color of the background of the plot (widget area) when drawing (to the screen)
Definition jkqtpbaseplotterstyle.h:125
QColor defaultTextColor
default text color in the plot
Definition jkqtpbaseplotterstyle.h:156
double plotFrameRounding
if plotFrameVisible==true, JKQTBasePlotter will draw a rectangle/frame around the plot,...
Definition jkqtpbaseplotterstyle.h:135
int plotBorderLeft
free space between widget left border and plot left border, this property may be set by the user and ...
Definition jkqtpbaseplotterstyle.h:107
JKQTPCoordinateAxisStyle yAxisStyle
style of the y-axis of the main coordinate system
Definition jkqtpbaseplotterstyle.h:168
JKQTPCoordinateAxisStyle xAxisStyle
style of the x-axis of the main coordinate system
Definition jkqtpbaseplotterstyle.h:166
QBrush exportBackgroundBrush
color of the background of the plot (widget area) when exporting
Definition jkqtpbaseplotterstyle.h:127
QBrush plotBackgroundBrush
color of the plot's background (i.e. of the area within the coordinate axes rectangle)
Definition jkqtpbaseplotterstyle.h:129
double secondaryAxisSeparation
separation between two seondary axes in pt
Definition jkqtpbaseplotterstyle.h:170
double debugRegionLineWidth
width of the lines that are drawn, when debugShowRegionBoxes ==true [in pixels]
Definition jkqtpbaseplotterstyle.h:77
bool debugShowRegionBoxes
if set true (default: false ) the JKQTBasePlotter draws colored rectangles to indicate the different ...
Definition jkqtpbaseplotterstyle.h:75
QString CSVcommentInitializer
this string is used to introduce comments in text output when exporting data
Definition jkqtpbaseplotterstyle.h:91
JKQTPColorbarCoordinateAxisStyle topColorbarAxisStyle
style of the coordinate axes used to display colorbars at the top
Definition jkqtpbaseplotterstyle.h:174
Support Class for JKQTBasePlotter, which summarizes all properties that define the visual styling of ...
Definition jkqtpgraphsbasestyle.h:386
Support Class for JKQTPCoordinateAxis, which summarizes all properties that define the visual styling...
Definition jkqtpcoordinateaxesstyle.h:258
Support Class for JKQTPCoordinateAxis, which summarizes all properties that define the visual styling...
Definition jkqtpcoordinateaxesstyle.h:87
Support Class for JKQTBasePlotter, which summarizes all properties that define the visual styling of ...
Definition jkqtpkeystyle.h:49
JKQTPLOTTER_LIB_EXPORT JKQTBasePlotterStyle & JKQTPGetSystemDefaultBaseStyle()
returns the system-wide default JKQTPlotterStyle
JKQTPLOTTER_LIB_EXPORT void JKQTPSetSystemDefaultBaseStyle(JKQTBasePlotterStyle &newStyle)
replaces the system-wide default JKQTPlotterStyle with the given newStyle
#define JKQTPLOTTER_LIB_EXPORT
Definition jkqtplotter_imexport.h:89