Does Qt have a set of standard icons? (Like for Back
,Forward
, etc.)
How would I add these to a button or toolbar in Qt Creator/Designer?
Does Qt have a set of standard icons? (Like for Back
,Forward
, etc.)
How would I add these to a button or toolbar in Qt Creator/Designer?
I'm fairly certain you can't add the icons directly in Designer, but you can programmatically reference them using:
QIcon QStyle::standardIcon ( StandardPixmap standardIcon, const QStyleOption * option = 0, const QWidget * widget = 0 ) const
The returned QIcon should be style-appropriate based on your current style. You can see the list of standardIcons in the official documentation.