With a QFontDialog I get a QFont object as return value. I am using Qt stylesheets with widgets, so setting myWidget->setFont(fontFromDialog) does not seem to have any effect.
Can I translate a font object into a qss string representing the values of the font, similar to font.toString() used with the settings.