Qt 4.8
|
#include "qwininputcontext_p.h"
#include "qinputcontext_p.h"
#include "qfont.h"
#include "qwidget.h"
#include "qapplication.h"
#include "qevent.h"
#include "qtextformat.h"
#include "qtextboundaryfinder.h"
Go to the source code of this file.
Macros | |
#define | IFMETHOD HRESULT STDMETHODCALLTYPE |
#define | LGRPID_ARABIC 0x000d |
#define | LGRPID_ARMENIAN 0x0011 |
#define | LGRPID_BALTIC 0x0003 |
#define | LGRPID_CENTRAL_EUROPE 0x0002 |
#define | LGRPID_CYRILLIC 0x0005 |
#define | LGRPID_GEORGIAN 0x0010 |
#define | LGRPID_GREEK 0x0004 |
#define | LGRPID_HEBREW 0x000c |
#define | LGRPID_INDIC 0x000f |
#define | LGRPID_INSTALLED 0x00000001 |
#define | LGRPID_JAPANESE 0x0007 |
#define | LGRPID_KOREAN 0x0008 |
#define | LGRPID_SIMPLIFIED_CHINESE 0x000a |
#define | LGRPID_SUPPORTED 0x00000002 |
#define | LGRPID_THAI 0x000b |
#define | LGRPID_TRADITIONAL_CHINESE 0x0009 |
#define | LGRPID_TURKISH 0x0006 |
#define | LGRPID_VIETNAMESE 0x000e |
#define | LGRPID_WESTERN_EUROPE 0x0001 |
Enumerations | |
enum | StandardFormat { PreeditFormat, SelectionFormat } |
Functions | |
virtual IFMETHOD | Activate (BOOL fRestoreLayout)=0 |
virtual IFMETHOD | AssociateContextEx (HWND hWnd, HIMC hIMC, DWORD dwFlags)=0 |
virtual IFMETHOD | ConfigureIMEW (HKL hKL, HWND hWnd, DWORD dwMode, REGISTERWORDW __RPC_FAR *pData)=0 |
virtual IFMETHOD | CreateContext (HIMC __RPC_FAR *phIMC)=0 |
virtual IFMETHOD | Deactivate (void)=0 |
DEFINE_GUID (IID_IActiveIMMApp, 0x08c0e040, 0x62d1, 0x11d1, 0x93, 0x26, 0x0, 0x60, 0xb0, 0x67, 0xb8, 0x6e) | |
DEFINE_GUID (CLSID_CActiveIMM, 0x4955DD33, 0xB159, 0x11d0, 0x8F, 0xCF, 0x0, 0xAA, 0x00, 0x6B, 0xCC, 0x59) | |
DEFINE_GUID (IID_IActiveIMMMessagePumpOwner, 0xb5cf2cfa, 0x8aeb, 0x11d1, 0x93, 0x64, 0x0, 0x60, 0xb0, 0x67, 0xb8, 0x6e) | |
virtual IFMETHOD | DestroyContext (HIMC hIME)=0 |
virtual IFMETHOD | DisableIME (DWORD idThread)=0 |
virtual IFMETHOD | dummy_ConfigureIMEA ()=0 |
virtual IFMETHOD | dummy_EnumRegisterWordA ()=0 |
virtual IFMETHOD | dummy_EscapeA ()=0 |
virtual IFMETHOD | dummy_GetCandidateListA ()=0 |
virtual IFMETHOD | dummy_GetCandidateListCountA ()=0 |
virtual IFMETHOD | dummy_GetCodePageA ()=0 |
virtual IFMETHOD | dummy_GetCompositionFontA ()=0 |
virtual IFMETHOD | dummy_GetCompositionStringA ()=0 |
virtual IFMETHOD | dummy_GetConversionListA ()=0 |
virtual IFMETHOD | dummy_GetDescriptionA ()=0 |
virtual IFMETHOD | dummy_GetGuideLineA ()=0 |
virtual IFMETHOD | dummy_GetIMEFileNameA ()=0 |
virtual IFMETHOD | dummy_GetImeMenuItemsA ()=0 |
virtual IFMETHOD | dummy_GetRegisterWordStyleA ()=0 |
virtual IFMETHOD | dummy_InstallIMEA ()=0 |
virtual IFMETHOD | dummy_IsUIMessageA ()=0 |
virtual IFMETHOD | dummy_RegisterWordA ()=0 |
virtual IFMETHOD | dummy_SetCompositionStringA ()=0 |
virtual IFMETHOD | dummy_UnregisterWordA ()=0 |
void | enableIme (QWidget *w, bool value) |
virtual IFMETHOD | End (void)=0 |
virtual IFMETHOD | EnumInputContext (DWORD idThread, IEnumInputContext __RPC_FAR *__RPC_FAR *ppEnum)=0 |
virtual IFMETHOD | EnumRegisterWordW (HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szRegister, LPVOID pData, IEnumRegisterWordW __RPC_FAR *__RPC_FAR *pEnum)=0 |
virtual IFMETHOD | EscapeW (HKL hKL, HIMC hIMC, UINT uEscape, LPVOID pData, LRESULT __RPC_FAR *plResult)=0 |
virtual IFMETHOD | FilterClientWindows (ATOM __RPC_FAR *aaClassList, UINT uSize)=0 |
QWidget * | findParentforPopup (QWidget *w) |
virtual IFMETHOD | GetCandidateListCountW (HIMC hIMC, DWORD __RPC_FAR *pdwListSize, DWORD __RPC_FAR *pdwBufLen)=0 |
virtual IFMETHOD | GetCandidateListW (HIMC hIMC, DWORD dwIndex, UINT uBufLen, CANDIDATELIST __RPC_FAR *pCandList, UINT __RPC_FAR *puCopied)=0 |
virtual IFMETHOD | GetCandidateWindow (HIMC hIMC, DWORD dwIndex, CANDIDATEFORM __RPC_FAR *pCandidate)=0 |
virtual IFMETHOD | GetCompositionFontW (HIMC hIMC, LOGFONTW __RPC_FAR *plf)=0 |
static LONG | getCompositionString (HIMC himc, DWORD dwIndex, LPVOID lpbuf, DWORD dBufLen) |
virtual IFMETHOD | GetCompositionStringW (HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LONG __RPC_FAR *plCopied, LPVOID pBuf)=0 |
virtual IFMETHOD | GetCompositionWindow (HIMC hIMC, COMPOSITIONFORM __RPC_FAR *pCompForm)=0 |
virtual IFMETHOD | GetContext (HWND hWnd, HIMC __RPC_FAR *phIMC)=0 |
static HIMC | getContext (HWND wnd) |
virtual IFMETHOD | GetConversionListW (HKL hKL, HIMC hIMC, LPWSTR pSrc, UINT uBufLen, UINT uFlag, CANDIDATELIST __RPC_FAR *pDst, UINT __RPC_FAR *puCopied)=0 |
virtual IFMETHOD | GetConversionStatus (HIMC hIMC, DWORD __RPC_FAR *pfdwConversion, DWORD __RPC_FAR *pfdwSentence)=0 |
static int | getCursorPosition (HIMC himc) |
virtual IFMETHOD | GetDefaultIMEWnd (HWND hWnd, HWND __RPC_FAR *phDefWnd)=0 |
static HWND | getDefaultIMEWnd (HWND wnd) |
virtual IFMETHOD | GetDescriptionW (HKL hKL, UINT uBufLen, LPWSTR szDescription, UINT __RPC_FAR *puCopied)=0 |
virtual IFMETHOD | GetGuideLineW (HIMC hIMC, DWORD dwIndex, DWORD dwBufLen, LPWSTR pBuf, DWORD __RPC_FAR *pdwResult)=0 |
virtual IFMETHOD | GetIMEFileNameW (HKL hKL, UINT uBufLen, LPWSTR szFileName, UINT __RPC_FAR *puCopied)=0 |
virtual IFMETHOD | GetImeMenuItemsW (HIMC hIMC, DWORD dwFlags, DWORD dwType, void __RPC_FAR *pImeParentMenu, void __RPC_FAR *pImeMenu, DWORD dwSize, DWORD __RPC_FAR *pdwResult)=0 |
virtual IFMETHOD | GetLangId (HKL hKL, LANGID __RPC_FAR *plid)=0 |
virtual IFMETHOD | GetOpenStatus (HIMC hIMC)=0 |
virtual IFMETHOD | GetProperty (HKL hKL, DWORD fdwIndex, DWORD __RPC_FAR *pdwProperty)=0 |
virtual IFMETHOD | GetRegisterWordStyleW (HKL hKL, UINT nItem, STYLEBUFW __RPC_FAR *pStyleBuf, UINT __RPC_FAR *puCopied)=0 |
virtual IFMETHOD | GetStatusWindowPos (HIMC hIMC, POINT __RPC_FAR *pptPos)=0 |
static QString | getString (HIMC himc, DWORD dwindex, int *selStart=0, int *selLength=0) |
virtual IFMETHOD | GetVirtualKey (HWND hWnd, UINT __RPC_FAR *puVirtualKey)=0 |
virtual IFMETHOD | InstallIMEW (LPWSTR szIMEFileName, LPWSTR szLayoutText, HKL __RPC_FAR *phKL)=0 |
virtual IFMETHOD | IsIME (HKL hKL)=0 |
bool | isInPopup (QWidget *w) |
bool | isPopup (QWidget *w) |
virtual IFMETHOD | IsUIMessageW (HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)=0 |
virtual IFMETHOD | NotifyIME (HIMC hIMC, DWORD dwAction, DWORD dwIndex, DWORD dwValue)=0 |
static void | notifyIME (HIMC imc, DWORD dwAction, DWORD dwIndex, DWORD dwValue) |
virtual IFMETHOD | OnDefWindowProc (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, LRESULT __RPC_FAR *plResult)=0 |
virtual IFMETHOD | OnTranslateMessage (const MSG __RPC_FAR *pMsg)=0 |
virtual IFMETHOD | Pause (DWORD __RPC_FAR *pdwCookie)=0 |
bool | qt_sendSpontaneousEvent (QObject *, QEvent *) |
void | qt_wince_show_SIP (bool show) |
virtual IFMETHOD | RegisterWordW (HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szRegister)=0 |
virtual IFMETHOD | ReleaseContext (HWND hWnd, HIMC hIMC)=0 |
static void | releaseContext (HWND wnd, HIMC imc) |
virtual IFMETHOD | Resume (DWORD dwCookie)=0 |
virtual IFMETHOD | SetCandidateWindow (HIMC hIMC, CANDIDATEFORM __RPC_FAR *pCandidate)=0 |
virtual IFMETHOD | SetCompositionFontA (HIMC hIMC, LOGFONTA __RPC_FAR *plf)=0 |
virtual IFMETHOD | SetCompositionFontW (HIMC hIMC, LOGFONTW __RPC_FAR *plf)=0 |
virtual IFMETHOD | SetCompositionStringW (HIMC hIMC, DWORD dwIndex, LPVOID pComp, DWORD dwCompLen, LPVOID pRead, DWORD dwReadLen)=0 |
virtual IFMETHOD | SetCompositionWindow (HIMC hIMC, COMPOSITIONFORM __RPC_FAR *pCompForm)=0 |
virtual IFMETHOD | SetConversionStatus (HIMC hIMC, DWORD fdwConversion, DWORD fdwSentence)=0 |
virtual IFMETHOD | SetOpenStatus (HIMC hIMC, BOOL fOpen)=0 |
virtual IFMETHOD | SetStatusWindowPos (HIMC hIMC, POINT __RPC_FAR *pptPos)=0 |
virtual IFMETHOD | SimulateHotKey (HWND hWnd, DWORD dwHotKeyID)=0 |
virtual IFMETHOD | UnregisterWordW (HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szUnregister)=0 |
Variables | |
static IActiveIMMApp * | aimm = 0 |
static IActiveIMMMessagePumpOwner * | aimmpump = 0 |
static HIMC | defaultContext = 0 |
static bool | haveCaret = false |
interface HIMC | hIME |
static QString * | imeComposition = 0 |
static int | imePosition = -1 |
interface HIMC HIMC __RPC_FAR * | phPrev = 0 |
bool | qt_use_rtl_extensions |
static DWORD | WM_MSIME_MOUSE = 0 |
#define IFMETHOD HRESULT STDMETHODCALLTYPE |
Definition at line 90 of file qwininputcontext_win.cpp.
#define LGRPID_ARABIC 0x000d |
Definition at line 206 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::QWinInputContext().
#define LGRPID_ARMENIAN 0x0011 |
Definition at line 210 of file qwininputcontext_win.cpp.
#define LGRPID_BALTIC 0x0003 |
Definition at line 196 of file qwininputcontext_win.cpp.
#define LGRPID_CENTRAL_EUROPE 0x0002 |
Definition at line 195 of file qwininputcontext_win.cpp.
#define LGRPID_CYRILLIC 0x0005 |
Definition at line 198 of file qwininputcontext_win.cpp.
#define LGRPID_GEORGIAN 0x0010 |
Definition at line 209 of file qwininputcontext_win.cpp.
#define LGRPID_GREEK 0x0004 |
Definition at line 197 of file qwininputcontext_win.cpp.
#define LGRPID_HEBREW 0x000c |
Definition at line 205 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::QWinInputContext().
#define LGRPID_INDIC 0x000f |
Definition at line 208 of file qwininputcontext_win.cpp.
#define LGRPID_INSTALLED 0x00000001 |
Definition at line 189 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::QWinInputContext().
#define LGRPID_JAPANESE 0x0007 |
Definition at line 200 of file qwininputcontext_win.cpp.
#define LGRPID_KOREAN 0x0008 |
Definition at line 201 of file qwininputcontext_win.cpp.
#define LGRPID_SIMPLIFIED_CHINESE 0x000a |
Definition at line 203 of file qwininputcontext_win.cpp.
#define LGRPID_SUPPORTED 0x00000002 |
Definition at line 190 of file qwininputcontext_win.cpp.
#define LGRPID_THAI 0x000b |
Definition at line 204 of file qwininputcontext_win.cpp.
#define LGRPID_TRADITIONAL_CHINESE 0x0009 |
Definition at line 202 of file qwininputcontext_win.cpp.
#define LGRPID_TURKISH 0x0006 |
Definition at line 199 of file qwininputcontext_win.cpp.
#define LGRPID_VIETNAMESE 0x000e |
Definition at line 207 of file qwininputcontext_win.cpp.
#define LGRPID_WESTERN_EUROPE 0x0001 |
Definition at line 194 of file qwininputcontext_win.cpp.
enum StandardFormat |
Enumerator | |
---|---|
PreeditFormat | |
SelectionFormat |
Definition at line 531 of file qwininputcontext_win.cpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
DEFINE_GUID | ( | IID_IActiveIMMApp | , |
0x08c0e040 | , | ||
0x62d1 | , | ||
0x11d1 | , | ||
0x93 | , | ||
0x26 | , | ||
0x0 | , | ||
0x60 | , | ||
0xb0 | , | ||
0x67 | , | ||
0xb8 | , | ||
0x6e | |||
) |
DEFINE_GUID | ( | CLSID_CActiveIMM | , |
0x4955DD33 | , | ||
0xB159 | , | ||
0x11d0 | , | ||
0x8F | , | ||
0xCF | , | ||
0x0 | , | ||
0xAA | , | ||
0x00 | , | ||
0x6B | , | ||
0xCC | , | ||
0x59 | |||
) |
DEFINE_GUID | ( | IID_IActiveIMMMessagePumpOwner | , |
0xb5cf2cfa | , | ||
0x8aeb | , | ||
0x11d1 | , | ||
0x93 | , | ||
0x64 | , | ||
0x0 | , | ||
0x60 | , | ||
0xb0 | , | ||
0x67 | , | ||
0xb8 | , | ||
0x6e | |||
) |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 658 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::enable(), and QWinInputContext::enablePopupChild().
|
pure virtual |
Referenced by gray_render_line().
|
pure virtual |
|
pure virtual |
|
pure virtual |
Definition at line 641 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::enablePopupChild().
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
static |
Definition at line 314 of file qwininputcontext_win.cpp.
Referenced by getCursorPosition(), and getString().
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
static |
Definition at line 285 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::composition(), QWinInputContext::endComposition(), QDeclarativeEnginePrivate::get(), QWinInputContext::mouseHandler(), QWinInputContext::reset(), and QWinInputContext::update().
|
pure virtual |
|
pure virtual |
|
static |
Definition at line 324 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::composition().
|
pure virtual |
|
static |
Definition at line 275 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::mouseHandler().
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
static |
Definition at line 329 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::composition().
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 631 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::enablePopupChild(), findParentforPopup(), and QWinInputContext::updateImeStatus().
|
inline |
Definition at line 623 of file qwininputcontext_win.cpp.
Referenced by isInPopup().
|
pure virtual |
|
pure virtual |
|
static |
Definition at line 304 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::endComposition(), and QWinInputContext::reset().
|
pure virtual |
|
pure virtual |
Referenced by QDeclarativeTimeLinePrivate::advance().
Definition at line 5779 of file qapplication.cpp.
Referenced by QWinInputContext::composition(), QWinInputContext::endComposition(), QWinInputContext::reconvertString(), and QWinInputContext::reset().
void qt_wince_show_SIP | ( | bool | show | ) |
Definition at line 394 of file qguifunctions_wince.cpp.
Referenced by enableIme().
|
pure virtual |
|
pure virtual |
|
static |
Definition at line 296 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::composition(), QWinInputContext::endComposition(), QWinInputContext::mouseHandler(), QWinInputContext::reset(), and QWinInputContext::update().
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
static |
Definition at line 181 of file qwininputcontext_win.cpp.
|
static |
Definition at line 182 of file qwininputcontext_win.cpp.
|
static |
Definition at line 620 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::enable(), and enableIme().
|
static |
Definition at line 186 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::endComposition(), QWinInputContext::startComposition(), and QWinInputContext::update().
interface HIMC hIME |
Definition at line 95 of file qwininputcontext_win.cpp.
|
static |
Definition at line 183 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::~QWinInputContext().
|
static |
Definition at line 184 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::composition(), QWinInputContext::endComposition(), QWinInputContext::reset(), and QWinInputContext::startComposition().
interface HIMC HIMC __RPC_FAR* phPrev = 0 |
Definition at line 95 of file qwininputcontext_win.cpp.
bool qt_use_rtl_extensions |
Definition at line 266 of file qapplication_win.cpp.
Referenced by QWinInputContext::QWinInputContext().
|
static |
Definition at line 213 of file qwininputcontext_win.cpp.
Referenced by QWinInputContext::mouseHandler(), and QWinInputContext::QWinInputContext().