| 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 | |
| 20 | QT_BEGIN_NAMESPACE |
| 21 | |
| 22 | class ScatterItemModelHandler; |
| 23 | |
| 24 | class QItemModelScatterDataProxyPrivate : public QScatterDataProxyPrivate |
| 25 | { |
| 26 | Q_DECLARE_PUBLIC(QItemModelScatterDataProxy) |
| 27 | |
| 28 | public: |
| 29 | QItemModelScatterDataProxyPrivate(QItemModelScatterDataProxy *q); |
| 30 | ~QItemModelScatterDataProxyPrivate() override; |
| 31 | |
| 32 | void connectItemModelHandler(); |
| 33 | |
| 34 | private: |
| 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 | |
| 52 | QT_END_NAMESPACE |
| 53 | |
| 54 | #endif |
| 55 |
