summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod
Commit message (Collapse)AuthorAgeFilesLines
* introduce Q_WS_WINCEMaurice Kalinowski2009-04-291-5/+5
| | | | | | | | | | | Task-number: 246130 Reviewed-by: joerg Introduce Q_WS_WINCE for Windows CE only windowing parts. So far we decided to stick with Q_WS_WIN32, but having a separate define makes the code more readable. In addition Q_WS_WINCE_WM is available for Windows Mobile only parts, where we do not check for the OS on runtime.
* Merge commit 'origin/4.5'Olivier Goffart2009-04-151-4/+6
|\ | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem.cpp
| * BT: Compilefix for Windows CE and namespacesThomas Hartmann2009-04-081-4/+6
| | | | | | | | | | | | RevBy: Mauricek Details: functions needs to be declared outside of the namespace
| * Input Method cannot be enabled in License Wizard and Class WizardDenis Dzyubenko2009-04-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | Input methods didn't work properly wor widgets inside QWizardPage because the widget got focus before it was shown and input context wasn't initialized properly. The fix is to postpone qinputcontext->setFocusWidget call until the widget is created (input context will be initialized in the QWidget::create_sys function). Task-number: 244604 Reviewed-by: Prasanth Ullattil
* | QTextEdit character are lost after special characters like ^ ยด `Prasanth Ullattil2009-04-082-1/+24
| | | | | | | | | | | | | | | | | | | | This happens only on keyboard layouts like French. The is mainly due to the key event processing done by the Input manager. In carbon, the key down event has to be replayed after the input manager finishes his processing. In Cocoa, while unmarking we have to accept the current text. Task-number: 123740 Reviewed-by: nrc
* | Give input context focus only when widget is enabled.Denis Dzyubenko2009-04-011-1/+3
| | | | | | | | | | | | | | When disabling a widget that accepts keyboard input we disable input context by calling QInputContext::setFocusWidget(0). Reviewed-by: Prasanth Ullattil
* | Improved IME handling on Windows.Denis Dzyubenko2009-04-015-7/+21
|/ | | | | | | | | | | | QWizard sets focus on a widget when switching to a page before the widget becomes visible, which caused problems with our ime handling which didn't enable ime correctly. The fix is to refactor the code to enable ime handling whenever someone tells input context to set focus by calling QInputContext::setFocusWidget instead of relying on FocusIn/Out events and duplicating updateImeStatus calls all over Qt.. Task-number: 244604 Reviewed-by: Prasanth Ullattil
* Don't commit an empty string to the widget when it looses focus.Denis Dzyubenko2009-03-242-2/+9
| | | | | | | | | When a wiget that accepts keyboard input looses focus and the input context is resetted we should clear the old preedit string by sending an empty commit string only if the widget received non-empty pre-edit string before. Reviewed-by: Brad
* Long live Qt 4.5!Lars Knoll2009-03-2316-0/+4087