##// END OF EJS Templates
Added isZoomed method to ChartView...
Added isZoomed method to ChartView isZoomed() method added also the the QML side. Change-Id: Ic0e878bb383316f37a4136d4b920849f1f1853ef Task-number: QTRD-3667 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>

File last commit:

r2807:a9a78a1d08bc
r2813:643291cd617f
Show More
qpielegendmarker_p.h
66 lines | 1.8 KiB | text/x-c | CLexer
/ src / charts / legend / qpielegendmarker_p.h
sauimone
QPieLegenmarkerPrivate added
r2166 /****************************************************************************
**
Titta Heikkala
Copyright header changes...
r2776 ** Copyright (C) 2015 The Qt Company Ltd
sauimone
QPieLegenmarkerPrivate added
r2166 ** All rights reserved.
Titta Heikkala
Copyright header changes...
r2776 ** For any questions to The Qt Company, please use contact form at http://qt.io
sauimone
QPieLegenmarkerPrivate added
r2166 **
Titta Heikkala
Updated license headers...
r2740 ** This file is part of the Qt Charts module.
sauimone
QPieLegenmarkerPrivate added
r2166 **
Titta Heikkala
Updated license headers...
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
Copyright header changes...
r2776 ** agreement between you and The Qt Company.
sauimone
QPieLegenmarkerPrivate added
r2166 **
** If you have questions regarding the use of this file, please use
Titta Heikkala
Updated license headers...
r2740 ** contact form at http://qt.io
sauimone
QPieLegenmarkerPrivate added
r2166 **
****************************************************************************/
// W A R N I N G
// -------------
//
Titta Heikkala
Updated private header warning...
r2807 // This file is not part of the Qt Chart API. It exists purely as an
sauimone
QPieLegenmarkerPrivate added
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
Fix include syntax...
r2714 #include <QtCharts/QChartGlobal>
#include <private/qlegendmarker_p.h>
#include <private/legendmarkeritem_p.h>
#include <QtCharts/QPieSeries>
#include <QtCharts/QPieSlice>
sauimone
refactoring
r2167
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
sauimone
QPieLegenmarkerPrivate added
r2166
class QPieLegendMarker;
class QPieLegendMarkerPrivate : public QLegendMarkerPrivate
{
Q_OBJECT
public:
sauimone
removing old commented code. removing domain parameter from handleseriesadded of pimpl. adding QLegend parameter to marker construction
r2171 explicit QPieLegendMarkerPrivate(QPieLegendMarker *q, QPieSeries *series, QPieSlice *slice, QLegend *legend);
sauimone
QPieLegenmarkerPrivate added
r2166 virtual ~QPieLegendMarkerPrivate();
sauimone
Better handling for new or removed markers
r2182 // internal
virtual QPieSeries* series();
virtual QObject* relatedObject();
sauimone
QPieLegenmarkerPrivate added
r2166 public Q_SLOTS:
sauimone
refactoring
r2167 virtual void updated();
sauimone
QPieLegenmarkerPrivate added
r2166
private:
QPieLegendMarker *q_ptr;
sauimone
refactoring
r2167
sauimone
optional series parameter to markers function. code style fixes
r2193 QPieSeries *m_series;
QPieSlice *m_slice;
sauimone
QPieLegenmarkerPrivate added
r2166
Q_DECLARE_PUBLIC(QPieLegendMarker)
};
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
sauimone
QPieLegenmarkerPrivate added
r2166
#endif // QPIELEGENDMARKER_P_H