/* This file is part of KDDockWidgets. SPDX-FileCopyrightText: 2020-2022 Klarälvdalens Datakonsult AB, a KDAB Group company Author: Sérgio Martins SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only Contact KDAB at for commercial licensing options. */ #pragma once #include class QMouseEvent; namespace KDDockWidgets { class Window; class View; class EventFilterInterface { public: virtual ~EventFilterInterface(); /// @brief Override to handle expose events for a certain window virtual bool onExposeEvent(std::shared_ptr) { return false; } /// @brief OVerride to handle when a view receives a mouse press event virtual bool onMouseButtonPress(std::shared_ptr, QMouseEvent *) { return false; } }; }