summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qs60style.h
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2010-03-22 12:59:25 (GMT)
committerSami Merila <sami.merila@nokia.com>2010-03-22 12:59:25 (GMT)
commit669c8042fa78c539cdefec87c85bce91e561871d (patch)
tree5c5efb279a4205b0304dd50d98296dee10005bc0 /src/gui/styles/qs60style.h
parent6da8cec6042823da5622d048bb66ca7c40aed9b3 (diff)
downloadQt-669c8042fa78c539cdefec87c85bce91e561871d.zip
Qt-669c8042fa78c539cdefec87c85bce91e561871d.tar.gz
Qt-669c8042fa78c539cdefec87c85bce91e561871d.tar.bz2
Custom pixel metric values cannot be inquired from outside the class
This is due that a) custom values are internal and not exposed b) values use different format - they are indexes for internal data[] table and not according to QStyle documentation for pixel metrics. Task-number: QTBUG-9247 Reviewed-by: Alessandro Portale
Diffstat (limited to 'src/gui/styles/qs60style.h')
-rw-r--r--src/gui/styles/qs60style.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/styles/qs60style.h b/src/gui/styles/qs60style.h
index 82cc21c..af17843 100644
--- a/src/gui/styles/qs60style.h
+++ b/src/gui/styles/qs60style.h
@@ -52,6 +52,15 @@ QT_MODULE(Gui)
#if !defined(QT_NO_STYLE_S60)
+//Public custom pixel metrics values.
+//These can be used to fetch custom pixel metric value from outside QS60Style.
+enum {
+ PM_FrameCornerWidth = QStyle::PM_CustomBase + 1,
+ PM_FrameCornerHeight,
+ PM_BoldLineWidth,
+ PM_ThinLineWidth
+ };
+
class QS60StylePrivate;
class Q_GUI_EXPORT QS60Style : public QCommonStyle