Message 1 of 1
pyQt5 set style without breaking the whole of Maya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Is there a way to set the style in this case "windowsvista" for my pyQt5 window? If I set it at app level it sets the style for all of Maya.
app = QtWidgets.QApplication.instance()
app.setStyle("windowsvista")
dialog = Manager()
dialog.show()
Only solution I've found is doing this line beside every widget which seems very tedious.
.setStyle(QtWidgets.QStyleFactory.create("windowsvista"))JohnDoe404_0-1696173098408.png