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 ~QItemModelScatterDataProxyPrivate() override;
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 QString m_scaleRole;
41
42 QRegularExpression m_xPosRolePattern;
43 QRegularExpression m_yPosRolePattern;
44 QRegularExpression m_zPosRolePattern;
45 QRegularExpression m_rotationRolePattern;
46 QRegularExpression m_scaleRolePattern;
47
48 QString m_xPosRoleReplace;
49 QString m_yPosRoleReplace;
50 QString m_zPosRoleReplace;
51 QString m_rotationRoleReplace;
52 QString m_scaleRoleReplace;
53};
54
55QT_END_NAMESPACE
56
57#endif
58

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