Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from PyQt5 import QtGui
- icon = QtGui.QIcon.fromTheme('edit-copy')
- icon.themeName() #and
- icon.availableSizes()
- QtGui.QIcon.hasThemeIcon('icon_that_does_definitely_not_exist')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement