27 if (
const auto pts =
font.pointSize ();
pts > 0)
29 else if (
const auto pxs =
font.pixelSize ();
pxs > 0)
39 if (!(
e->modifiers () & Qt::ControlModifier))
53 if (
e->modifiers () & Qt::ShiftModifier)
Container< T > Filter(const Container< T > &c, F f)
void InstallFontSizeChanger(QWidget &widget, const FontSizeChangerParams ¶ms)
auto Visit(const Either< Left, Right > &either, Args &&... args)
std::variant< PixelBasedParams, FontBasedParams > FontSizeChangerParams