I cannot get a QAction initialized with a icon to show the text/string it's supposed to. Here's what I have (simple):
Any ideas?
EDIT:
write = QIcon('./images/write_icon.png') QAction(write, 'Write', self)That's just an excerpt, I have more actions that go on a toolbar, but QActions that are just strings work fine. When I add an icon, the string doesn't show up. I don't know if the docs are written in a language I don't understand, because I can't see how that shouldn't work.
Any ideas?
EDIT:
setText()
and setIconText()
doesn't make a string show either. I forgot to add that in initial post.