Index: sources/view/VEventSpy.cpp =================================================================== diff -u -rda52c90a17adea2160ac93042e0632a4cda46b1a -r12e7b6dda53cf8db7707c7fa55dcf6137e7d6997 --- sources/view/VEventSpy.cpp (.../VEventSpy.cpp) (revision da52c90a17adea2160ac93042e0632a4cda46b1a) +++ sources/view/VEventSpy.cpp (.../VEventSpy.cpp) (revision 12e7b6dda53cf8db7707c7fa55dcf6137e7d6997) @@ -2,13 +2,14 @@ * * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. * \copyright - * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, - * IN PART OR IN WHOLE, - * WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. + * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN + * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * - * \file VEventSpy.cpp - * \date 8/21/2020 - * \author Behrouz NematiPour + * \file VEventSpy.cpp + * \author (last) Behrouz NematiPour + * \date (last) 23-Aug-2020 + * \author (original) Behrouz NematiPour + * \date (original) 23-Aug-2020 * */ #include "VEventSpy.h" @@ -18,8 +19,8 @@ #include // Project -#include "guiglobals.h" -#include "logger.h" +#include "GuiGlobals.h" +#include "Logger.h" using namespace View; @@ -40,6 +41,12 @@ } } +/*! + * \brief VEventSpy::onEventSpy + * \details the event handler slot which receives all the events of the UI from Gui::_viewer + * depending on type of the event calls corresponding method. + * \param vEvent - the event + */ void VEventSpy::onEventSpy(QEvent *vEvent) { QEvent::Type mType = vEvent->type(); switch (mType) { @@ -68,8 +75,9 @@ /*! * \brief VEventSpy::mouseEventSpy - * \param vEvent - * \param typeName + * \details Mouse event spy + * \param vEvent - mouse event + * \param typeName - mouse button type name */ // coco begin validated: this code has been manually tested. // the only intention of this code is to be used for EMC testing and has been tested and is working fine. @@ -111,13 +119,17 @@ // coco begin validated: this code has been manually tested. // the only intention of this code is to be used for EMC testing and has been tested and is working fine. +/*! + * \brief VEventSpy::doMouseReset + * \details mouse event count reset + */ void VEventSpy::doMouseReset() { mouseCount(0); } // coco end /*! * \brief VEventSpy::touchEventSpy - * \param vEvent - * \param typeName + * \param vEvent - touch event + * \param typeName - The type of the QEvent which has been shortened e.g. tB: TouchBegin */ // coco begin validated: this code has been manually tested. // the only intention of this code is to be used for EMC testing and has been tested and is working fine. @@ -150,5 +162,9 @@ // coco begin validated: this code has been manually tested. // the only intention of this code is to be used for EMC testing and has been tested and is working fine. +/*! + * \brief VEventSpy::doTouchReset + * \details touch event counter reset + */ void VEventSpy::doTouchReset() { touchCount(0); } // coco end