本页内容

QBarLegendMarker Class

QBarLegendMarker 类是条形系列图的图例标记。更多内容...

Header: #include <QBarLegendMarker>
Inherits: QLegendMarker
Status: Deprecated

该类已弃用。我们强烈建议不要在新的代码中使用它。

公共函数

virtual ~QBarLegendMarker()
QBarSet *barset()

重新实现的公共函数

virtual QAbstractBarSeries *series() override
virtual QLegendMarker::LegendMarkerType type() override

详细说明

条形图图例标记与QAbstractBarSeries 的派生类相关。对于一个条形系列,每个标记都与一个QBarSet 相关。

另请参阅 QLegend 、QAbstractBarSeries 和QBarSet 。

成员函数文档

[virtual noexcept] QBarLegendMarker::~QBarLegendMarker()

删除条形图集的图例标记。

QBarSet *QBarLegendMarker::barset()

返回与该标记相关的条形集。

[override virtual] QAbstractBarSeries *QBarLegendMarker::series()

重写了:QLegendMarker::series()。

[override virtual] QLegendMarker::LegendMarkerType QBarLegendMarker::type()

重写了:QLegendMarker::type()。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.