I think you meant self.addTab().
Also, first PR !!!!!
Merge pull request #1 from wluu/master

First PR !!!!