##// END OF EJS Templates
Add horizontal box plot model mapper....
Add horizontal box plot model mapper. Change-Id: Icddd343e5bf466e4bd38fee6ce221c14ad729e37 Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>

File last commit:

r2854:46147b040d06
r2873:4cbd063d2219
Show More
xychart_p.h
106 lines | 3.2 KiB | text/x-c | CLexer
Miikka Heikkinen
Updated license...
r2854 /****************************************************************************
Jani Honkonen
Add license headers
r794 **
Miikka Heikkinen
Updated license...
r2854 ** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
Jani Honkonen
Add license headers
r794 **
Miikka Heikkinen
Updated license...
r2854 ** This file is part of the Qt Charts module of the Qt Toolkit.
Jani Honkonen
Add license headers
r794 **
Miikka Heikkinen
Updated license...
r2854 ** $QT_BEGIN_LICENSE:GPL$
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
Miikka Heikkinen
Updated license...
r2854 ** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3 or (at your option) any later version
** approved by the KDE Free Qt Foundation. The licenses are as published by
** the Free Software Foundation and appearing in the file LICENSE.GPL3
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
Jani Honkonen
Add license headers
r794 **
Titta Heikkala
Updated license headers...
r2845 ** $QT_END_LICENSE$
**
Miikka Heikkinen
Updated license...
r2854 ****************************************************************************/
Jani Honkonen
Add license headers
r794
unknown
Added missing warning about private implementation
r1366 // 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
unknown
Added missing warning about private implementation
r1366 // implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
Jani Honkonen
Fix Krazy issues
r1935 #ifndef XYCHART_H
#define XYCHART_H
Michal Klocek
Add missing files from previous commit
r466
Titta Heikkala
Fix include syntax...
r2714 #include <QtCharts/QChartGlobal>
#include <private/chartitem_p.h>
#include <private/xyanimation_p.h>
#include <QtCharts/QValueAxis>
#include <QtGui/QPen>
Michal Klocek
Add missing files from previous commit
r466
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
Michal Klocek
Add missing files from previous commit
r466
class ChartPresenter;
class QXYSeries;
Michal Klocek
Refactors internals...
r2273 class XYChart : public ChartItem
Michal Klocek
Add missing files from previous commit
r466 {
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 Q_OBJECT
Michal Klocek
Add missing files from previous commit
r466 public:
Miikka Heikkinen
Add Polar chart support...
r2483 explicit XYChart(QXYSeries *series,QGraphicsItem *item = 0);
Tero Ahola
Minor: extra colons, commented out code
r1782 ~XYChart() {}
Michal Klocek
Add missing files from previous commit
r466
Miikka Heikkinen
Add Polar chart support...
r2483 void setGeometryPoints(const QVector<QPointF> &points);
Michal Klocek
Refactors animation handling for xyseries
r1217 QVector<QPointF> geometryPoints() const { return m_points; }
Michal Klocek
Add missing files from previous commit
r466
Jani Honkonen
more coding style fixes for src-folder...
r2104 void setAnimation(XYAnimation *animation);
ChartAnimation *animation() const { return m_animation; }
Michal Klocek
Refactor xychartitem -> xychart
r1218 virtual void updateGeometry() = 0;
Michal Klocek
Refactors chartitem...
r677
Michal Klocek
Refactors axis animation, line animations
r1241 bool isDirty() const { return m_dirty; }
void setDirty(bool dirty);
Miikka Heikkinen
Add Polar chart support...
r2483 void getSeriesRanges(qreal &minX, qreal &maxX, qreal &minY, qreal &maxY);
QVector<bool> offGridStatusVector();
sauimone
Q_SIGNALS and Q_SLOTS
r775 public Q_SLOTS:
Michal Klocek
Add missing files from previous commit
r466 void handlePointAdded(int index);
void handlePointRemoved(int index);
Miikka Heikkinen
Add a method to remove more than one point to QXYSeries...
r2805 void handlePointsRemoved(int index, int count);
Michal Klocek
Add missing files from previous commit
r466 void handlePointReplaced(int index);
Tero Ahola
Added a new QXYSeries::replace override for performance reasons....
r1783 void handlePointsReplaced();
Michal Klocek
Refactors Domain and Axis...
r1698 void handleDomainUpdated();
Michal Klocek
Add missing files from previous commit
r466
sauimone
Q_SIGNALS and Q_SLOTS
r775 Q_SIGNALS:
Jani Honkonen
more coding style fixes for src-folder...
r2104 void clicked(const QPointF &point);
Marek Rosa
Added hovered signal to QLineSeries. Updated callout example
r2255 void hovered(const QPointF &point, bool state);
Titta Heikkala
Add pressed, released and doubleClicked signals...
r2739 void pressed(const QPointF &point);
void released(const QPointF &point);
void doubleClicked(const QPointF &point);
Michal Klocek
Refactors click signal to line,area,spline,scatter charts
r571
Michal Klocek
Add missing files from previous commit
r466 protected:
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 virtual void updateChart(QVector<QPointF> &oldPoints, QVector<QPointF> &newPoints, int index = -1);
Miikka Heikkinen
Accelerating lineseries with OpenGL...
r2820 virtual void updateGlChart();
Michal Klocek
Add missing files from previous commit
r466
private:
inline bool isEmpty();
Tero Ahola
Minor: extra colons, commented out code
r1782 protected:
Jani Honkonen
more coding style fixes for src-folder...
r2104 QXYSeries *m_series;
Michal Klocek
Add missing files from previous commit
r466 QVector<QPointF> m_points;
Jani Honkonen
more coding style fixes for src-folder...
r2104 XYAnimation *m_animation;
Michal Klocek
Refactors axis animation, line animations
r1241 bool m_dirty;
Michal Klocek
Add missing files from previous commit
r466
Michal Klocek
Refactors click signal to line,area,spline,scatter charts
r571 friend class AreaChartItem;
Michal Klocek
Add missing files from previous commit
r466 };
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
Michal Klocek
Add missing files from previous commit
r466
#endif