summaryrefslogtreecommitdiff
path: root/src/widgets/styles/qstyle.h
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2014-12-27 18:10:34 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2016-04-13 14:50:27 +0000
commita5c6bad4f02d78dff2afca84fd0c9fc12c3eaf49 (patch)
tree1c7215ecfa39581c2f7d0a849c96d312b84889e8 /src/widgets/styles/qstyle.h
parentc7364974839e8899a07ef6afba61268028b31faf (diff)
downloadqtbase-a5c6bad4f02d78dff2afca84fd0c9fc12c3eaf49.tar.gz
Take the size and the icon size for MDI buttons from a style
This way they can be DPI-dependent. Change-Id: I117c337aaa3e2bf6fb85cb3b04bbbccd9db41070 Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Diffstat (limited to 'src/widgets/styles/qstyle.h')
-rw-r--r--src/widgets/styles/qstyle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/styles/qstyle.h b/src/widgets/styles/qstyle.h
index 0f1259160e..0c8805e7a5 100644
--- a/src/widgets/styles/qstyle.h
+++ b/src/widgets/styles/qstyle.h
@@ -570,6 +570,9 @@ public:
PM_HeaderDefaultSectionSizeHorizontal,
PM_HeaderDefaultSectionSizeVertical,
+ PM_TitleBarButtonIconSize,
+ PM_TitleBarButtonSize,
+
// do not add any values below/greater than this
PM_CustomBase = 0xf0000000
};