#!/usr/bin/python
from PyQt4.QtGui import *
from PyQt4.QtCore import *
import sys
class GeneralTab(QDialog):
def __init__(self,parent=None):
super(GeneralTab, self).__init__(parent)
tabWidget = QTabWidget(self)
w1=QWidget()
w2=QWidget()
w3=QWidget()
tabWidget.addTab(w1,"General")
tabWidget.addTab(w2,"Permissions")
tabWidget.addTab(w3,"Applications")
tabWidget.resize(380,380)
app = QApplication(sys.argv)
dialog = GeneralTab()
dialog.show()
app.exec_()