diff options
author | Marco Bubke <marco.bubke@qt.io> | 2022-11-02 13:58:34 +0100 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2022-11-09 12:29:38 +0000 |
commit | 63022d08ea8f9f04a75d301602e639b83b1b7396 (patch) | |
tree | 99fbbfeafcb1ad0b4600f5d63b8071678894e8a5 /share/qtcreator/qml/qmlpuppet/qml2puppet/editor3d/linegeometry.h | |
parent | ac526d326cab6f19955cec4e19c73bc309bd96c8 (diff) |
QmlDesigner: QmlPuppet as standalone tool
The qmlpuppet is now a standalone tool. There is new a library too with
the communication code. That is shared between the designer and the
puppet. It's in a .cmake file so it can be included by the standalone
tool if it is not part of a designer build.
Task-number: QDS-5879
Change-Id: I2bc2a0b463fbb3e0c8c23d182abfd368cf87e968
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'share/qtcreator/qml/qmlpuppet/qml2puppet/editor3d/linegeometry.h')
-rw-r--r-- | share/qtcreator/qml/qmlpuppet/qml2puppet/editor3d/linegeometry.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/qml2puppet/editor3d/linegeometry.h b/share/qtcreator/qml/qmlpuppet/qml2puppet/editor3d/linegeometry.h deleted file mode 100644 index 79ac58721d..0000000000 --- a/share/qtcreator/qml/qmlpuppet/qml2puppet/editor3d/linegeometry.h +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (C) 2020 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0 - -#pragma once - -#ifdef QUICK3D_MODULE - -#include "geometrybase.h" - -#include <QtGui/QVector3D> - -namespace QmlDesigner { -namespace Internal { - -class LineGeometry : public GeometryBase -{ - Q_OBJECT - Q_PROPERTY(QVector3D startPos READ startPos WRITE setStartPos NOTIFY startPosChanged) - Q_PROPERTY(QVector3D endPos READ endPos WRITE setEndPos NOTIFY endPosChanged) - -public: - LineGeometry(); - ~LineGeometry() override; - - QVector3D startPos() const; - QVector3D endPos() const; - -public slots: - void setStartPos(const QVector3D &pos); - void setEndPos(const QVector3D &pos); - -signals: - void startPosChanged(); - void endPosChanged(); - -protected: - void doUpdateGeometry() override; - -private: - QVector3D m_startPos; - QVector3D m_endPos; -}; - -} -} - -QML_DECLARE_TYPE(QmlDesigner::Internal::LineGeometry) - -#endif // QUICK3D_MODULE |