KChart

ChartGraphicsItem.h
1/*
2 * SPDX-FileCopyrightText: 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved.
3 *
4 * This file is part of the KD Chart library.
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9#ifndef CHARTGRAPHICSITEM_H
10#define CHARTGRAPHICSITEM_H
11
12#include <QGraphicsPolygonItem>
13
14namespace KChart {
15
16 /**
17 * @brief Graphics item used inside of the ReverseMapper
18 * \internal
19 */
21 {
22 public:
23 enum { Type = UserType + 1 };
24
26
27 ChartGraphicsItem( int row, int column );
28
29 int row() const { return m_row; }
30 int column() const { return m_column; }
31 int type() const override { return Type; }
32
33 private:
34 int m_row;
35 int m_column;
36 };
37
38}
39
40#endif
Graphics item used inside of the ReverseMapper.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:04:16 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.