##// END OF EJS Templates
Refactor spline animation handling...
Refactor spline animation handling * removes legacy comented out code * adds valid flag to animation setup * moves controlPoints count check from splineitem to animation * when animation strats it checks for valid setup first * incase of invalid setup animation is stopped

File last commit:

r1701:49d19bd1233e
r1770:6ebf2349194b
Show More
qintervalsaxis.h
64 lines | 1.7 KiB | text/x-c | CLexer
Michal Klocek
Adds new API classes...
r1540 /****************************************************************************
**
** 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 QCATEGORIESAXIS_H
#define QCATEGORIESAXIS_H
#include "qabstractaxis.h"
Michal Klocek
Refactor CategoriesAxis to BarCategoriesAxis part 2 of 2
r1613 #include "qvaluesaxis.h"
Michal Klocek
Adds new API classes...
r1540
QTCOMMERCIALCHART_BEGIN_NAMESPACE
Marek Rosa
QIntervalsAxis working somewhat
r1701 class QIntervalsAxisPrivate;
Michal Klocek
Adds new API classes...
r1540
Marek Rosa
QIntervalsAxis working somewhat
r1701 class QTCOMMERCIALCHART_EXPORT QIntervalsAxis : public QValuesAxis
Michal Klocek
Adds new API classes...
r1540 {
Q_OBJECT
public:
Marek Rosa
QIntervalsAxis working somewhat
r1701 explicit QIntervalsAxis(QObject *parent = 0);
~QIntervalsAxis();
Michal Klocek
Adds new API classes...
r1540
protected:
Marek Rosa
QIntervalsAxis working somewhat
r1701 QIntervalsAxis(QIntervalsAxisPrivate &d,QObject *parent = 0);
Michal Klocek
Adds new API classes...
r1540
public:
AxisType type() const;
Michal Klocek
Refactor CategoriesAxis to BarCategoriesAxis part 2 of 2
r1613
Marek Rosa
QIntervalsAxis working somewhat
r1701 void append(const QString& label, qreal interval = 1);
void remove(const QString& label);
Michal Klocek
Refactor CategoriesAxis to BarCategoriesAxis part 2 of 2
r1613
Marek Rosa
QIntervalsAxis working somewhat
r1701 void setFisrtIntervalMinimum(qreal min);
Michal Klocek
Refactor CategoriesAxis to BarCategoriesAxis part 2 of 2
r1613
Marek Rosa
QIntervalsAxis working somewhat
r1701 qreal intervalMin(const QString& intervalLabel) const;
qreal intervalMax(const QString& intervalLabel) const;
Michal Klocek
Refactor CategoriesAxis to BarCategoriesAxis part 2 of 2
r1613
Marek Rosa
QIntervalsAxis working somewhat
r1701 QStringList intervalsLabels();
Michal Klocek
Refactors QAxis to QAbstractAxis...
r1541 int count() const;
sauimone
QAbstractAxis: variants strike back.
r1578
Michal Klocek
Adds new API classes...
r1540
private:
Marek Rosa
QIntervalsAxis working somewhat
r1701 Q_DECLARE_PRIVATE(QIntervalsAxis)
Q_DISABLE_COPY(QIntervalsAxis)
Michal Klocek
Adds new API classes...
r1540 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QCATEGORIESAXIS_H