改进代码
This commit is contained in:
@@ -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 *,
|
||||
|
||||
Reference in New Issue
Block a user