def mouseDoubleClickEvent(self, event):
if event.button() in (Qt.LeftButton, Qt.RightButton):
index = self._findIndexForEvent(event)
if index is not None:
self.glyphActivated.emit(self._glyphs[index])
else:
super(GlyphCellWidget, self).mouseDoubleClickEvent(event)
评论列表
文章目录