27#ifndef QWT_PLOT_GRID_H
28#define QWT_PLOT_GRID_H
30#include "qwt_global.h"
31#include "qwt_plot_item.h"
60 virtual int rtti()
const override;
66 bool xEnabled()
const;
72 bool yEnabled()
const;
75 void enableXMin(
bool);
78 bool xMinEnabled()
const;
81 void enableYMin(
bool);
84 bool yMinEnabled()
const;
99 void setPen(
const QColor&, qreal width = 0.0, Qt::PenStyle = Qt::SolidLine);
102 void setPen(
const QPen&);
105 void setMajorPen(
const QColor&, qreal width = 0.0, Qt::PenStyle = Qt::SolidLine);
108 void setMajorPen(
const QPen&);
111 const QPen& majorPen()
const;
114 void setMinorPen(
const QColor&, qreal width = 0.0, Qt::PenStyle = Qt::SolidLine);
117 void setMinorPen(
const QPen&);
120 const QPen& minorPen()
const;
A class which draws a coordinate grid.
Definition qwt_plot_grid.h:51
Base class for items on the plot canvas.
Definition qwt_plot_item.h:85
virtual void draw(QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const =0
Draw the item.
virtual int rtti() const
Runtime type information.
Definition qwt_plot_item.cpp:155
virtual void updateScaleDiv(const QwtScaleDiv &, const QwtScaleDiv &)
Update the item with new scale divisions.
Definition qwt_plot_item.cpp:673
A class representing a scale division.
Definition qwt_scale_div.h:47
A scale map.
Definition qwt_scale_map.h:44