qbarlegendmarker_p.h
64 lines
| 1.8 KiB
| text/x-c
|
CLexer
|
r2174 | /**************************************************************************** | ||
** | ||||
|
r2776 | ** Copyright (C) 2015 The Qt Company Ltd | ||
|
r2174 | ** All rights reserved. | ||
|
r2776 | ** For any questions to The Qt Company, please use contact form at http://qt.io | ||
|
r2174 | ** | ||
|
r2740 | ** This file is part of the Qt Charts module. | ||
|
r2174 | ** | ||
|
r2740 | ** Licensees holding valid commercial license for Qt may use this file in | ||
** accordance with the Qt License Agreement provided with the Software | ||||
** or, alternatively, in accordance with the terms contained in a written | ||||
|
r2776 | ** agreement between you and The Qt Company. | ||
|
r2174 | ** | ||
** If you have questions regarding the use of this file, please use | ||||
|
r2740 | ** contact form at http://qt.io | ||
|
r2174 | ** | ||
****************************************************************************/ | ||||
// W A R N I N G | ||||
// ------------- | ||||
// | ||||
|
r2574 | // This file is not part of the Qt Enterprise Chart API. It exists purely as an | ||
|
r2174 | // implementation detail. This header file may change from version to | ||
// version without notice, or even be removed. | ||||
// | ||||
// We mean it. | ||||
#ifndef QBARLEGENDMARKER_P_H | ||||
#define QBARLEGENDMARKER_P_H | ||||
|
r2714 | #include <QtCharts/QChartGlobal> | ||
#include <private/qlegendmarker_p.h> | ||||
#include <private/legendmarkeritem_p.h> | ||||
#include <QtCharts/QAbstractBarSeries> | ||||
#include <QtCharts/QBarSet> | ||||
|
r2174 | |||
|
r2712 | QT_CHARTS_BEGIN_NAMESPACE | ||
|
r2174 | |||
class QBarLegendMarker; | ||||
class QBarLegendMarkerPrivate : public QLegendMarkerPrivate | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
explicit QBarLegendMarkerPrivate(QBarLegendMarker *q, QAbstractBarSeries *series, QBarSet *barset, QLegend *legend); | ||||
virtual ~QBarLegendMarkerPrivate(); | ||||
|
r2182 | virtual QAbstractBarSeries* series(); | ||
virtual QObject* relatedObject(); | ||||
|
r2174 | public Q_SLOTS: | ||
virtual void updated(); | ||||
private: | ||||
QBarLegendMarker *q_ptr; | ||||
|
r2193 | QAbstractBarSeries *m_series; | ||
QBarSet *m_barset; | ||||
|
r2174 | |||
Q_DECLARE_PUBLIC(QBarLegendMarker) | ||||
}; | ||||
|
r2712 | QT_CHARTS_END_NAMESPACE | ||
|
r2174 | |||
#endif // QBARLEGENDMARKER_P_H | ||||