def __init__(self,
              parent,
              afefuc,
              item=None):  #item[1] is a testCase object
     self.parent = parent
     self.dialog = QtGui.QDialog()
     self.form = Ui_TestCaseForm()
     self.afefuc = afefuc
     self.item = item[1]
     self.item_original = item[0]