1// Copyright (C) 2023 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the QtGraphs API. It exists purely as an
9// implementation detail. This header file may change from version to
10// version without notice, or even be removed.
11//
12// We mean it.
13
14#ifndef QITEMMODELSCATTERDATAPROXY_P_H
15#define QITEMMODELSCATTERDATAPROXY_P_H
16
17#include "qitemmodelscatterdataproxy.h"
18#include "qscatterdataproxy_p.h"
19
20QT_BEGIN_NAMESPACE
21
22class ScatterItemModelHandler;
23
24class QItemModelScatterDataProxyPrivate : public QScatterDataProxyPrivate
25{
26 Q_DECLARE_PUBLIC(QItemModelScatterDataProxy)
27
28public:
29 QItemModelScatterDataProxyPrivate(QItemModelScatterDataProxy *q);
30 virtual ~QItemModelScatterDataProxyPrivate();
31
32 void connectItemModelHandler();
33
34private:
35 ScatterItemModelHandler *m_itemModelHandler;
36 QString m_xPosRole;
37 QString m_yPosRole;
38 QString m_zPosRole;
39 QString m_rotationRole;
40
41 QRegularExpression m_xPosRolePattern;
42 QRegularExpression m_yPosRolePattern;
43 QRegularExpression m_zPosRolePattern;
44 QRegularExpression m_rotationRolePattern;
45
46 QString m_xPosRoleReplace;
47 QString m_yPosRoleReplace;
48 QString m_zPosRoleReplace;
49 QString m_rotationRoleReplace;
50};
51
52QT_END_NAMESPACE
53
54#endif
55

source code of qtgraphs/src/graphs/data/qitemmodelscatterdataproxy_p.h