##// END OF EJS Templates
Fix Creator crash when opening Charts project...
Fix Creator crash when opening Charts project There's a problem with Creator parsing the headers defined in Charts src.pro. This will cause the Creator (3.0.0-beta) to crash when trying to open charts.pro. As a workaround the headers are defined using new variables for each function and unsetting the variables after each rotation. Task-number: QTRD-2480 Change-Id: Ia77428dab61fa9fa57ca5501ad27f8c3f514f017 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>

File last commit:

r2574:599370d0561c
r2641:614285c5dc95
Show More
qhxymodelmapper.h
70 lines | 2.1 KiB | text/x-c | CLexer
/ src / xychart / qhxymodelmapper.h
Marek Rosa
Added license text to mapper classes
r1355 /****************************************************************************
**
Miikka Heikkinen
Fixed the copyright year 2012 -> 2013
r2432 ** Copyright (C) 2013 Digia Plc
Marek Rosa
Added license text to mapper classes
r1355 ** 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 license text to mapper classes
r1355 **
** $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 license text to mapper classes
r1355 ** 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$
**
****************************************************************************/
Marek Rosa
Added Vertical and Horizontal QXYModelMapper
r1252 #ifndef QHXYMODELMAPPER_H
#define QHXYMODELMAPPER_H
#include <QXYModelMapper>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QHXYModelMapper : public QXYModelMapper
{
Q_OBJECT
Marek Rosa
QXYModelMapper removed from the docs
r1507 Q_PROPERTY(QXYSeries *series READ series WRITE setSeries NOTIFY seriesReplaced)
Q_PROPERTY(QAbstractItemModel *model READ model WRITE setModel NOTIFY modelReplaced)
Marek Rosa
Added NOTIFY to XYModelMapper properties
r1477 Q_PROPERTY(int xRow READ xRow WRITE setXRow NOTIFY xRowChanged)
Q_PROPERTY(int yRow READ yRow WRITE setYRow NOTIFY yRowChanged)
Marek Rosa
QXYModelMapper removed from the docs
r1507 Q_PROPERTY(int firstColumn READ firstColumn WRITE setFirstColumn NOTIFY firstColumnChanged)
Q_PROPERTY(int columnCount READ columnCount WRITE setColumnCount NOTIFY columnCountChanged)
Marek Rosa
Added Vertical and Horizontal QXYModelMapper
r1252
public:
explicit QHXYModelMapper(QObject *parent = 0);
Marek Rosa
QXYModelMapper removed from the docs
r1507
Jani Honkonen
more coding style fixes for src-folder...
r2104 QAbstractItemModel *model() const;
Marek Rosa
QXYModelMapper removed from the docs
r1507 void setModel(QAbstractItemModel *model);
Jani Honkonen
more coding style fixes for src-folder...
r2104 QXYSeries *series() const;
Marek Rosa
QXYModelMapper removed from the docs
r1507 void setSeries(QXYSeries *series);
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097
Marek Rosa
Added Vertical and Horizontal QXYModelMapper
r1252 int xRow() const;
void setXRow(int xRow);
int yRow() const;
Marek Rosa
Added NOTIFY to XYModelMapper properties
r1477 void setYRow(int yRow);
Marek Rosa
QXYModelMapper removed from the docs
r1507 int firstColumn() const;
void setFirstColumn(int firstColumn);
int columnCount() const;
void setColumnCount(int columnCount);
Marek Rosa
Added NOTIFY to XYModelMapper properties
r1477 Q_SIGNALS:
Marek Rosa
QXYModelMapper removed from the docs
r1507 void seriesReplaced();
void modelReplaced();
Marek Rosa
Added NOTIFY to XYModelMapper properties
r1477 void xRowChanged();
void yRowChanged();
Marek Rosa
QXYModelMapper removed from the docs
r1507 void firstColumnChanged();
void columnCountChanged();
Marek Rosa
Added Vertical and Horizontal QXYModelMapper
r1252 };
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QHXYMODELMAPPER_H