Revision control
++ // Copyright (C) 2015 Klaralvdalens Datakonsult AB (KDAB).
++ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
++
++ #ifndef QT3DRENDER_QPICKLINEEVENT_H
++ #define QT3DRENDER_QPICKLINEEVENT_H
++
++ #include <Qt3DRender/qpickevent.h>
++ #include <QtCore/qsharedpointer.h>
++
++ QT_BEGIN_NAMESPACE
++
++ namespace Qt3DRender {
++ class QPickLineEventPrivate;
++
++ class Q_3DRENDERSHARED_EXPORT QPickLineEvent : public QPickEvent
++ {
++ Q_OBJECT
++ Q_PROPERTY(uint edgeIndex READ edgeIndex CONSTANT)
++ Q_PROPERTY(uint vertex1Index READ vertex1Index CONSTANT)
++ Q_PROPERTY(uint vertex2Index READ vertex2Index CONSTANT)
++ public:
++ QPickLineEvent();
++ QPickLineEvent(const QPointF &position, const QVector3D& worldIntersection, const QVector3D& localIntersection, float distance,
++ uint edgeIndex, uint vertex1Index, uint vertex2Index, Buttons button, int buttons, int modifiers);
++ ~QPickLineEvent();
++
++ public:
++ uint edgeIndex() const;
++ uint vertex1Index() const;
++ uint vertex2Index() const;
++
++ private:
++ Q_DECLARE_PRIVATE(QPickLineEvent)
++ };
++
++ typedef QSharedPointer<QPickLineEvent> QPickLineEventPtr;
++
++ } // Qt3DRender
++
++ QT_END_NAMESPACE
++
++ #endif // QT3DRENDER_QPICKLINEEVENT_H