1// Copyright (C) 2016 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 QtDataVisualization 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_OBJECT
27public:
28 QItemModelScatterDataProxyPrivate(QItemModelScatterDataProxy *q);
29 virtual ~QItemModelScatterDataProxyPrivate();
30
31 void connectItemModelHandler();
32
33private:
34 QItemModelScatterDataProxy *qptr();
35
36 ScatterItemModelHandler *m_itemModelHandler;
37 QString m_xPosRole;
38 QString m_yPosRole;
39 QString m_zPosRole;
40 QString m_rotationRole;
41
42 QRegularExpression m_xPosRolePattern;
43 QRegularExpression m_yPosRolePattern;
44 QRegularExpression m_zPosRolePattern;
45 QRegularExpression m_rotationRolePattern;
46
47 QString m_xPosRoleReplace;
48 QString m_yPosRoleReplace;
49 QString m_zPosRoleReplace;
50 QString m_rotationRoleReplace;
51
52 friend class ScatterItemModelHandler;
53 friend class QItemModelScatterDataProxy;
54};
55
56QT_END_NAMESPACE
57
58#endif
59

source code of qtdatavis3d/src/datavisualization/data/qitemmodelscatterdataproxy_p.h