Qt-interest Archive, December 2007
How to show icon in QDialogButtonBox
Message 1 in thread
Hi guys,
I want to show "standard" icons on the "standard" buttons in
QDialogButtonBox, so I set the style sheet to a QDialogButtonBox in
designer:
* {
dialogbuttonbox-buttons-have-icons: true;
icon-size: 16px;
background-color:blue; /*this is only for testing*/
}
The "background-color:blue" works, but there is no icon on the OK/Cancel
button.
What's the correct way to show the standard icon on the buttons in the
QDialogButtonBox?
Thank you!
Kefei You
--
[ signature omitted ]