diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-07-27 15:23:52 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-09-02 06:25:22 (GMT) |
commit | f51817ae251f3731ccd50193c368d630e32dc457 (patch) | |
tree | 93b6dec555aa72fce4afd3e5628ed5db39d1e1fc /doc/src/snippets/code/src_xmlpatterns_api_qxmlname.cpp | |
parent | 7f53610d7702a9453022429abbc537fd1a5d5cb1 (diff) | |
download | Qt-f51817ae251f3731ccd50193c368d630e32dc457.zip Qt-f51817ae251f3731ccd50193c368d630e32dc457.tar.gz Qt-f51817ae251f3731ccd50193c368d630e32dc457.tar.bz2 |
Ensure that window rectangle is updated when CBA visibility changes
In S60, there are two pieces of screen furniture, changes in whose
visibility or size can affect the size of the Qt application window.
These are the status pane, at the top of the screen, and the CBA at
the bottom.
QSymbianControl listens for changes in status pane visibility and
size by implementing MEikStatusPaneObserver. Notifications
received via this interface trigger a call to
QSymbianControl::handleClientAreaChange() which resizes the control.
There is no corresponding interface through which to receive
notifications of changes in CBA visibility.
This patch introduces a utility function for setting the visibility
of both the status pane and CBA, which ensures that the control's
rectangle is updated when either one changes.
Task-number: QTBUG-5320
Reviewed-by: Jason Barron
(cherry picked from commit 92d6d1c974206bac7520101ad26ca93eb0b4d977)
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlname.cpp')
0 files changed, 0 insertions, 0 deletions