qMin(qMin(s.width() / 2, s.height() / 2), f)
qMin(double, whatever_type_f_is)
qMin(qMin(s.width() / 2, s.height() / 2), double(f))