summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_unix-signal-handlers.cpp
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-09-28 12:48:36 (GMT)
committerSami Merila <sami.merila@nokia.com>2011-09-28 12:48:36 (GMT)
commited9e0cae2e99d16a311727873ff349b45bd61d13 (patch)
tree9cdc4c06fd8f1bd537116e18c8bbb1130529de0d /doc/src/snippets/code/doc_src_unix-signal-handlers.cpp
parenteef7c0674d667e1a932a58944a80a0046d08445a (diff)
downloadQt-ed9e0cae2e99d16a311727873ff349b45bd61d13.zip
Qt-ed9e0cae2e99d16a311727873ff349b45bd61d13.tar.gz
Qt-ed9e0cae2e99d16a311727873ff349b45bd61d13.tar.bz2
New focusitem is not connected to the translate slot in splitview
If user changes focus from one item to a new one while the splitview keyboard is open, the newly focused item is not connected to the translate() slot. Thus, the item will not be kept "automatically" visible above the keyboard when cursor position changes. QCoeFepInputContext now holds a pointer to the last focus item and disconnects the previous focus item from slot when new focus item is set. Ensuring the visibility of the focus item needs to be done asynchronously after reset() has been called from graphics scene, to ensure that new focus item has been set. The translation rules have been tweaked to support translation to both directions (up|down). Previous implementation worked properly only for upwards translation (new cursor position was assumed to be lower than the existing one). Task-number: QTBUG-21611 Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'doc/src/snippets/code/doc_src_unix-signal-handlers.cpp')
0 files changed, 0 insertions, 0 deletions