PySide - making 2D custom viewport in your own UI window


Hey, guys. Thanks for always helping around.
I saw at my work place, how one guy made his “Character GUI” with PySide. So I got inspired by that and started learning PySide. I made few basics UI for my tools and right now I feel like trying making some similar “Character GUI” on my own aaand even before opening my script editor , I already stacked. The idea is that my UI will be navigated similarly as Maya’s “Front View Camera” in 2D and there will be my character UI with custom shapes, and so on. Sorry for long description, so , my first question is how to make your own custom 2D viewport in your own UI window? Where should I start looking for answers? (Sorry for my English)