| 76 | } |
| 77 | |
| 78 | int buttonSizePixel(const Settings& settings) |
| 79 | { |
| 80 | auto const size_mm = settings.getSetting(Settings::ActionGridBar_ButtonSizeMM).toReal(); |
| 81 | return qRound(Util::mmToPixelPhysical(size_mm)); |
| 82 | } |
| 83 | |
| 84 | // Cf. qt_defaultDpiX in qfont.cpp |
| 85 | int defaultDpi() |
no test coverage detected