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
qinputmethod_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
QINPUTMETHOD_P_H
5
#
define
QINPUTMETHOD_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QtGui
/
private
/
qtguiglobal_p
.
h
>
19
#
include
<
qinputmethod
.
h
>
20
#
include
<
private
/
qobject_p
.
h
>
21
#
include
<
QTransform
>
22
#
include
<
qpa
/
qplatforminputcontext
.
h
>
23
#
include
<
qpa
/
qplatformintegration
.
h
>
24
#
include
<
private
/
qguiapplication_p
.
h
>
25
26
QT_BEGIN_NAMESPACE
27
28
class
QInputMethodPrivate
:
public
QObjectPrivate
29
{
30
Q_DECLARE_PUBLIC(QInputMethod)
31
32
public
:
33
inline
QInputMethodPrivate
() :
testContext
(
nullptr
)
34
{}
35
QPlatformInputContext
*
platformInputContext
()
const
36
{
37
return
testContext
?
testContext
:
QGuiApplicationPrivate
::
platformIntegration
()->
inputContext
();
38
}
39
static
inline
QInputMethodPrivate
*
get
(
QInputMethod
*
inputMethod
)
40
{
41
return
inputMethod
->
d_func
();
42
}
43
44
void
_q_connectFocusObject
();
45
void
_q_checkFocusObject
(QObject *object);
46
static
bool
objectAcceptsInputMethod
(QObject *object);
47
48
QTransform
inputItemTransform
;
49
QRectF
inputRectangle
;
50
QPlatformInputContext
*
testContext
;
51
};
52
53
QT_END_NAMESPACE
54
55
#
endif
QInputMethodPrivate
Definition
qinputmethod_p.h:29
QInputMethodPrivate::objectAcceptsInputMethod
static bool objectAcceptsInputMethod(QObject *object)
Definition
qinputmethod.cpp:362
QInputMethodPrivate::_q_checkFocusObject
void _q_checkFocusObject(QObject *object)
QInputMethodPrivate::testContext
QPlatformInputContext * testContext
Definition
qinputmethod_p.h:50
QInputMethodPrivate::inputRectangle
QRectF inputRectangle
Definition
qinputmethod_p.h:49
QInputMethodPrivate::inputItemTransform
QTransform inputItemTransform
Definition
qinputmethod_p.h:48
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
qtbase
src
gui
kernel
qinputmethod_p.h
Generated on Mon Mar 10 2025 01:10:27 for Qt by
1.13.2