提交 ad904fca 编写于 作者: HinGwenWoong's avatar HinGwenWoong

Delete useless code

上级 3cc1b548
......@@ -174,10 +174,9 @@ class MainWindow(QMainWindow):
if self.kie_mode:
# self.keyList = QListWidget()
self.keyList = UniqueLabelQListWidget()
self.keyList.itemSelectionChanged.connect(self.keyListSelectionChanged)
self.keyList.itemDoubleClicked.connect(self.editBox)
# Connect to itemChanged to detect checkbox changes.
self.keyList.itemChanged.connect(self.keyListItemChanged)
# self.keyList.itemSelectionChanged.connect(self.keyListSelectionChanged)
# self.keyList.itemDoubleClicked.connect(self.editBox)
# self.keyList.itemChanged.connect(self.keyListItemChanged)
self.keyListDockName = getStr('keyListTitle')
self.keyListDock = QDockWidget(self.keyListDockName, self)
self.keyListDock.setWidget(self.keyList)
......@@ -1136,12 +1135,6 @@ class MainWindow(QMainWindow):
else:
self.canvas.deSelectShape()
def keyListSelectionChanged(self):
pass
def keyListItemChanged(self):
pass
def boxSelectionChanged(self):
if self._noSelectionSlot:
# self.BoxList.scrollToItem(self.currentBox(), QAbstractItemView.PositionAtCenter)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册