diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2009-08-28 17:47:11 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2009-08-28 17:56:28 +0200 |
commit | 7621eec3fb023c7e477080b57c0aba858627091b (patch) | |
tree | 4f1eecd09269c38841d83122233f7dd5ef9e969f /src/gui/styles/qs60style.h | |
parent | 15144fab1010194b078c34157e8d208cfb625e88 (diff) | |
download | qt4-tools-7621eec3fb023c7e477080b57c0aba858627091b.tar.gz |
Using QFocusFrame to visualize the focus.
When using the keypad navigation, the focus state of a widget is
supposed to be well visible. So it makes much sense to use QFocusFrame,
which is able to paint a focus marker _around_ the widget.
This change should fix the issue that with some S60 themes, the focus
was invisible.
Also, a lot of code is removed by this change.
Task-number: 256470
Reviewed-by: Sami Merila
modified: src/gui/styles/qs60style.cpp
modified: src/gui/styles/qs60style.h
modified: src/gui/styles/qs60style_p.h
Diffstat (limited to 'src/gui/styles/qs60style.h')
-rw-r--r-- | src/gui/styles/qs60style.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/styles/qs60style.h b/src/gui/styles/qs60style.h index a03803b6fb..c01c40ae2f 100644 --- a/src/gui/styles/qs60style.h +++ b/src/gui/styles/qs60style.h @@ -80,6 +80,8 @@ public: void setStyleProperty(const char *name, const QVariant &value); QVariant styleProperty(const char *name) const; + bool event(QEvent *e); + #ifndef Q_WS_S60 static QStringList partKeys(); static QStringList colorListKeys(); |