##// END OF EJS Templates
fixed crash in legendmarker when calling update from private constructor
fixed crash in legendmarker when calling update from private constructor

File last commit:

r2104:f8a933676fbd
r2227:d68dfe34c17e
Show More
chartelement.cpp
77 lines | 1.8 KiB | text/x-c | CppLexer
/ src / chartelement.cpp
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$
**
****************************************************************************/
Michal Klocek
Refactors Chart to ChartElement
r1736 #include "chartelement_p.h"
Michal Klocek
Add missing files from previous commit
r680 #include "chartpresenter_p.h"
Michal Klocek
Refactors animation handling for xyseries
r1217 #include "domain_p.h"
Michal Klocek
Add missing files from previous commit
r680
QTCOMMERCIALCHART_BEGIN_NAMESPACE
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 ChartElement::ChartElement(ChartPresenter *presenter)
: QObject(presenter),
m_presenter(presenter),
m_domain(0)
Michal Klocek
Add missing files from previous commit
r680 {
Tero Ahola
Internal review: Removed extra semicolons
r760 }
Michal Klocek
Add missing files from previous commit
r680
Michal Klocek
Refactors Chart to ChartElement
r1736 void ChartElement::setPresenter(ChartPresenter *presenter)
Michal Klocek
Refactors animation handling for xyseries
r1217 {
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 m_presenter = presenter;
Michal Klocek
Refactors animation handling for xyseries
r1217 }
Jani Honkonen
more coding style fixes for src-folder...
r2104 ChartPresenter *ChartElement::presenter() const
Michal Klocek
Add missing files from previous commit
r680 {
return m_presenter;
}
Michal Klocek
Refactors Chart to ChartElement
r1736 void ChartElement::setDomain(Domain *domain)
Michal Klocek
Refactors animation handling for xyseries
r1217 {
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 m_domain = domain;
Michal Klocek
Refactors animation handling for xyseries
r1217 }
Jani Honkonen
more coding style fixes for src-folder...
r2104 Domain *ChartElement::domain() const
Michal Klocek
Refactors animation handling for xyseries
r1217 {
return m_domain;
}
Jani Honkonen
more coding style fixes for src-folder...
r2104 void ChartElement::handleGeometryChanged(const QRectF &rect)
Michal Klocek
Add missing files from previous commit
r680 {
Q_UNUSED(rect);
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 qWarning() << "Slot not implemented";
Michal Klocek
Add missing files from previous commit
r680 }
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 void ChartElement::handleDomainChanged(qreal minX, qreal maxX, qreal minY, qreal maxY)
Michal Klocek
Add missing files from previous commit
r680 {
Q_UNUSED(minX);
Q_UNUSED(maxX);
Q_UNUSED(minY);
Q_UNUSED(maxY);
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 qWarning() << "Slot not implemented";
Michal Klocek
Add missing files from previous commit
r680 }
Michal Klocek
Refactors Chart to ChartElement
r1736 void ChartElement::handleDomainUpdated()
Michal Klocek
Refactors Domain and Axis...
r1698 {
Jani Honkonen
astyle and manual coding style fixes for src-folder
r2097 qWarning() << "Slot not implemented";
Michal Klocek
Refactors Domain and Axis...
r1698 }
Michal Klocek
Refactors Chart to ChartElement
r1736 #include "moc_chartelement_p.cpp"
Michal Klocek
Add missing files from previous commit
r680
QTCOMMERCIALCHART_END_NAMESPACE