##// END OF EJS Templates
Fixed a bug with legend attach requiring a screen resize to update UI
Fixed a bug with legend attach requiring a screen resize to update UI

File last commit:

r1736:cb991e4e355f
r2034:40ab6eb6f3e9
Show More
chartelement.cpp
76 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
Michal Klocek
Refactors Chart to ChartElement
r1736 ChartElement::ChartElement(ChartPresenter *presenter):QObject(presenter),
Michal Klocek
Refactors animation handling for xyseries
r1217 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 {
m_presenter=presenter;
}
Michal Klocek
Refactors Chart to ChartElement
r1736 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 {
m_domain=domain;
}
Michal Klocek
Refactors Chart to ChartElement
r1736 Domain* ChartElement::domain() const
Michal Klocek
Refactors animation handling for xyseries
r1217 {
return m_domain;
}
Michal Klocek
Refactors Chart to ChartElement
r1736 void ChartElement::handleGeometryChanged(const QRectF& rect)
Michal Klocek
Add missing files from previous commit
r680 {
Q_UNUSED(rect);
qWarning()<<"Slot not implemented";
}
Michal Klocek
Refactors Chart to ChartElement
r1736 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);
qWarning()<<"Slot not implemented";
}
Michal Klocek
Refactors Chart to ChartElement
r1736 void ChartElement::handleDomainUpdated()
Michal Klocek
Refactors Domain and Axis...
r1698 {
qWarning()<<"Slot not implemented";
}
Michal Klocek
Refactors Chart to ChartElement
r1736 #include "moc_chartelement_p.cpp"
Michal Klocek
Add missing files from previous commit
r680
QTCOMMERCIALCHART_END_NAMESPACE