AFAIK you can change background color of all items in the menu bar but not some/specific items
Qt Code:
  1. QMenuBar:item { background-color: rgb(255, 37, 186); }
To copy to clipboard, switch view to plain text mode 

To do what you want you would need to inherit from menu bar and paint it the way you want.