qt5base-lts/tests/auto/gui/kernel
Joona Petrell e941b37fcc Move input panel visibility ownership from QInputPanel to QPlatformInputContext
Now QInputPanel::visible() can be set true even when platform doesn't provide
a virtual keyboard. Like keyboard geometry, visibility should be dictated by
the platform plugin and not QInputPanel, whose role is more like that of a mediator.
QInputPanel::show() and ::hide() calls should be treated as requests that may fail.
Changed the QInputPanel's visible property to read-only as a setter that may
fail is not really a setter, show() and hide() should be used instead.

Enabling the new functionality cannot be activated immediatelly without breaking
existing keyboards, added a temporary function handlesInputPanelVisibility that
handovers the responsiblity of updating input panel visibility to QInputContextPlatform
only once QInputContextPlatform says that it is able to handle it.

Change-Id: Ideecaf7225cc3971f33a0ac976bd92cf7767475b
Reviewed-on: http://codereview.qt-project.org/6429
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Pekka Vuorela <pekka.ta.vuorela@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2011-10-11 16:03:25 +02:00
..
qclipboard Avoid using QSKIP in lieu of compile-time checks 2011-10-03 03:34:57 +02:00
qdrag Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qevent Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qfileopenevent Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
qguivariant Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qinputpanel Move input panel visibility ownership from QInputPanel to QPlatformInputContext 2011-10-11 16:03:25 +02:00
qkeysequence Remove last remnants of symbian in autotests. 2011-10-06 01:27:58 +02:00
qmouseevent Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qmouseevent_modal Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qpalette Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qshortcut Merge branch 'refactor' 2011-09-13 08:54:45 +02:00
qtouchevent Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
kernel.pro Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00