def doubleClickedOnCommentListView(index):
if (index.column() == 0
and QApplication.mouseButtons() == Qt.LeftButton):
TimestampDialog(mainwindow, index).exec_()
if (index.column() == 1
and QApplication.mouseButtons() == Qt.LeftButton):
CommentTypeDialog(mainwindow, index).exec_()
评论列表
文章目录