##// END OF EJS Templates
Emit hover leave signal from PieSliceItem when it gets destroyed....
Emit hover leave signal from PieSliceItem when it gets destroyed. This fixes the problem with the drilldown demo highlight getting stuck when switching series.

File last commit:

r1006:a8ef6d6db8bf
r1083:b264b1ddc4c8
Show More
qchartview.h
71 lines | 1.9 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
Changes QChartAxis -> QAxis
r1006 #include <QAxis>
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
change class -> struct
r758 struct 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 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 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;
QChart* chart() const;
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
#endif // QCHARTWIDGET_H