In this answer, the answerer uses the | operator: Yes/No message box using QMessageBox
According to the documentation, that argument is supposed to be StandardButtons.
So the | operator merges two StandardButton into one StandardButtons?
I've tried looking through the Qt documentation, but there is none on operators. So it must be a C++ operator?