qpielegendmarker_p.h
66 lines
| 1.8 KiB
| text/x-c
|
CLexer
sauimone
|
r2166 | /**************************************************************************** | ||
** | ||||
Titta Heikkala
|
r2776 | ** Copyright (C) 2015 The Qt Company Ltd | ||
sauimone
|
r2166 | ** All rights reserved. | ||
Titta Heikkala
|
r2776 | ** For any questions to The Qt Company, please use contact form at http://qt.io | ||
sauimone
|
r2166 | ** | ||
Titta Heikkala
|
r2740 | ** This file is part of the Qt Charts module. | ||
sauimone
|
r2166 | ** | ||
Titta Heikkala
|
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 | ||||
Titta Heikkala
|
r2776 | ** agreement between you and The Qt Company. | ||
sauimone
|
r2166 | ** | ||
** If you have questions regarding the use of this file, please use | ||||
Titta Heikkala
|
r2740 | ** contact form at http://qt.io | ||
sauimone
|
r2166 | ** | ||
****************************************************************************/ | ||||
// W A R N I N G | ||||
// ------------- | ||||
// | ||||
Titta Heikkala
|
r2807 | // This file is not part of the Qt Chart API. It exists purely as an | ||
sauimone
|
r2166 | // implementation detail. This header file may change from version to | ||
// version without notice, or even be removed. | ||||
// | ||||
// We mean it. | ||||
#ifndef QPIELEGENDMARKER_P_H | ||||
#define QPIELEGENDMARKER_P_H | ||||
Titta Heikkala
|
r2714 | #include <QtCharts/QChartGlobal> | ||
#include <private/qlegendmarker_p.h> | ||||
#include <private/legendmarkeritem_p.h> | ||||
#include <QtCharts/QPieSeries> | ||||
#include <QtCharts/QPieSlice> | ||||
sauimone
|
r2167 | |||
Titta Heikkala
|
r2712 | QT_CHARTS_BEGIN_NAMESPACE | ||
sauimone
|
r2166 | |||
class QPieLegendMarker; | ||||
class QPieLegendMarkerPrivate : public QLegendMarkerPrivate | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
sauimone
|
r2171 | explicit QPieLegendMarkerPrivate(QPieLegendMarker *q, QPieSeries *series, QPieSlice *slice, QLegend *legend); | ||
sauimone
|
r2166 | virtual ~QPieLegendMarkerPrivate(); | ||
sauimone
|
r2182 | // internal | ||
virtual QPieSeries* series(); | ||||
virtual QObject* relatedObject(); | ||||
sauimone
|
r2166 | public Q_SLOTS: | ||
sauimone
|
r2167 | virtual void updated(); | ||
sauimone
|
r2166 | |||
private: | ||||
QPieLegendMarker *q_ptr; | ||||
sauimone
|
r2167 | |||
sauimone
|
r2193 | QPieSeries *m_series; | ||
QPieSlice *m_slice; | ||||
sauimone
|
r2166 | |||
Q_DECLARE_PUBLIC(QPieLegendMarker) | ||||
}; | ||||
Titta Heikkala
|
r2712 | QT_CHARTS_END_NAMESPACE | ||
sauimone
|
r2166 | |||
#endif // QPIELEGENDMARKER_P_H | ||||