There is no direct equivalent of SizeSmallMedium (22) in QStyle. There is either Small (16) or large (32)
Details
Details
Diff Detail
Diff Detail
- Repository
- R241 KIO
- Branch
- sm2
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 19411 Build 19429: arc lint + arc unit
Comment Actions
Traditionally, 22 was used for toolbar icons. You could replace 22 with QStyle::PM_ToolBarIconSize, but it really depends on where you want the icons to appear. Generally, QStyle::PM_SmallIconSize is for icons that are placed next to a single line of text, unless there is a more specifc PixelMetric enum, e.g. QStyle::PM_ButtonIconSize.