改进代码

This commit is contained in:
feiyangqingyun
2021-10-08 10:52:05 +08:00
parent f6923b97a2
commit 200b7eeafb
171 changed files with 2894 additions and 1940 deletions

View File

@@ -36,7 +36,7 @@ class QPolygonF;
\sa QwtPlotBarChart, QwtPlotMultiBarChart
*/
class QWT_EXPORT QwtPlotHistogram:
class QWT_EXPORT QwtPlotHistogram:
public QwtPlotSeriesItem, public QwtSeriesStore<QwtIntervalSample>
{
public:
@@ -58,7 +58,7 @@ public:
/*!
Draw a column for each interval. When a symbol() has been set
the symbol is used otherwise the column is displayed as
the symbol is used otherwise the column is displayed as
plain rectangle using pen() and brush().
*/
Columns,
@@ -76,7 +76,7 @@ public:
UserStyle = 100
};
explicit QwtPlotHistogram( const QString &title = QString::null );
explicit QwtPlotHistogram( const QString &title = QString() );
explicit QwtPlotHistogram( const QwtText &title );
virtual ~QwtPlotHistogram();
@@ -92,7 +92,7 @@ public:
void setSamples( const QVector<QwtIntervalSample> & );
void setSamples( QwtSeriesData<QwtIntervalSample> * );
void setBaseline( double reference );
void setBaseline( double );
double baseline() const;
void setStyle( HistogramStyle style );
@@ -101,7 +101,7 @@ public:
void setSymbol( const QwtColumnSymbol * );
const QwtColumnSymbol *symbol() const;
virtual void drawSeries( QPainter *p,
virtual void drawSeries( QPainter *,
const QwtScaleMap &xMap, const QwtScaleMap &yMap,
const QRectF &canvasRect, int from, int to ) const;