改进代码

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

@@ -123,7 +123,7 @@ public:
//! For QwtPlotZoneItem
Rtti_PlotZone,
/*!
/*!
Values >= Rtti_PlotUserItem are reserved for plot items
not implemented in the Qwt library.
*/
@@ -134,9 +134,9 @@ public:
\brief Plot Item Attributes
Various aspects of a plot widget depend on the attributes of
the attached plot items. If and how a single plot item
the attached plot items. If and how a single plot item
participates in these updates depends on its attributes.
\sa setItemAttribute(), testItemAttribute(), ItemInterest
*/
enum ItemAttribute
@@ -153,7 +153,7 @@ public:
/*!
The item needs extra space to display something outside
its bounding rectangle.
its bounding rectangle.
\sa getCanvasMarginHint()
*/
Margins = 0x04
@@ -174,13 +174,13 @@ public:
*/
enum ItemInterest
{
/*!
/*!
The item is interested in updates of the scales
\sa updateScaleDiv()
*/
ScaleInterest = 0x01,
/*!
/*!
The item is interested in updates of the legend ( of other items )
This flag is intended for items, that want to implement a legend
for displaying entries of other plot item.
@@ -268,12 +268,12 @@ public:
virtual QRectF boundingRect() const;
virtual void getCanvasMarginHint(
virtual void getCanvasMarginHint(
const QwtScaleMap &xMap, const QwtScaleMap &yMap,
const QRectF &canvasSize,
const QRectF &canvasRect,
double &left, double &top, double &right, double &bottom) const;
virtual void updateScaleDiv(
virtual void updateScaleDiv(
const QwtScaleDiv&, const QwtScaleDiv& );
virtual void updateLegend( const QwtPlotItem *,