##// END OF EJS Templates
Compilation quick fix...
Compilation quick fix Change-Id: I91bafd0c06d96ec411e86f9798d8d1689f41fa55 Reviewed-by: Mika Salmela <mika.salmela@digia.com>

File last commit:

r2513:aab694c96f4f
r2521:15f3290030f0
Show More
qboxset_p.h
90 lines | 2.1 KiB | text/x-c | CLexer
Mika Salmela
Created own boxset class...
r2486 /****************************************************************************
**
** Copyright (C) 2013 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$
**
****************************************************************************/
// 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.
#ifndef QBOXSET_P_H
#define QBOXSET_P_H
#include "qboxset.h"
#include <QMap>
#include <QPen>
#include <QBrush>
#include <QFont>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QBoxSetPrivate : public QObject
{
Q_OBJECT
public:
enum DataPositions {
PosLowerExtreme,
PosLowerQuartile,
PosMedian,
PosUpperQuartile,
PosUpperExtreme
};
public:
Mika Salmela
Added label to boxset...
r2513 QBoxSetPrivate(const QString label, QBoxSet *parent);
Mika Salmela
Created own boxset class...
r2486 ~QBoxSetPrivate();
void append(qreal value);
void append(QList<qreal> values);
void insert(const int index, const qreal value);
int remove(const int index, const int count);
void replace(const int index, const qreal value);
qreal value(const int index);
Q_SIGNALS:
void restructuredBox();
void updatedBox();
void updatedLayout();
public:
QBoxSet * const q_ptr;
Mika Salmela
Added label to boxset...
r2513 QString m_label;
Mika Salmela
QBoxSet changed from list to table mode. New example for file reading....
r2508 //QList<qreal> m_values;
const int m_valuesCount;
qreal *m_values;
int m_appendCount;
Mika Salmela
Created own boxset class...
r2486 QPen m_pen;
QBrush m_brush;
QBrush m_labelBrush;
QFont m_labelFont;
friend class QBoxSet;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QBOXSET_P_H