![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qshortcut.h"
#include "private/qshortcut_p.h"
#include "private/qwidget_p.h"
#include <qevent.h>
#include <qapplication.h>
#include <private/qapplication_p.h>
#include <private/qshortcutmap_p.h>
#include <private/qwidgetwindow_p.h>
#include <qpa/qplatformmenu.h>
Go to the source code of this file.
Classes | |
class | QtWidgetsShortcutPrivate |
Functions | |
static QT_BEGIN_NAMESPACE bool | correctWidgetContext (Qt::ShortcutContext context, QWidget *w, QWidget *active_window) |
bool | qWidgetShortcutContextMatcher (QObject *object, Qt::ShortcutContext context) |
|
static |
Definition at line 102 of file qshortcut_widgets.cpp.
bool qWidgetShortcutContextMatcher | ( | QObject * | object, |
Qt::ShortcutContext | context ) |
Returns true
if the widget w is a logical sub window of the current top-level widget.
Definition at line 44 of file qshortcut_widgets.cpp.