##// END OF EJS Templates
Added QChart::locale property...
Added QChart::locale property This locale is used for localizing the numbers on various labels when localizeNumbers is set to true. It is also the locale that QDateTimeAxis labels use for month and day names. Task-number: QTRD-3179 Change-Id: Ib9a9cad770c5a6890311fe45a1d4cabd5f40aff4 Reviewed-by: Mika Salmela <mika.salmela@digia.com>

File last commit:

r2688:bdd8266c9c7d
r2708:b421e87aa00a
Show More
chartvalueaxisx_p.h
60 lines | 1.7 KiB | text/x-c | CLexer
/ src / axis / valueaxis / chartvalueaxisx_p.h
Marek Rosa
Added Chart classes for value and categories axis
r1555 /****************************************************************************
**
Titta Heikkala
Update copyright year...
r2688 ** Copyright (C) 2014 Digia Plc
Marek Rosa
Added Chart classes for value and categories axis
r1555 ** All rights reserved.
** For any questions to Digia, please use contact form at http://qt.digia.com
**
Miikka Heikkinen
Qt Commercial -> Qt Enterprise...
r2574 ** This file is part of the Qt Enterprise Charts Add-on.
Marek Rosa
Added Chart classes for value and categories axis
r1555 **
** $QT_BEGIN_LICENSE$
Miikka Heikkinen
Qt Commercial -> Qt Enterprise...
r2574 ** Licensees holding valid Qt Enterprise licenses may use this file in
** accordance with the Qt Enterprise License Agreement provided with the
Marek Rosa
Added Chart classes for value and categories axis
r1555 ** 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$
**
****************************************************************************/
// W A R N I N G
// -------------
//
Miikka Heikkinen
Qt Commercial -> Qt Enterprise...
r2574 // This file is not part of the Qt Enterprise Chart API. It exists purely as an
Marek Rosa
Added Chart classes for value and categories axis
r1555 // implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
Jani Honkonen
Fix Krazy issues
r1935 #ifndef CHARTVALUEAXISX_H
#define CHARTVALUEAXISX_H
Marek Rosa
Added Chart classes for value and categories axis
r1555
Michal Klocek
Refactors axis updateGeometry handling...
r2111 #include "horizontalaxis_p.h"
Marek Rosa
Added Chart classes for value and categories axis
r1555
QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
Refactors axis updateGeometry handling...
r2111 class QValueAxis;
Marek Rosa
Added Chart classes for value and categories axis
r1555
Michal Klocek
Refactors axis updateGeometry handling...
r2111 class ChartValueAxisX : public HorizontalAxis
Marek Rosa
Added Chart classes for value and categories axis
r1555 {
Michal Klocek
Refactors internals...
r2273 Q_OBJECT
Marek Rosa
Added Chart classes for value and categories axis
r1555 public:
Miikka Heikkinen
Add Polar chart support...
r2483 ChartValueAxisX(QValueAxis *axis, QGraphicsItem *item = 0);
Marek Rosa
renamed QValueAxis related files
r1805 ~ChartValueAxisX();
Marek Rosa
Added Chart classes for value and categories axis
r1555
Jani Honkonen
more coding style fixes for src-folder...
r2104 QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const;
Marek Rosa
Added Chart classes for value and categories axis
r1555 protected:
QVector<qreal> calculateLayout() const;
void updateGeometry();
Michal Klocek
Refactors internals...
r2273 private Q_SLOTS:
void handleTickCountChanged(int tick);
Marek Rosa
Fixed: axis not redrawing when labelFormat changed
r2323 void handleLabelFormatChanged(const QString &format);
Michal Klocek
Refactor QChart API...
r1577 private:
Michal Klocek
Refactors axis updateGeometry handling...
r2111 QValueAxis *m_axis;
Marek Rosa
Added Chart classes for value and categories axis
r1555 };
QTCOMMERCIALCHART_END_NAMESPACE
Jani Honkonen
Fix Krazy issues
r1935 #endif /* CHARTVALUEAXISX_H */