diff options
author | Tomi Korpipää <tomi.korpipaa@theqtcompany.com> | 2016-05-25 07:00:50 +0300 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-05-25 19:52:23 +0000 |
commit | e7171fea8981c695274746449d98f1243e1f6a0b (patch) | |
tree | a4ffb6997aafef10e3665570f91a18241221d5fa /src/input/frontend/qmousehandler.cpp | |
parent | 78ce47be07d077f26a1542c8cd84b8f788834e1a (diff) |
Add doc skeleton for Qt3DInput
Conflicts:
src/input/frontend/qanalogaxisinput.cpp
src/input/frontend/qaxis.cpp
src/input/frontend/qaxissetting.cpp
src/input/frontend/qbuttonaxisinput.cpp
src/input/frontend/qinputsettings.cpp
src/input/frontend/qmousedevice.cpp
Change-Id: Ic3e06179f745520d9c49af8d8242af360cbd20d8
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/input/frontend/qmousehandler.cpp')
-rw-r--r-- | src/input/frontend/qmousehandler.cpp | 53 |
1 files changed, 51 insertions, 2 deletions
diff --git a/src/input/frontend/qmousehandler.cpp b/src/input/frontend/qmousehandler.cpp index 7fa7f9f2d..9f99ac5db 100644 --- a/src/input/frontend/qmousehandler.cpp +++ b/src/input/frontend/qmousehandler.cpp @@ -115,6 +115,51 @@ void QMouseHandlerPrivate::mouseEvent(QMouseEvent *event) */ /*! + \qmlproperty MouseDevice Qt3D.Input::MouseHandler::sourceDevice + */ + +/*! + \qmlproperty bool Qt3D.Input::MouseHandler::containsMouse + \readonly + */ + +/*! + \qmlsignal Qt3D.Input::MouseHandler::clicked() + */ + +/*! + \qmlsignal Qt3D.Input::MouseHandler::doubleClicked() + */ + +/*! + \qmlsignal Qt3D.Input::MouseHandler::entered() + */ + +/*! + \qmlsignal Qt3D.Input::MouseHandler::exited() + */ + +/*! + \qmlsignal Qt3D.Input::MouseHandler::pressed() + */ + +/*! + \qmlsignal Qt3D.Input::MouseHandler::released() + */ + +/*! + \qmlsignal Qt3D.Input::MouseHandler::pressAndHold() + */ + +/*! + \qmlsignal Qt3D.Input::MouseHandler::positionChanged() + */ + +/*! + \qmlsignal Qt3D.Input::MouseHandler::wheel() + */ + +/*! * Constructs a new QMouseHandler instance with parent \a parent. */ QMouseHandler::QMouseHandler(QNode *parent) @@ -139,7 +184,9 @@ void QMouseHandler::setSourceDevice(QMouseDevice *mouseDevice) } /*! - * Returns the current mouse source device of the QMouseHandler instance. + * \property QMouseHandler::sourceDevice + * + * Holds the current mouse source device of the QMouseHandler instance. */ QMouseDevice *QMouseHandler::sourceDevice() const { @@ -148,7 +195,9 @@ QMouseDevice *QMouseHandler::sourceDevice() const } /*! - * Returns \c true if the QMouseHandler currently contains the mouse. + * \property QMouseHandler::containsMouse + * + * Holds \c true if the QMouseHandler currently contains the mouse. * * \note In this context, contains mean that the ray originating from the * mouse is intersecting with the Qt3DCore::QEntity that aggregates the current |