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>.
|
#include "qwindowsinputcontext.h"
#include "qwindowscontext.h"
#include "qwindowswindow.h"
#include "qwindowsintegration.h"
#include "qwindowsmousehandler.h"
#include <QtCore/qdebug.h>
#include <QtCore/qobject.h>
#include <QtCore/qrect.h>
#include <QtCore/qtextboundaryfinder.h>
#include <QtGui/qevent.h>
#include <QtGui/qtextformat.h>
#include <QtGui/qpalette.h>
#include <QtGui/qguiapplication.h>
#include <private/qhighdpiscaling_p.h>
#include <algorithm>
Go to the source code of this file.
Enumerations | |
enum | StandardFormat { PreeditFormat , SelectionFormat } |
Functions | |
static QT_BEGIN_NAMESPACE QByteArray | debugComposition (int lParam) |
static void | imeNotifyCancelComposition (HWND hwnd) |
static LCID | languageIdFromLocaleId (LCID localeId) |
static LCID | currentInputLanguageId () |
Q_CORE_EXPORT QLocale | qt_localeFromLCID (LCID id) |
static QString | getCompositionString (HIMC himc, DWORD dwIndex) |
static void | getCompositionStringConvertedRange (HIMC himc, int *selStart, int *selLength) |
static QTextFormat | standardFormat (StandardFormat format) |
static QList< QInputMethodEvent::Attribute > | intermediateMarkup (int position, int compositionLength, int selStart, int selLength) |
enum StandardFormat |
Enumerator | |
---|---|
PreeditFormat | |
SelectionFormat |
Definition at line 388 of file qwindowsinputcontext.cpp.
|
inlinestatic |
Definition at line 63 of file qwindowsinputcontext.cpp.
References languageIdFromLocaleId().
|
inlinestatic |
Definition at line 26 of file qwindowsinputcontext.cpp.
References str.
Referenced by QWindowsInputContext::composition().
|
inlinestatic |
Definition at line 359 of file qwindowsinputcontext.cpp.
References QString::fromWCharArray().
Referenced by QWindowsInputContext::composition().
|
inlinestatic |
Definition at line 368 of file qwindowsinputcontext.cpp.
Referenced by QWindowsInputContext::composition().
|
inlinestatic |
Definition at line 47 of file qwindowsinputcontext.cpp.
References qWarning.
Referenced by QWindowsInputContext::endComposition(), and QWindowsInputContext::reset().
|
inlinestatic |
Definition at line 457 of file qwindowsinputcontext.cpp.
References QInputMethodEvent::Cursor, position(), PreeditFormat, SelectionFormat, standardFormat(), and QInputMethodEvent::TextFormat.
Referenced by QWindowsInputContext::composition().
|
inlinestatic |
Definition at line 58 of file qwindowsinputcontext.cpp.
Referenced by currentInputLanguageId(), and QWindowsInputContext::handleInputLanguageChanged().
Q_CORE_EXPORT QLocale qt_localeFromLCID | ( | LCID | id | ) |
Definition at line 1175 of file qlocale_win.cpp.
References QString::fromLatin1(), and getWinLocaleName().
Referenced by QWindowsInputContext::handleInputLanguageChanged().
|
inlinestatic |
Definition at line 393 of file qwindowsinputcontext.cpp.
References QTextCharFormat::DashUnderline, QGuiApplication::palette(), palette, PreeditFormat, SelectionFormat, and QTextCharFormat::setUnderlineStyle().
Referenced by intermediateMarkup().