Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qshortcut_widgets.cpp File Reference

(8825bcdbdab5f37b185261d7ba06260dc8e9930d)

#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>
Include dependency graph for qshortcut_widgets.cpp:

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)

Function Documentation

◆ correctWidgetContext()

bool correctWidgetContext ( Qt::ShortcutContext context,
QWidget * w,
QWidget * active_window )
static

Definition at line 102 of file qshortcut_widgets.cpp.

◆ qWidgetShortcutContextMatcher()

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.