'How Do You Display PyGame inside of PyQt5 Tab Element?

I was wondering how (if possible) someone could display PyGame inside of a PyQt5 tab, the only examples I can find display PyGame's surface inside of the main PyQt window.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source