##// END OF EJS Templates
Implement QChartView::setChart()
Implement QChartView::setChart()

File last commit:

r2056:4b7228265b30
r2056:4b7228265b30
Show More
qchartview.h
74 lines | 2.0 KiB | text/x-c | CLexer
Michal Klocek
adds QChartView PIMPL, refactor public API
r746 /****************************************************************************
**
** Copyright (C) 2012 Digia Plc
** All rights reserved.
** For any questions to Digia, please use contact form at http://qt.digia.com
**
** This file is part of the Qt Commercial Charts Add-on.
**
** $QT_BEGIN_LICENSE$
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial License Agreement provided with the
** 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$
**
****************************************************************************/
#ifndef QCHARTVIEW_H
#define QCHARTVIEW_H
Michal Klocek
Refactors QAxis to QAbstractAxis...
r1541 #include <QAbstractAxis>
Tero Ahola
Renamed QSeries to QAbstractSeries
r988 #include <QAbstractSeries>
Michal Klocek
adds QChartView PIMPL, refactor public API
r746 #include <QChart>
Michal Klocek
Adds rubberband for zooming...
r58 #include <QGraphicsView>
class QGraphicsScene;
Michal Klocek
Removes QChartWidget...
r136 class QRubberBand;
Michal Klocek
Adds rubberband for zooming...
r58
QTCOMMERCIALCHART_BEGIN_NAMESPACE
Jani Honkonen
vs20xx compile fix for QChartViewPrivate
r1296 class QChartViewPrivate;
Michal Klocek
Adds rubberband for zooming...
r58
class QTCOMMERCIALCHART_EXPORT QChartView : public QGraphicsView
{
Tero Ahola
New theme with light colors, chartview background
r584 Q_OBJECT
Michal Klocek
Adds missing Q_ENUMS to qchartview
r1108 Q_ENUMS(RubberBand)
Michal Klocek
Adds rubberband for zooming...
r58 public:
Michal Klocek
Removes QChartWidget...
r136
Michal Klocek
adds QChartView PIMPL, refactor public API
r746 enum RubberBand{
NoRubberBand = 0x0,
VerticalRubberBand = 0x1,
HorizonalRubberBand = 0x2,
RectangleRubberBand = 0x3
};
Michal Klocek
Change background gradient to use ObjectBoundingMode...
r122
Michal Klocek
adds QChartView PIMPL, refactor public API
r746 Q_DECLARE_FLAGS(RubberBands, RubberBand)
Michal Klocek
Adds scroll support...
r531
Michal Klocek
Adds QChartView empty constructor to be able to promote qchartview in qtdesigner
r1290 explicit QChartView(QWidget *parent = 0);
Michal Klocek
adds QChartView PIMPL, refactor public API
r746 explicit QChartView(QChart *chart,QWidget *parent = 0);
~QChartView();
Michal Klocek
Add public function for axis hadnling to qchart
r155
Michal Klocek
adds QChartView PIMPL, refactor public API
r746 void setRubberBand(const RubberBands& rubberBands);
RubberBands rubberBand() const;
Jani Honkonen
Implement QChartView::setChart()
r2056
Michal Klocek
adds QChartView PIMPL, refactor public API
r746 QChart* chart() const;
Jani Honkonen
Implement QChartView::setChart()
r2056 void setChart(QChart *chart);
sauimone
First version of legend. Simple markers and serie names. Using drilldown as example for now.
r529
Michal Klocek
Removes QChartWidget...
r136 protected:
Michal Klocek
adds QChartView PIMPL, refactor public API
r746 void resizeEvent(QResizeEvent *event);
Michal Klocek
Removes QChartWidget...
r136 void mousePressEvent(QMouseEvent *event);
void mouseMoveEvent(QMouseEvent *event);
void mouseReleaseEvent(QMouseEvent *event);
Michal Klocek
adds QChartView PIMPL, refactor public API
r746 protected:
QScopedPointer<QChartViewPrivate> d_ptr;
Michal Klocek
Adds rubberband for zooming...
r58 Q_DISABLE_COPY(QChartView)
};
QTCOMMERCIALCHART_END_NAMESPACE
Jani Honkonen
Spit&polish public headers
r2046 #endif // QCHARTVIEW_H