##// END OF EJS Templates
Depend directly on 5.6 branch...
Depend directly on 5.6 branch Change-Id: Iaf1e837bd628801cb8d31541b08ecfae06534feb Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>

File last commit:

r2807:a9a78a1d08bc
r2844:fb37c77c7958
Show More
qpieslice_p.h
78 lines | 2.1 KiB | text/x-c | CLexer
Marek Rosa
License added to several files
r1365 /****************************************************************************
**
Titta Heikkala
Copyright header changes...
r2776 ** Copyright (C) 2015 The Qt Company Ltd
Marek Rosa
License added to several files
r1365 ** All rights reserved.
Titta Heikkala
Copyright header changes...
r2776 ** For any questions to The Qt Company, please use contact form at http://qt.io
Marek Rosa
License added to several files
r1365 **
Titta Heikkala
Updated license headers...
r2740 ** This file is part of the Qt Charts module.
Marek Rosa
License added to several files
r1365 **
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.
Marek Rosa
License added to several files
r1365 **
** If you have questions regarding the use of this file, please use
Titta Heikkala
Updated license headers...
r2740 ** contact form at http://qt.io
Marek Rosa
License added to several files
r1365 **
****************************************************************************/
// 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
Marek Rosa
License added to several files
r1365 // implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
Jani Honkonen
pie: added everything as a property in QPieSlice...
r1274 #ifndef QPIESLICE_P_H
#define QPIESLICE_P_H
Titta Heikkala
Fix include syntax...
r2714 #include <QtCore/QObject>
#include <QtCharts/QPieSlice>
#include <private/pieslicedata_p.h>
Jani Honkonen
pie: added everything as a property in QPieSlice...
r1274
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
Jani Honkonen
Add QPieSlice::series() and tests
r1323 class QPieSeries;
Jani Honkonen
pie: added everything as a property in QPieSlice...
r1274
class QPieSlicePrivate : public QObject
{
Q_OBJECT
public:
QPieSlicePrivate(QPieSlice *parent);
~QPieSlicePrivate();
Jani Honkonen
more coding style fixes for src-folder...
r2104 static QPieSlicePrivate *fromSlice(QPieSlice *slice);
Jani Honkonen
pie: added everything as a property in QPieSlice...
r1274
void setPen(const QPen &pen, bool themed);
void setBrush(const QBrush &brush, bool themed);
Tero Ahola
Use labelBrush instead of labelPen for text labels
r1307 void setLabelBrush(const QBrush &brush, bool themed);
Jani Honkonen
pie: added everything as a property in QPieSlice...
r1274 void setLabelFont(const QFont &font, bool themed);
void setPercentage(qreal percentage);
void setStartAngle(qreal angle);
void setAngleSpan(qreal span);
Tero Ahola
Removed unnecessary signals from QPieSlice
r1494 Q_SIGNALS:
void labelPositionChanged();
void explodedChanged();
void labelArmLengthFactorChanged();
void explodeDistanceFactorChanged();
Jani Honkonen
pie: added everything as a property in QPieSlice...
r1274 private:
Jani Honkonen
Add QPieSlice::series() and tests
r1323 friend class QPieSeries;
Jani Honkonen
pie: added everything as a property in QPieSlice...
r1274 friend class QPieSeriesPrivate;
Michal Klocek
Refactors internals...
r2273 friend class ChartThemeManager;
Jani Honkonen
pie: added everything as a property in QPieSlice...
r1274 friend class PieChartItem;
QPieSlice * const q_ptr;
Q_DECLARE_PUBLIC(QPieSlice)
Jani Honkonen
Add QPieSlice::series() and tests
r1323
PieSliceData m_data;
QPieSeries *m_series;
Jani Honkonen
pie: added everything as a property in QPieSlice...
r1274 };
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
Jani Honkonen
pie: added everything as a property in QPieSlice...
r1274
#endif // QPIESLICE_P_H