##// END OF EJS Templates
Fix copyright header for normalize tool...
Fix copyright header for normalize tool This file is taken from Qt4 repository, so it should have the same header.

File last commit:

r2432:53927f716a3d
r2434:b9f3bb08b3e6
Show More
areachartitem_p.h
107 lines | 2.7 KiB | text/x-c | CLexer
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
**
** 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$
**
****************************************************************************/
unknown
Added missing warning about private implementation
r1366 // W A R N I N G
// -------------
//
// This file is not part of the QtCommercial Chart API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
Michal Klocek
Adds area chart...
r421 #ifndef AREACHARTITEM_H
#define AREACHARTITEM_H
#include "qchartglobal.h"
#include "linechartitem_p.h"
#include <QPen>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QAreaSeries;
class AreaChartItem;
Michal Klocek
Release compilation fixes
r689 class AreaChartItem : public ChartItem
Michal Klocek
Adds area chart...
r421 {
Q_OBJECT
public:
Michal Klocek
Refactors internals...
r2273 AreaChartItem(QAreaSeries *areaSeries, QGraphicsItem* item = 0);
Tero Ahola
Internal review: fixed minor issues in Area and XySeries
r761 ~AreaChartItem();
Michal Klocek
Adds area chart...
r421
//from QGraphicsItem
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
QPainterPath shape() const;
Jani Honkonen
more coding style fixes for src-folder...
r2104 LineChartItem *upperLineItem() const { return m_upper; }
LineChartItem *lowerLineItem() const { return m_lower; }
Michal Klocek
Adds area chart animations...
r560
Michal Klocek
Adds area chart...
r421 void updatePath();
Michal Klocek
Refactors click signal to line,area,spline,scatter charts
r571
Michal Klocek
Refactors internals...
r2273 void setPresenter(ChartPresenter *presenter);
Michal Klocek
Refactors click signal to line,area,spline,scatter charts
r571 protected:
sauimone
minor code review issues. indent, spaces, brackets etc.
r743 void mousePressEvent(QGraphicsSceneMouseEvent *event);
Marek Rosa
Added hovered support to areachart. Might need to be re-thought
r2264 void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
Michal Klocek
Refactors click signal to line,area,spline,scatter charts
r571
sauimone
Q_SIGNALS and Q_SLOTS
r775 Q_SIGNALS:
Marek Rosa
Added hovered support to areachart. Might need to be re-thought
r2264 void clicked(const QPointF &point);
void hovered(const QPointF &point, bool state);
Michal Klocek
Refactors click signal to line,area,spline,scatter charts
r571
sauimone
Q_SIGNALS and Q_SLOTS
r775 public Q_SLOTS:
Michal Klocek
Adds area chart...
r421 void handleUpdated();
Michal Klocek
Refactors Domain and Axis...
r1698 void handleDomainUpdated();
Michal Klocek
Adds area chart...
r421
private:
Jani Honkonen
more coding style fixes for src-folder...
r2104 QAreaSeries *m_series;
LineChartItem *m_upper;
LineChartItem *m_lower;
Michal Klocek
Refactor domain model...
r439 QPainterPath m_path;
Michal Klocek
Adds area chart...
r421 QRectF m_rect;
Michal Klocek
Adds visiblePoints handling to area chart
r563 QPen m_linePen;
QPen m_pointPen;
Michal Klocek
Adds area chart...
r421 QBrush m_brush;
Michal Klocek
Adds visiblePoints handling to area chart
r563 bool m_pointsVisible;
Michal Klocek
Adds area chart...
r421 };
class AreaBoundItem : public LineChartItem
{
public:
Michal Klocek
Refactors internals...
r2273 AreaBoundItem(AreaChartItem *area, QLineSeries *lineSeries,QGraphicsItem* item = 0)
: LineChartItem(lineSeries, item), m_item(area)
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 {
Michal Klocek
Refactors axis animation, line animations
r1241 }
Tero Ahola
Internal review: fixed minor issues in Area and XySeries
r761 ~AreaBoundItem() {}
Michal Klocek
Adds area chart...
r421
Michal Klocek
Refactors internals...
r2273 void updateGeometry()
Jani Honkonen
more coding style fixes for src-folder...
r2104 {
Michal Klocek
Refactors animation handling for xyseries
r1217 LineChartItem::updateGeometry();
Michal Klocek
Adds area chart...
r421 m_item->updatePath();
}
private:
Jani Honkonen
more coding style fixes for src-folder...
r2104 AreaChartItem *m_item;
Michal Klocek
Adds area chart...
r421 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif