##// END OF EJS Templates
Fix Chart build when QT_NO_RUBBERBAND is defined...
Fix Chart build when QT_NO_RUBBERBAND is defined No rubber band is set for the QChartView if QT_NO_RUBBERBAND is defined. A warning will be fired in case one tries to set the rubber band and Qt is configured without the it. Task-number: QTRD-2240 Change-Id: I6259726077e39f143e317e1b1b13a1daa2a0c1e0 Reviewed-by: Karim Pinter <karim.pinter@digia.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>

File last commit:

r2574:599370d0561c
r2623:e4fe606cdd4c
Show More
qabstractseries.h
98 lines | 2.6 KiB | text/x-c | CLexer
/ src / qabstractseries.h
Jani Honkonen
Add license headers
r794 /****************************************************************************
**
Miikka Heikkinen
Fixed the copyright year 2012 -> 2013
r2432 ** Copyright (C) 2013 Digia Plc
Jani Honkonen
Add license headers
r794 ** All rights reserved.
** For any questions to Digia, please use contact form at http://qt.digia.com
**
Miikka Heikkinen
Qt Commercial -> Qt Enterprise...
r2574 ** This file is part of the Qt Enterprise Charts Add-on.
Jani Honkonen
Add license headers
r794 **
** $QT_BEGIN_LICENSE$
Miikka Heikkinen
Qt Commercial -> Qt Enterprise...
r2574 ** Licensees holding valid Qt Enterprise licenses may use this file in
** accordance with the Qt Enterprise License Agreement provided with the
Jani Honkonen
Add license headers
r794 ** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia.
**
** If you have questions regarding the use of this file, please use
** contact form at http://qt.digia.com
** $QT_END_LICENSE$
**
****************************************************************************/
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 #ifndef QABSTRACTSERIES_H
#define QABSTRACTSERIES_H
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Jani Honkonen
Change includes in public headers from #include "xxx" -> #include <xxx>
r697 #include <qchartglobal.h>
Michal Klocek
Adds createDefaultAxes logic
r1588 #include <qabstractaxis.h>
Michal Klocek
Fix missing file from one of the prvious commits...
r23 #include <QObject>
sauimone
refactored legend to qseries
r380 #include <QPen>
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 class QAbstractSeriesPrivate;
Michal Klocek
Adds if series deleted , remove series from chart
r1062 class QChart;
Michal Klocek
Adds big fat pimpl to series classes...
r938
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 class QTCOMMERCIALCHART_EXPORT QAbstractSeries : public QObject
Michal Klocek
Fix missing file from one of the prvious commits...
r23 {
sauimone
Improved bar chart series
r71 Q_OBJECT
Tero Ahola
Fixed a bug with legend not updating series labels
r1328 Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged)
Tero Ahola
Visible property to abstract series
r1342 Q_PROPERTY(bool visible READ isVisible WRITE setVisible NOTIFY visibleChanged)
Tero Ahola
Added opacity property to QAbstractSeries
r2067 Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged)
Tero Ahola
Minor modifications to properties of abstract, area and bar series
r1462 Q_PROPERTY(SeriesType type READ type)
Michal Klocek
Fixes to API , QSeriesType -> SeriesType , add missing getters
r1107 Q_ENUMS(SeriesType)
Tero Ahola
QSeries name and QPieSeries properties to QML api
r884
Michal Klocek
Fix missing file from one of the prvious commits...
r23 public:
Michal Klocek
Fixes to API , QSeriesType -> SeriesType , add missing getters
r1107 enum SeriesType {
Tero Ahola
Proof-of-concept for QML api...
r120 SeriesTypeLine,
Tero Ahola
qdoc for QChartSeries
r309 SeriesTypeArea,
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 SeriesTypeBar,
sauimone
added stacked bar chart
r94 SeriesTypeStackedBar,
sauimone
percent bar chart
r101 SeriesTypePercentBar,
Tero Ahola
Integrated draft version of pie series
r51 SeriesTypePie,
Tero Ahola
qdoc for QChartSeries
r309 SeriesTypeScatter,
sauimone
horizontal barchart frame
r1672 SeriesTypeSpline,
sauimone
compilation fix again
r1687 SeriesTypeHorizontalBar,
sauimone
compilation fix
r1686 SeriesTypeHorizontalStackedBar,
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548 SeriesTypeHorizontalPercentBar,
SeriesTypeBoxPlot
Tero Ahola
Renamed to QtCommercialChart
r30 };
Michal Klocek
Fix missing file from one of the prvious commits...
r23
protected:
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 QAbstractSeries(QAbstractSeriesPrivate &d, QObject *parent = 0);
Michal Klocek
Fix missing file from one of the prvious commits...
r23
public:
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 ~QAbstractSeries();
Michal Klocek
Fixes to API , QSeriesType -> SeriesType , add missing getters
r1107 virtual SeriesType type() const = 0;
Michal Klocek
Adds createDefaultAxes logic
r1588
Jani Honkonen
more coding style fixes for src-folder...
r2104 void setName(const QString &name);
Michal Klocek
Adds big fat pimpl to series classes...
r938 QString name() const;
Tero Ahola
Visible property to abstract series
r1342 void setVisible(bool visible = true);
bool isVisible() const;
Tero Ahola
Added opacity property to QAbstractSeries
r2067 qreal opacity() const;
void setOpacity(qreal opacity);
Jani Honkonen
more coding style fixes for src-folder...
r2104 QChart *chart() const;
Jani Honkonen
Add title to QSeries
r405
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548 bool attachAxis(QAbstractAxis *axis);
bool detachAxis(QAbstractAxis *axis);
Michal Klocek
Refactors internals...
r2273 QList<QAbstractAxis*> attachedAxes();
Michal Klocek
Adding missing functions to API
r1552 void show();
void hide();
Tero Ahola
Fixed a bug with legend not updating series labels
r1328 Q_SIGNALS:
void nameChanged();
Tero Ahola
Visible property to abstract series
r1342 void visibleChanged();
Tero Ahola
Added opacity property to QAbstractSeries
r2067 void opacityChanged();
Tero Ahola
Fixed a bug with legend not updating series labels
r1328
Marek Rosa
Added data from model support to QPieSeries(modify, remove). Data from model example updated
r597 protected:
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 QScopedPointer<QAbstractSeriesPrivate> d_ptr;
Michal Klocek
Refactor to use qseries private for implmentation interface...
r943 friend class ChartDataSet;
friend class ChartPresenter;
Michal Klocek
Refactors internals...
r2273 friend class ChartThemeManager;
Michal Klocek
Adds qlegend pimpl...
r950 friend class QLegendPrivate;
Tero Ahola
Refactored QML axis handling
r1813 friend class DeclarativeChart;
Michal Klocek
Fix missing file from one of the prvious commits...
r23 };
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_END_NAMESPACE
Michal Klocek
Fix missing file from one of the prvious commits...
r23
Jani Honkonen
Spit&polish public headers
r2046 #endif // QABSTRACTSERIES_H