views:

68

answers:

1

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?

+3  A: 

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.

Kitsune
Great. Thanks. Just what I was looking for.
George Edison