##// END OF EJS Templates
Doc: Make documentation versioning follow .qmake.conf...
Doc: Make documentation versioning follow .qmake.conf No reason to have hard-coded version numbers in .qdocconf, as they are available from env. variables. Change-Id: I4a118fe0127a20f01af157fbc496e3cb0ba69976 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>

File last commit:

r2871:cf15f38aab8d
r2882:5b51eec25ba7
Show More
qpieseries.h
107 lines | 3.2 KiB | text/x-c | CLexer
Titta Heikkala
Updated license headers...
r2845 /******************************************************************************
Jani Honkonen
Add license headers
r794 **
Titta Heikkala
Updated license headers...
r2845 ** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
Jani Honkonen
Add license headers
r794 **
Titta Heikkala
Updated license headers...
r2740 ** This file is part of the Qt Charts module.
Jani Honkonen
Add license headers
r794 **
Titta Heikkala
Updated license headers...
r2845 ** $QT_BEGIN_LICENSE:COMM$
Jani Honkonen
Add license headers
r794 **
Titta Heikkala
Updated license headers...
r2845 ** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see http://www.qt.io/terms-conditions. For further
** information use the contact form at http://www.qt.io/contact-us.
Jani Honkonen
Add license headers
r794 **
Titta Heikkala
Updated license headers...
r2845 ** $QT_END_LICENSE$
**
******************************************************************************/
Jani Honkonen
Add license headers
r794
Jani Honkonen
Spit&polish public headers
r2046 #ifndef QPIESERIES_H
#define QPIESERIES_H
Jani Honkonen
Pie chart refactoring
r142
Titta Heikkala
Fix include syntax...
r2714 #include <QtCharts/QAbstractSeries>
Titta Heikkala
Qt Charts project file structure change...
r2712 #include <QtCharts/QPieSlice>
Jani Honkonen
Pie chart refactoring
r142
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
Jani Honkonen
Adding PIMPL to pie
r669 class QPieSeriesPrivate;
Jani Honkonen
Use signals from pieseries, visible hover and exploding slices
r157
Titta Heikkala
Qt Charts project file structure change...
r2712 class QT_CHARTS_EXPORT QPieSeries : public QAbstractSeries
Jani Honkonen
Pie chart refactoring
r142 {
Q_OBJECT
Tero Ahola
Removed a few signals from QPieSeries API
r1482 Q_PROPERTY(qreal horizontalPosition READ horizontalPosition WRITE setHorizontalPosition)
Q_PROPERTY(qreal verticalPosition READ verticalPosition WRITE setVerticalPosition)
Q_PROPERTY(qreal size READ pieSize WRITE setPieSize)
Q_PROPERTY(qreal startAngle READ pieStartAngle WRITE setPieStartAngle)
Q_PROPERTY(qreal endAngle READ pieEndAngle WRITE setPieEndAngle)
Jani Honkonen
pie: add everything as a property in series...
r1255 Q_PROPERTY(int count READ count NOTIFY countChanged)
Q_PROPERTY(qreal sum READ sum NOTIFY sumChanged)
Marek Rosa
Donut support simplified. Examples updated
r1838 Q_PROPERTY(qreal holeSize READ holeSize WRITE setHoleSize)
Jani Honkonen
Pie chart refactoring
r142
public:
Marc Mutz
Make public headers compile with -Wzero-as-null-pointer-constant...
r2871 explicit QPieSeries(QObject *parent = Q_NULLPTR);
Jani Honkonen
Refactor pie (again). QPieSlice's now emit signals and no id's anymore. Just pointers in the interface.
r203 virtual ~QPieSeries();
Jani Honkonen
Pie chart refactoring
r142
Michal Klocek
Fixes to API , QSeriesType -> SeriesType , add missing getters
r1107 QAbstractSeries::SeriesType type() const;
Jani Honkonen
Pie chart refactoring
r142
Jani Honkonen
more coding style fixes for src-folder...
r2104 bool append(QPieSlice *slice);
bool append(QList<QPieSlice *> slices);
QPieSeries &operator << (QPieSlice *slice);
QPieSlice *append(QString label, qreal value);
Jani Honkonen
pie: add everything as a property in series...
r1255
Jani Honkonen
more coding style fixes for src-folder...
r2104 bool insert(int index, QPieSlice *slice);
Jani Honkonen
pie: add everything as a property in series...
r1255
Jani Honkonen
more coding style fixes for src-folder...
r2104 bool remove(QPieSlice *slice);
bool take(QPieSlice *slice);
Jani Honkonen
Refactor pie (again). QPieSlice's now emit signals and no id's anymore. Just pointers in the interface.
r203 void clear();
Jani Honkonen
Pie chart refactoring
r142
Jani Honkonen
more coding style fixes for src-folder...
r2104 QList<QPieSlice *> slices() const;
Jani Honkonen
Added a pie chart customization example and refactoring the pie interface.
r437 int count() const;
Jani Honkonen
pie: add everything as a property in series...
r1255
Jani Honkonen
Refactoring pie series and animations.
r621 bool isEmpty() const;
Jani Honkonen
API review changes for pie
r1009
Jani Honkonen
Rename pie series total() -> sum() to be consistent with bar series.
r939 qreal sum() const;
Jani Honkonen
Added a pie chart customization example and refactoring the pie interface.
r437
Marek Rosa
Donut support simplified. Examples updated
r1838 void setHoleSize(qreal holeSize);
qreal holeSize() const;
Marek Rosa
Added QDonutGroup class
r1671
Tero Ahola
QSeries name and QPieSeries properties to QML api
r884 void setHorizontalPosition(qreal relativePosition);
qreal horizontalPosition() const;
Jani Honkonen
pie: add everything as a property in series...
r1255
Tero Ahola
QSeries name and QPieSeries properties to QML api
r884 void setVerticalPosition(qreal relativePosition);
qreal verticalPosition() const;
Jani Honkonen
API review changes for pie
r1009
Jani Honkonen
Renamed the "factor" stuff from pie series API.
r498 void setPieSize(qreal relativeSize);
qreal pieSize() const;
Jani Honkonen
API review changes for pie
r1009
Jani Honkonen
Renamed the "factor" stuff from pie series API.
r498 void setPieStartAngle(qreal startAngle);
qreal pieStartAngle() const;
Jani Honkonen
pie: add everything as a property in series...
r1255
Jani Honkonen
Renamed the "factor" stuff from pie series API.
r498 void setPieEndAngle(qreal endAngle);
qreal pieEndAngle() const;
Jani Honkonen
Refactor pie (again). QPieSlice's now emit signals and no id's anymore. Just pointers in the interface.
r203
Jani Honkonen
Review corrections for pie
r386 void setLabelsVisible(bool visible = true);
Marek Rosa
Added one more type of label placing on Pie chart
r1712 void setLabelsPosition(QPieSlice::LabelPosition position);
Jani Honkonen
Refactor pie (again). QPieSlice's now emit signals and no id's anymore. Just pointers in the interface.
r203
Jani Honkonen
Use signals from pieseries, visible hover and exploding slices
r157 Q_SIGNALS:
Jani Honkonen
more coding style fixes for src-folder...
r2104 void added(QList<QPieSlice *> slices);
void removed(QList<QPieSlice *> slices);
void clicked(QPieSlice *slice);
void hovered(QPieSlice *slice, bool state);
Titta Heikkala
Add pressed, released and doubleClicked signals...
r2739 void pressed(QPieSlice *slice);
void released(QPieSlice *slice);
void doubleClicked(QPieSlice *slice);
Jani Honkonen
pie: add everything as a property in series...
r1255 void countChanged();
void sumChanged();
Jani Honkonen
Implementing slice label
r181
Jani Honkonen
Refactoring piechart API (and internals)
r174 private:
Jani Honkonen
Adding PIMPL to pie
r669 Q_DECLARE_PRIVATE(QPieSeries)
Q_DISABLE_COPY(QPieSeries)
Michal Klocek
Refactors internals...
r2273 friend class PieChartItem;
Jani Honkonen
Pie chart refactoring
r142 };
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
Jani Honkonen
Pie chart refactoring
r142
Jani Honkonen
Spit&polish public headers
r2046 #endif // QPIESERIES_H