summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Made characters in a password field briefly visible while typing.axis2010-01-251-2/+48
| | | | | | | | | | | This was done by intercepting key events with text in them, and temporarily submit them as preedit text instead of real input text. Currently it does not work in WebKit, but that is because WebKit hides preedit text as well, which is a bug of its own. RevBy: Simon Hausmann Autotest: Manual testing went fine
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Fixed QCoeFepInputContext::widgetDestroyedMiikka Heikkinen2009-12-171-2/+1
| | | | | | | | Calling SetFocus twice here was obsolete and caused intermittent panics. Replaced them with proper queueInputCapabilitiesChanged call. Task-number: QTBUG-6519 Reviewed-by: axis
* FEP returns the wrong foreground color in GetFormatOfFepInlineTextSami Merilä2009-12-071-0/+4
| | | | | | | | | | When using T9, FEP is always using black text color. This is due to that we use default parameters for TFontPresentation. If we change the text color according to style, before calling GetFormatOfFepInlineText, it uses color value from style. Task-number: QTBUG-4072 Reviewed-by: axis
* Merge commit upstream/4.6 into oslo-staging-2/4.6Olivier Goffart2009-11-131-1/+1
|\
| * Fix typo in license headerAlessandro Portale2009-11-121-1/+1
| | | | | | | | | | | | The word 'module' was missing. Reviewed-By: TrustMe
* | Made the select button commit the T9 word rather than exit widget.axis2009-11-121-8/+20
| | | | | | | | | | Task: QTBUG-5661 RevBy: Janne Koskinen
* | Removed unused variable.axis2009-11-121-7/+0
| | | | | | | | RevBy: Trust me
* | Add edit menu support for phones with a 'pencil' key.Jason Barron2009-11-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The native FEP handles the 'pencil' key on some platforms by opening an edit menu on the screen that contains things like 'Insert Symbol' and 'Writing Language' for text input widgets. This was previously not working in the Qt input method implementation because in order for the FEP system to open the menu, it must be able to access the menu bar (CBA). This is done my using the object provider mechanism (MOP) and an implementation of the MopNext() function was missing. Adding this and also setting the AppUi as the MOP parent for top level widgets allowed the FEP framework to find it's way to the menubar and thus open a menu. Task-number: QTBUG-5606 Reviewed-by: axis <qt-info@nokia.com> Reviewed-by: mread <qt-info@nokia.com>
* | Fixed indentation.axis2009-11-101-6/+6
| |
* | Long-press shortcuts for symbols on QWERTY keyboard don't workJouni Hiltunen2009-11-101-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Qt key event was not handled properly in the case of long key press. With long key press, QCoeFepInputContext::commitCurrentString gets called 3 times("q", "", "1"). (Normal key press is causing one call). This is how aknfep works, so commitCurrentString was modified to replace first character if long key press event detected. E.g. "q" is replaced with "1". qlinecontrol modified to keep cursor position correct. Signed-off-by: axis <qt-info@nokia.com>
* | Made it possible to bring up the FEP symbols menu using star key.axis2009-11-091-1/+9
|/ | | | | Task: QT-1141 RevBy: mread
* Fixed input panel detection on post-5.0 S60 SDKs.axis2009-11-041-3/+40
| | | | | Task: QT-2418 RevBy: Shane Kearns
* Temporary fix for FEP crash with input masked QLineEditsMiikka Heikkinen2009-10-271-2/+22
| | | | | | | | | | | | | | | | | | QLineEdits with input masks report the cursor position relative to displayed text via inputMethodQuery(), but the text returned is the actual text of the control, which can differ from displayed text, causing mismatch between FEP display and control display. To properly fix this we would need to know the displayText of QLineEdits instead of just the text, which on itself should be a trivial change. The difficulties start when we need to commit the changes back to the QLineEdit, which would have to be somehow able to handle displayText, too. Task made to fix this properly: QTBUG-5050 Task-number: QTBUG-4892 Reviewed-by: axis
* Fix crash in S60 input methods after task switchingShane Kearns2009-10-011-5/+15
| | | | | | | | | | | | | | | | When switching away from the application, the focused widget is set to null. When switching back, there are callbacks from S60 before the focus has been restored. These functions check for null widget, but the output function parameters are left uninitialised, which causes a crash inside the S60 FEP. 1) GetXYZ functions now initialise the output parameters even when the focused widget is null. 2) Return no input capability when there is no focused widget, as was already done during destruction. This stops most of the callbacks from S60. Task-number: QTBUG-4618 Reviewed-by: axis
* Fix crashes in QApplication autotestShane Kearns2009-09-221-2/+6
| | | | | | | | 1) Input methods caused crash due to using CCoeEnv::Fep() without checking for NULL pointer 2) Autotest itself had Q_ASSERT where it should have used Q_VERIFY Reviewed-by: axis
* Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-091-4/+4
|\
| * Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | | | | | Reviewed-by: Trust Me
* | Fixed 'use of function is deprecated' warnings reported by RVCTJanne Anttila2009-09-091-4/+4
|/ | | | | Task-number: 241223 Reviewed-by: Janne Koskinen
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Removed redundant QLocale code from QCoeFepInputContext.axis2009-08-251-90/+5
| | | | | | We export one extra private symbol from QtCore instead, and use that. RevBy: Miikka Heikkinen
* Changed names and URLs to reflect name change.axis2009-08-191-1/+1
| | | | RevBy: Trust me
* Changed QCoeFepInputContext::ReportAknEdStateEvent so that it actually ↵mread2009-08-141-1/+1
| | | | forwards the event and doesn't just send a fixed one.
* Update license headers according to commit 858c70f768e.axis2009-08-061-3/+3
| | | | RevBy: Trust me
* Replaced $MODULE$ with hardcoded module names.axis2009-08-061-1/+1
| | | | RevBy: Trust me
* Squashed commit of the topic/exceptions branch.Harald Fernengel2009-08-031-7/+12
| | | | | Contains some smaller fixes and renaming of macros. Looks big, but isn't scary at all ;)
* Fixed a bug where the input panel would not show up.axis2009-07-131-1/+27
| | | | | | | | | | | | | Task: 257214 The problem happened if a user called setFocus() on an input capable widget, and then tried to open the input panel by sending an event. Since the call to InputCapabilitiesChanged is asynchronous, Symbian would not yet know about the updated state, and the event would be lost. Now we generate our own asynchronous event, and ensure that it is synchronous in the cases where it's needed.
* Fixed a bug where input capabilities would not be updated.axis2009-07-131-7/+7
| | | | | | | | Task: 257215 The capabilities would not be updated if the IM hints were the same. We still try to avoid that when we can, but now we update the capabilities if we really have to.
* Silenced warnings from RVCT.axis2009-07-061-6/+2
|
* Fix for Task #256159Liang Qi2009-06-161-2/+0
|
* Fixes FEP crash when changing the focused Qt widget to NULL.Janne Anttila2009-06-121-0/+2
|
* Fixed FEP crash during application exit.axis2009-06-101-4/+3
| | | | | | We use a synchronous call rather than an asynchronous one, so we don't risk the pointer being dereferenced after destruction is finished.
* Revert "Fix to qapplication::setActiveWindow autotest case in Symbian."axis2009-06-101-6/+2
| | | | This reverts commit ba105741867dd96a9d58dcfcb78afef60e611bd6.
* Fixed the mouse handler of FEP when in inline edit mode.axis2009-06-101-54/+17
| | | | | | We now commit the text if the mouse handler is invoked. This prevents the case where the VK cannot be brought up because the widget is the only focusable widget and is stuck in inline edit mode.
* Merge branch 'imSelections'axis2009-06-031-8/+37
|\
| * Made S60 FEP use the new Qt::ImAnchorPosition API.axis2009-06-031-3/+2
| |
| * Made S60 FEP use the new QInputMethodEvent::Selection API.axis2009-06-031-4/+4
| |
| * Fixed incorrect headers.axis2009-06-031-1/+31
| |
* | Fix to qapplication::setActiveWindow autotest case in Symbian.Janne Anttila2009-06-031-2/+6
|/ | | | | | In case the application is closing, we should not call process events since event dispatcher is already deleted. Calling processEvents caused application to oanic with KERN-EXEC 3 i.e. access violation.
* Fixed the translation from S60 text format to Qt text format in FEP.axis2009-05-121-18/+33
| | | | | | | | | | This was done by making sure that the format code is called from both start and update, because S60 will often return nothing in start, but then later on return something in update. In addition, we fall back on our own format if S60 does not give us anything. Currently it seems to give us a format only when using predictive text.
* Replace Q_ASSERT with return statement.axis2009-05-081-1/+5
| | | | | | The input context *can* receive events for unfocused widgets, namely when a CloseSoftwareInputPanel event is sent, or when a mouse event is sent to a nonfocusable widget.
* Improved the handling of input method hints in S60.axis2009-05-061-21/+70
| | | | | Made it more robust, as well as added support for the new ImhDigitsOnly and ImhFormattedNumbers flags.
* Implemented support for input method hints in S60 FEP.axis2009-05-051-6/+108
|
* Made the S60 FEP use the new RequestSoftwareInputPanel events.axis2009-05-041-31/+18
| | | | RevBy: Trustme
* Long live Qt for S60!axis2009-04-241-0/+577