10#ifndef QWT_PLOT_STYLING_H
11#define QWT_PLOT_STYLING_H
13#include "qwt_global.h"
14#include "qwt_symbol.h"
55 static QColor color(
const QwtPlotItem* item,
const QColor& defaultColor = QColor());
58 static bool setColor(
QwtPlotItem* item,
const QColor& color);
66 static bool setPen(
QwtPlotItem* item,
const QPen& pen);
74 static bool setBrush(
QwtPlotItem* item,
const QBrush& brush);
87 static void setLineStyle(
QwtPlotCurve* curve, Qt::PenStyle style, qreal width = 0.0);
92 static qreal recommendPenWidth(
int pointCount);
97 static void forceReplot(
QwtPlot* plot);
A plot item, that represents a series of points
Definition qwt_plot_curve.h:75
Base class for items on the plot canvas
Definition qwt_plot_item.h:85
Utility class for reading and writing visual style properties of QwtPlotItem
Definition qwt_plot_styling.h:50
A 2-D plotting widget
Definition qwt_plot.h:99
Style
Symbol Style
Definition qwt_symbol.h:58