I have a question about how to add a separator between icons and text in menu. If you have any ideas, it would be really helpful. Here is exactly what I need to do:
.
From a button, open a menu and add separators like in the image.
if you are using a QMenu() object you can use addSeparator():
menu = QMenu()
add_action = menu.addAction("Add")
menu.addSeparator()
rename_action = menu.addAction("Rename")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With