Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
src_gui_accessible_qaccessible.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3#include <QAccessible>
4
7{
8 void setFocus(Qt::FocusReason reason);
9};
10QAccessibleInterface *f = nullptr;
11
13typedef QAccessibleInterface *myFactoryFunction(const QString &key, QObject *);
15
18{
19 // handle custom focus setting...
20 QAccessibleEvent event(f, QAccessible::Focus);
21 QAccessible::updateAccessibility(&event);
22}
24
25} // src_gui_accessible_qaccessible
\inmodule QtCore
Definition qobject.h:103
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
void setFocus()
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition qwidget.h:423
FocusReason
QAccessibleInterface * myFactoryFunction(const QString &key, QObject *)
[1]
GLuint64 key
GLfloat GLfloat f
struct _cl_event * event