20#ifndef jkqtpgeobase_H_INCLUDED
21#define jkqtpgeobase_H_INCLUDED
27#include "jkqtplotter/graphs/jkqtpscatter.h"
28#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"
29#include "jkqtplotter/jkqtptools.h"
30#include "jkqtplotter/jkqtplotter_imexport.h"
31#include "jkqtmathtext/jkqtmathtext.h"
54 virtual void setStyle(QColor color, Qt::PenStyle style);
105 virtual void setStyle(QColor color, Qt::PenStyle style);
153 virtual void setStyle(QColor color, Qt::PenStyle style);
190 virtual void setAlpha(
float alphaLine,
float alphaFill);
200 virtual void setStyle(QColor color, Qt::PenStyle style)
override;
base class for 2D plotter classes (used by the plotter widget JKQTPlotter)
Definition jkqtpbaseplotter.h:394
Support Class for JKQTBasePlotter, which summarizes a fill style.
Definition jkqtpgraphsbasestyle.h:47
this class extends the QPainter
Definition jkqtpenhancedpainter.h:33
JKQTPGeoBaseDecoratedHeadLine(JKQTPLineDecoratorStyle headStyle, JKQTBasePlotter *parent, DrawMode drawMode=DrawAsGraphicElement)
class contructor
virtual void setStyle(QColor color, double lineWidth, Qt::PenStyle style)
set several of the style properties with one call
virtual void setColor(QColor c)
set line color
virtual QColor getKeyLabelColor() const override
returns the color to be used for the key label
virtual void setStyle(QColor color, Qt::PenStyle style)
set several of the style properties with one call
virtual void setStyle(QColor color, double lineWidth)
set several of the style properties with one call
virtual void setAlpha(float alpha)
sets the alpha-channel of the color (i.e. its transparency)
JKQTPGeoBaseDecoratedHeadLine(JKQTBasePlotter *parent, DrawMode drawMode=DrawAsGraphicElement)
class contructor
virtual void drawKeyMarker(JKQTPEnhancedPainter &painter, const QRectF &rect) override
plots a key marker inside the specified rectangle rect
virtual void setStyle(QColor color, Qt::PenStyle style)
set several of the style properties with one call
JKQTPGeoBaseDecoratedLine(JKQTPLineDecoratorStyle headStyle, JKQTPLineDecoratorStyle tailStyle, JKQTBasePlotter *parent, DrawMode drawMode=DrawAsGraphicElement)
class contructor
virtual void setColor(QColor c)
set line color
virtual void setStyle(QColor color, double lineWidth, Qt::PenStyle style)
set several of the style properties with one call
virtual void setStyle(QColor color, double lineWidth)
set several of the style properties with one call
JKQTPGeoBaseDecoratedLine(JKQTBasePlotter *parent, DrawMode drawMode=DrawAsGraphicElement)
class contructor
virtual void setAlpha(float alpha)
sets the alpha-channel of the color (i.e. its transparency)
virtual QColor getKeyLabelColor() const override
returns the color to be used for the key label
virtual void drawKeyMarker(JKQTPEnhancedPainter &painter, const QRectF &rect) override
plots a key marker inside the specified rectangle rect
JKQTPGeoBaseFilled(JKQTBasePlotter *parent, DrawMode drawMode=DrawAsGraphicElement)
class contructor
void setStyleTransparentFill(QColor color, double lineWidth, Qt::PenStyle style)
set several of the style properties with one call, sets fill to transparent
virtual void setStyle(QColor color, Qt::PenStyle style) override
set several of the style properties with one call
void setStyle(QColor color, QColor fillColor)
set several of the style properties with one call
virtual void setStyle(QColor color, double lineWidth) override
set several of the style properties with one call
virtual void setAlpha(float alpha) override
sets the alpha-channel of the color and fillColor (i.e. its transparency) to the same value
void setStyleTransparentFill(QColor color, double lineWidth)
set several of the style properties with one call, sets fill to transparent
virtual void setStyle(QColor color, double lineWidth, Qt::PenStyle style, QColor fillColor, const JKQTFillStyleSummmary &fillStyle)
set several of the style properties with one call
virtual void drawKeyMarker(JKQTPEnhancedPainter &painter, const QRectF &rect) override
plots a key marker inside the specified rectangle rect
virtual void setStyle(QColor color, double lineWidth, Qt::PenStyle style, QColor fillColor, Qt::BrushStyle fillStyle)
set several of the style properties with one call
void setStyleTransparentFill(QColor color, Qt::PenStyle style)
set several of the style properties with one call, sets fill to transparent
virtual void setStyle(QColor color, double lineWidth, Qt::PenStyle style) override
set several of the style properties with one call
void setStyleTransparentFill(QColor color)
set several of the style properties with one call, sets fill to transparent
virtual void setAlpha(float alphaLine, float alphaFill)
sets the alpha-channel of the color and fillColor (i.e. its transparency)
virtual void setColor(QColor c) override
set line and fill color
virtual void setStyle(QColor color, Qt::PenStyle style)
set several of the style properties with one call
JKQTPGeoBaseLine(JKQTBasePlotter *parent, DrawMode drawMode=DrawAsGraphicElement)
class contructor
virtual void setStyle(QColor color, double lineWidth)
set several of the style properties with one call
virtual void drawKeyMarker(JKQTPEnhancedPainter &painter, const QRectF &rect) override
plots a key marker inside the specified rectangle rect
virtual void setStyle(QColor color, double lineWidth, Qt::PenStyle style)
set several of the style properties with one call
virtual QColor getKeyLabelColor() const override
returns the color to be used for the key label
virtual void setColor(QColor c)
set line color
virtual void setAlpha(float alpha)
sets the alpha-channel of the color (i.e. its transparency)
DrawMode
indicates how to draw the geometric object
Definition jkqtpgraphsbase.h:496
@ DrawAsGraphicElement
draw lines as lines (i.e. graphic elements)
Definition jkqtpgraphsbase.h:497
DrawMode drawMode
Definition jkqtpgraphsbase.h:514
JKQTPGeometricPlotElement(DrawMode drawMode=DrawAsGraphicElement, JKQTBasePlotter *parent=nullptr)
class constructor
JKQTPGraphDecoratedHeadLineStyleMixin()
class constructor
JKQTPGraphDecoratedLineStyleMixin()
class constructor
JKQTPGraphFillStyleMixin()
class constructor
QColor fillColor
Definition jkqtpgraphsbasestylingmixins.h:577
Qt::BrushStyle fillStyle
Definition jkqtpgraphsbasestylingmixins.h:576
JKQTPGraphLineStyleMixin()
class constructor
double lineWidth
Definition jkqtpgraphsbasestylingmixins.h:151
JKQTBasePlotter * parent
the plotter object this object belongs to
Definition jkqtpgraphsbase.h:386
#define JKQTPLOTTER_LIB_EXPORT
Definition jkqtplotter_imexport.h:89