We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55963a2 commit 11667eeCopy full SHA for 11667ee
qtapputils/icons.py
@@ -50,6 +50,12 @@ def get_standard_iconsize(constant: 'str') -> int:
50
return style.pixelMetric(QStyle.PM_MessageBoxIconSize)
51
elif constant == 'small':
52
return style.pixelMetric(QStyle.PM_SmallIconSize)
53
+ elif constant == 'large':
54
+ return style.pixelMetric(QStyle.PM_LargeIconSize)
55
+ elif constant == 'toolbar':
56
+ return style.pixelMetric(QStyle.PM_ToolBarIconSize)
57
+ elif constant == 'button':
58
+ return style.pixelMetric(QStyle.PM_ButtonIconSize)
59
60
61
class IconManager:
0 commit comments