Only answering to your topic title, if you look into the source code of QMessageBox, every label has a object name, so that should be easy to set different style to them by using ID selector.
-
text: “qt_msgbox_label”
-
icon: “qt_msgboxex_icon_label”
-
informativeText: “qt_msgbox_informativelabel”