ACF $AcfVersion:0$
IMouseActionObserver.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// Qt includes
6#include <qnamespace.h>
7
8
9// ACF includes
10#include <istd/IPolymorphic.h>
11
12#include <iview/iview.h>
13
14
15namespace iview
16{
17
18
23{
24public:
31 virtual bool OnMouseButton(istd::CIndex2d position, Qt::MouseButton buttonType, bool downFlag) = 0;
32
39 virtual bool OnMouseMove(istd::CIndex2d position) = 0;
40};
41
42
43} // namespace iview
44
45
46
47
Index implementation for addressing elements in 2D-space.
Definition CIndex2d.h:21
Base interface for all used interfaces and implementations.
Common interface for all shapes which are mouse events receiver.
virtual bool OnMouseButton(istd::CIndex2d position, Qt::MouseButton buttonType, bool downFlag)=0
It is called, when mouse button is pushed down or up on this object.
virtual bool OnMouseMove(istd::CIndex2d position)=0
It is called, when mouse is moved.
In this library is defined 2D view concept and standard visualisation objects.