Krita Source Code Documentation
Loading...
Searching...
No Matches
KisGrabKeyboardFocusRecoveryWorkaround.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2024 Deif Lou <ginoba@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISGRABKEYBOARDFOCUSRECOVERYWORKAROUND_H
8#define KISGRABKEYBOARDFOCUSRECOVERYWORKAROUND_H
9
10#include <QScopedPointer>
11
12#include "kritaui_export.h"
13
35{
36public:
38
39 void recoverFocus();
40
41private:
42 class Private;
43 QScopedPointer<Private> m_d;
44
47};
48
49#endif
PythonPluginManager * instance
Background: For some reason, when using a combination of 'grabKeyboard' and 'releaseKeyboard' (e....