chartelement_p.h
65 lines
| 1.8 KiB
| text/x-c
|
CLexer
/ src / chartelement_p.h
|
r794 | /**************************************************************************** | ||
** | ||||
|
r2432 | ** Copyright (C) 2013 Digia Plc | ||
|
r794 | ** All rights reserved. | ||
** For any questions to Digia, please use contact form at http://qt.digia.com | ||||
** | ||||
|
r2574 | ** This file is part of the Qt Enterprise Charts Add-on. | ||
|
r794 | ** | ||
** $QT_BEGIN_LICENSE$ | ||||
|
r2574 | ** Licensees holding valid Qt Enterprise licenses may use this file in | ||
** accordance with the Qt Enterprise License Agreement provided with the | ||||
|
r794 | ** 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$ | ||||
** | ||||
****************************************************************************/ | ||||
|
r1366 | // W A R N I N G | ||
// ------------- | ||||
// | ||||
|
r2574 | // This file is not part of the Qt Enterprise Chart API. It exists purely as an | ||
|
r1366 | // implementation detail. This header file may change from version to | ||
// version without notice, or even be removed. | ||||
// | ||||
// We mean it. | ||||
|
r1736 | #ifndef CHARTELEMENT_H | ||
#define CHARTELEMENT_H | ||||
|
r680 | |||
#include "qchartglobal.h" | ||||
|
r996 | #include <QObject> | ||
|
r682 | #include <QRect> | ||
|
r2273 | #include <QGraphicsObject> | ||
|
r680 | |||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
class ChartAnimator; | ||||
class ChartPresenter; | ||||
|
r1217 | class ChartAnimation; | ||
|
r2273 | class ChartThemeManager; | ||
|
r2275 | class AbstractDomain; | ||
|
r680 | |||
|
r2273 | class ChartElement: public QGraphicsObject | ||
|
r680 | { | ||
|
r2273 | |||
|
r680 | public: | ||
|
r2273 | explicit ChartElement(QGraphicsItem* item = 0); | ||
|
r680 | |||
|
r2104 | virtual ChartAnimation *animation() const { return 0; } | ||
|
r2273 | virtual void setPresenter(ChartPresenter *presenter); | ||
|
r2104 | ChartPresenter *presenter() const; | ||
|
r2273 | virtual void setThemeManager(ChartThemeManager *manager); | ||
ChartThemeManager* themeManager() const; | ||||
|
r680 | |||
private: | ||||
|
r2104 | ChartPresenter *m_presenter; | ||
|
r2273 | ChartThemeManager *m_themeManager; | ||
|
r680 | }; | ||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
#endif | ||||