31 of the icon bar |
31 of the icon bar |
32 """ |
32 """ |
33 |
33 |
34 BarSizes = { |
34 BarSizes = { |
35 # tuples with (icon size, border size, translated size string) |
35 # tuples with (icon size, border size, translated size string) |
36 "xs": (16, 1, QCoreApplication.translate("EricIconBar", "extra small")), |
36 "xs": (16, 1, QCoreApplication.translate("EricIconBar", "extra small (16 px)")), |
37 "sm": (22, 1, QCoreApplication.translate("EricIconBar", "small")), |
37 "sm": (22, 1, QCoreApplication.translate("EricIconBar", "small (22 px)")), |
38 "md": (32, 2, QCoreApplication.translate("EricIconBar", "medium")), |
38 "md": (32, 2, QCoreApplication.translate("EricIconBar", "medium (32 px)")), |
39 "lg": (48, 2, QCoreApplication.translate("EricIconBar", "large")), |
39 "lg": (48, 2, QCoreApplication.translate("EricIconBar", "large (48 px)")), |
40 "xl": (64, 3, QCoreApplication.translate("EricIconBar", "extra large")), |
40 "xl": (64, 3, QCoreApplication.translate("EricIconBar", "extra large (64 px)")), |
41 "xxl": (96, 3, QCoreApplication.translate("EricIconBar", "very large")), |
41 "xxl": (96, 3, QCoreApplication.translate("EricIconBar", "very large (96 px)")), |
42 } |
42 } |
43 DefaultBarSize = "md" |
43 DefaultBarSize = "md" |
44 |
44 |
45 MoreLabelAspect = 36 / 96 |
45 MoreLabelAspect = 36 / 96 |
46 |
46 |