Citation:
Whether the buttons in a QDialogButtonBox show icons
If this property is set to 1, the buttons of a QDialogButtonBox show icons; if it is set to 0, the icons are not shown.
See the List of Icons section for information on how to set icons.
QDialogButtonBox { dialogbuttonbox-buttons-have-icons: 1; }
Note: Styles defining this property must be applied before the QDialogButtonBox is created; this means that you must apply the style to the parent widget or to the application itself.
Si ce sont des simples boutons, alors dans l'inspecteur de proprietés de Qt Designer tu as la propriété "icon", ensuite t'as un bouton sur cette ligne, tu le clique et tu prends ton icône. Il te faut au préalable avoir ton fichier de ressources correct. Si ce n'est pas le cas, menu tools>ressources browser, puis dans la fenêtre (le dock en fait) qui s'est ouvert, y'a un crayon à côté d'une flèche. Tu cliques sur ce crayon, dans la nouvelle fenêtre qui s'est ouverte, en bas de la colonne gauche, tu choisis soit New ressource file, soit open ressource file si tu en as déjà une.