The simplest, most natural solution is probably just a QGraphicsView . For instance. for sprites, implement a subclass of QGraphicsItem and override the paint () function to display the corresponding frame.
If you absolutely insist on using PyGame, you can easily run the PySide and PyGame bits in separate windows. For embedding PyGame in a PySide widget, this will probably be much more complicated, and PySide widgets will not gel as smoothly (you can actually insert GUI elements such as buttons inside , QGraphicsView and convert them!).
source share