##// END OF EJS Templates
Various docs fixes
Various docs fixes

File last commit:

r1586:9c6a61adadc9
r1638:039a92a11dcb
Show More
barchartitem_p.h
89 lines | 2.5 KiB | text/x-c | CLexer
Jani Honkonen
Add license headers
r794 /****************************************************************************
**
** 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$
**
****************************************************************************/
sauimone
cleaned crap from barseries private headers. Added missing license texts
r1248 // 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.
sauimone
combined barpresenterbase and barpresenter. renamed barchartpresenters to barchartitems
r666 #ifndef BARCHARTITEM_H
#define BARCHARTITEM_H
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126
#include "chartitem_p.h"
sauimone
renamed barseries files to abstractbarseries
r1586 #include "qabstractbarseries.h"
sauimone
brush support for bargroups
r183 #include <QPen>
#include <QBrush>
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126
QTCOMMERCIALCHART_BEGIN_NAMESPACE
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256 class Bar;
Michal Klocek
Changes QChartAxisCategories -> QAxisCategories
r1032 class QAxisCategories;
sauimone
Labels for barchart to axis
r487 class QChart;
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256
Michal Klocek
Refactors barchart axis hadnling...
r679 class BarChartItem : public ChartItem
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126 {
Michal Klocek
Refactored for MVP...
r139 Q_OBJECT
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126 public:
sauimone
QBarSeries to QAbstractBarSeries
r1584 BarChartItem(QAbstractBarSeries *series, ChartPresenter *presenter);
sauimone
combined barpresenterbase and barpresenter. renamed barchartpresenters to barchartitems
r666 virtual ~BarChartItem();
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126
sauimone
minor cleaning of unused code
r175 public:
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
QRectF boundingRect() const;
sauimone
animations to stacked and percent barchart
r694 virtual QVector<QRectF> calculateLayout();
sauimone
animations for stacked and percentbarchart
r1426 virtual void applyLayout(const QVector<QRectF> &layout);
sauimone
barchart animation mechanics working. still some todo
r681 void setLayout(const QVector<QRectF> &layout);
void updateLayout(const QVector<QRectF> &layout);
sauimone
Animation framework for barchart.
r671
Michal Klocek
Refactors barchart axis hadnling...
r679 QRectF geometry() const { return m_rect;}
sauimone
Q_SIGNALS and Q_SLOTS
r775 public Q_SLOTS:
Tero Ahola
Squashed bunch of warnings
r611 void handleDomainChanged(qreal minX, qreal maxX, qreal minY, qreal maxY);
Tero Ahola
Code review: Fixed simple issues in Bar and Legend
r737 void handleGeometryChanged(const QRectF &size);
sauimone
Animation framework for barchart.
r671 void handleLayoutChanged();
sauimone
fixed crash in barseries with empty sets
r1339 void handleLabelsVisibleChanged(bool visible);
void handleDataStructureChanged(); // structure of of series has changed, recreate graphic items
sauimone
barseries fix: series visibility now affects also label visibility
r1464 void handleVisibleChanged();
Michal Klocek
Refactored for MVP...
r139
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126 protected:
sauimone
minor code review fixes, part n
r763 qreal m_domainMinX;
qreal m_domainMaxX;
qreal m_domainMinY;
qreal m_domainMaxY;
sauimone
barchart domain fix
r674
Michal Klocek
Refactors barchart axis hadnling...
r679 QRectF m_rect;
sauimone
minor code review fixes, part n
r763 QVector<QRectF> m_layout;
sauimone
moved tooltip to presenter
r288
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256 // Not owned.
sauimone
QBarSeries to QAbstractBarSeries
r1584 QAbstractBarSeries *m_series;
sauimone
minor code review fixes, part n
r763 QList<Bar *> m_bars;
sauimone
removed barlabel. label visibility control is now per series instead of per set
r1246 QList<QGraphicsSimpleTextItem *> m_labels;
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126 };
QTCOMMERCIALCHART_END_NAMESPACE
sauimone
combined barpresenterbase and barpresenter. renamed barchartpresenters to barchartitems
r666 #endif // BARCHARTITEM_H