def METHOD_NAME(self, index):
    """分类列表双击"""
    if not self.__ui.currentIndex().isValid():
        return
    ole_name = index.data()
    dlg = QtWidgets.QDialog(parent=self.parent)
    ui = ui_renameclassifydialog.Ui_RenameClassifyDialog()
    ui.setupUi(dlg)
    ui.oldNameLineEdit.setText(ole_name)
    result = dlg.exec_()
    new_name = ui.newNameLineEdit.text()
    if result == QtWidgets.QDialog.Accepted:
        mgr_result = self.__imageListMgr.renameClassify(ole_name, new_name)
        if not mgr_result:
            QtWidgets.QMessageBox.warning(self.parent, "重命名分类", "重命名分类错误")
        else:
            self.setClassifyList(self.__imageListMgr.classifyList)
            self.__imageListMgr.writeFile()