改进代码

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

@@ -21,11 +21,11 @@
\brief Attributes of an entry on a legend
QwtLegendData is an abstract container ( like QAbstractModel )
to exchange attributes, that are only known between to
the plot item and the legend.
to exchange attributes, that are only known between to
the plot item and the legend.
By overloading QwtPlotItem::legendData() any other set of attributes
could be used, that can be handled by a modified ( or completely
could be used, that can be handled by a modified ( or completely
different ) implementation of a legend.
\sa QwtLegend, QwtPlotLegendItem
@@ -52,13 +52,13 @@ public:
enum Role
{
// The value is a Mode
ModeRole,
ModeRole,
// The value is a title
TitleRole,
TitleRole,
// The value is an icon
IconRole,
IconRole,
// Values < UserRole are reserved for internal use
UserRole = 32