移除重复的NameCell

This commit is contained in:
chenxy123 2016-08-04 23:28:17 +08:00
parent b9e89657d9
commit 6fc75bfc01

View File

@ -70,24 +70,6 @@ class DirectionCell(QtGui.QTableWidgetItem):
self.setText(text)
########################################################################
class NameCell(QtGui.QTableWidgetItem):
"""用来显示合约中文名的单元格"""
#----------------------------------------------------------------------
def __init__(self, text=None, mainEngine=None):
"""Constructor"""
super(NameCell, self).__init__()
self.data = None
if text:
self.setContent(text)
#----------------------------------------------------------------------
def setContent(self, text):
"""设置内容"""
self.setText(text)
########################################################################
class NameCell(QtGui.QTableWidgetItem):
"""用来显示合约中文的单元格"""