My application has two 'modes' of functioning, touchscreen and desktop. For the touchscreen mode, I would need to make everything bigger: fonts, icons, buttons, etc. Is there a way to achieve that?

I have a slider that could change the stylesheet of the application, but I don't know how to make everything scale proportionally. I've successfully changed a checkbox, icon size and font size of a QListView by changing the stylesheet according to a slider value, but I actually would need to make those changes everywhere in the application.

If not through a slider, making two fixed configurations would work too, but I don't know how to change the base font size globally so that everything is proportional to this base font.