Krita Source Code Documentation
Loading...
Searching...
No Matches
KisPopupWidgetAction.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2012 Arjen Hiemstra <ahiemstra@heimr.nl>
3 * SPDX-FileCopyrightText: 2021 Emmet O 'Neill <emmetoneill.pdx@gmail.com>
4 * SPDX-FileCopyrightText: 2021 Eoin O 'Neill <eoinoneill1991@gmail.com>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9#ifndef KIS_POPUP_WIDGET_ACTION_H
10#define KIS_POPUP_WIDGET_ACTION_H
11
13
14#include <QObject>
15#include <QMainWindow>
16
17#include "kis_global.h"
18#include "kis_debug.h"
19#include "kis_canvas2.h"
21class QMenu;
22
23
27class KisPopupWidgetAction : public QObject, public KisAbstractInputAction
28{
29 Q_OBJECT
30
31public:
32 explicit KisPopupWidgetAction();
33 ~KisPopupWidgetAction() override;
34
35 int priority() const override {return 1;}
36
37 void end(QEvent *) override;
38
39private:
41};
42
43#endif // KIS_POPUP_WIDGET_ACTION_H
Abstract base class for input actions.
Get the current tool's popup widget and display it.
int priority() const override
void end(QEvent *) override