diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-07-27 15:23:52 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-07-28 14:37:44 (GMT) |
commit | 92d6d1c974206bac7520101ad26ca93eb0b4d977 (patch) | |
tree | 962ebd54cfe3a1134dcafea1e033d009f555722b /examples | |
parent | 859cca02a89ecadbb5578bb113e535374bcfcaca (diff) | |
download | Qt-92d6d1c974206bac7520101ad26ca93eb0b4d977.zip Qt-92d6d1c974206bac7520101ad26ca93eb0b4d977.tar.gz Qt-92d6d1c974206bac7520101ad26ca93eb0b4d977.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
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions