Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_gamma_exposure_action.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KIS_GAMMA_EXPOSURE_ACTION_H
8#define __KIS_GAMMA_EXPOSURE_ACTION_H
9
11
12
14{
15public:
32 explicit KisGammaExposureAction();
33 ~KisGammaExposureAction() override;
34
35 int priority() const override;
36
37 void activate(int shortcut) override;
38 void deactivate(int shortcut) override;
39
40 void begin(int shortcut, QEvent *event = nullptr) override;
41 void cursorMovedAbsolute(const QPointF &lastPos, const QPointF &pos) override;
42
43 bool isShortcutRequired(int shortcut) const override;
44
45private:
46 class Private;
47 Private * const d {nullptr};
48};
49
50#endif /* __KIS_GAMMA_EXPOSURE_ACTION_H */
Abstract base class for input actions.
bool isShortcutRequired(int shortcut) const override
void begin(int shortcut, QEvent *event=nullptr) override
void cursorMovedAbsolute(const QPointF &lastPos, const QPointF &pos) override
void deactivate(int shortcut) override
void activate(int shortcut) override