Python Web Browser Tabs

I have made a simple web browser in python using PyQt4 and I would like to add tabs to it.
Any idea how to code it?