Image Component Library (ICL)
|
Utility structure for styles usend in subclasses. More...
#include <AbstractPlotWidget.h>
Public Member Functions | |
Pen (const QPen &linePen=Qt::NoPen, const QPen &symbolPen=Qt::NoPen, char symbol=' ', int symbolSize=5, const QBrush &fillBrush=Qt::NoBrush) | |
creates a row style with given parameters More... | |
Public Attributes | |
QPen | linePen |
pen for line structures More... | |
QPen | symbolPen |
pen for symbols More... | |
char | symbol |
symbol More... | |
int | symbolSize |
symbol size (in pixels, point symbols are always size 1) More... | |
QBrush | fillBrush |
fill brush (this is e.g. used to fill the area beyond a function graph) More... | |
Utility structure for styles usend in subclasses.
|
inline |
creates a row style with given parameters
Use Qt::NoPen or Qt::NoBrush to deactivate specific things Supported Symbol types are: / available symbol types
Note: in the most simple case, QPen and QBrush have just a color attribute, which is allo supported by an extra constructor. So in order to create red lines, you can just pass a QColor instance, where a QPen is expected. E.g.
creates a red line Pen, that that draws green 'x'-Symbols
QBrush icl::qt::AbstractPlotWidget::Pen::fillBrush |
fill brush (this is e.g. used to fill the area beyond a function graph)
QPen icl::qt::AbstractPlotWidget::Pen::linePen |
pen for line structures
char icl::qt::AbstractPlotWidget::Pen::symbol |
symbol
QPen icl::qt::AbstractPlotWidget::Pen::symbolPen |
pen for symbols
int icl::qt::AbstractPlotWidget::Pen::symbolSize |
symbol size (in pixels, point symbols are always size 1)