代码拉取完成,页面将自动刷新
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'dialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(730, 523)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(Dialog.sizePolicy().hasHeightForWidth())
Dialog.setSizePolicy(sizePolicy)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("z.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Dialog.setWindowIcon(icon)
self.horizontalLayout_21 = QtWidgets.QHBoxLayout(Dialog)
self.horizontalLayout_21.setObjectName("horizontalLayout_21")
self.tabWidget = QtWidgets.QTabWidget(Dialog)
self.tabWidget.setObjectName("tabWidget")
self.tab_zhengze = QtWidgets.QWidget()
self.tab_zhengze.setObjectName("tab_zhengze")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.tab_zhengze)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setSpacing(3)
self.verticalLayout.setObjectName("verticalLayout")
self.horizontalLayout4 = QtWidgets.QHBoxLayout()
self.horizontalLayout4.setObjectName("horizontalLayout4")
self.label = QtWidgets.QLabel(self.tab_zhengze)
self.label.setObjectName("label")
self.horizontalLayout4.addWidget(self.label)
self.zhengze_lineEdit_filepath = QtWidgets.QLineEdit(self.tab_zhengze)
self.zhengze_lineEdit_filepath.setReadOnly(True)
self.zhengze_lineEdit_filepath.setObjectName("zhengze_lineEdit_filepath")
self.horizontalLayout4.addWidget(self.zhengze_lineEdit_filepath)
self.zhengze_button_read_file = QtWidgets.QPushButton(self.tab_zhengze)
self.zhengze_button_read_file.setMaximumSize(QtCore.QSize(30, 16777215))
self.zhengze_button_read_file.setObjectName("zhengze_button_read_file")
self.horizontalLayout4.addWidget(self.zhengze_button_read_file)
self.label_2 = QtWidgets.QLabel(self.tab_zhengze)
self.label_2.setObjectName("label_2")
self.horizontalLayout4.addWidget(self.label_2)
self.zhengze_comboBox_encoding = QtWidgets.QComboBox(self.tab_zhengze)
self.zhengze_comboBox_encoding.setObjectName("zhengze_comboBox_encoding")
self.horizontalLayout4.addWidget(self.zhengze_comboBox_encoding)
self.label_3 = QtWidgets.QLabel(self.tab_zhengze)
self.label_3.setObjectName("label_3")
self.horizontalLayout4.addWidget(self.label_3)
self.zhengze_label_code = QtWidgets.QLabel(self.tab_zhengze)
self.zhengze_label_code.setObjectName("zhengze_label_code")
self.horizontalLayout4.addWidget(self.zhengze_label_code)
self.verticalLayout.addLayout(self.horizontalLayout4)
self.zhengze_textEdit_text = QtWidgets.QTextEdit(self.tab_zhengze)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(3)
sizePolicy.setHeightForWidth(self.zhengze_textEdit_text.sizePolicy().hasHeightForWidth())
self.zhengze_textEdit_text.setSizePolicy(sizePolicy)
self.zhengze_textEdit_text.setObjectName("zhengze_textEdit_text")
self.verticalLayout.addWidget(self.zhengze_textEdit_text)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.zhengze_lineEdit_re = QtWidgets.QLineEdit(self.tab_zhengze)
self.zhengze_lineEdit_re.setObjectName("zhengze_lineEdit_re")
self.horizontalLayout.addWidget(self.zhengze_lineEdit_re)
self.zhengze_button_run = QtWidgets.QPushButton(self.tab_zhengze)
self.zhengze_button_run.setStyleSheet("color: blue;")
self.zhengze_button_run.setObjectName("zhengze_button_run")
self.horizontalLayout.addWidget(self.zhengze_button_run)
self.zhengze_checkBox_ignorecase = QtWidgets.QCheckBox(self.tab_zhengze)
self.zhengze_checkBox_ignorecase.setObjectName("zhengze_checkBox_ignorecase")
self.horizontalLayout.addWidget(self.zhengze_checkBox_ignorecase)
self.zhengze_checkBox_line_split = QtWidgets.QCheckBox(self.tab_zhengze)
self.zhengze_checkBox_line_split.setObjectName("zhengze_checkBox_line_split")
self.horizontalLayout.addWidget(self.zhengze_checkBox_line_split)
self.verticalLayout.addLayout(self.horizontalLayout)
self.zhengze_textEdit_return = QtWidgets.QTextEdit(self.tab_zhengze)
self.zhengze_textEdit_return.setObjectName("zhengze_textEdit_return")
self.verticalLayout.addWidget(self.zhengze_textEdit_return)
self.verticalLayout.setStretch(1, 1)
self.verticalLayout.setStretch(3, 1)
self.verticalLayout_2.addLayout(self.verticalLayout)
self.tabWidget.addTab(self.tab_zhengze, "")
self.tab_dictview = QtWidgets.QWidget()
self.tab_dictview.setObjectName("tab_dictview")
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.tab_dictview)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.verticalLayout_4 = QtWidgets.QVBoxLayout()
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.dictview_textEdit_text = QtWidgets.QTextEdit(self.tab_dictview)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(3)
sizePolicy.setHeightForWidth(self.dictview_textEdit_text.sizePolicy().hasHeightForWidth())
self.dictview_textEdit_text.setSizePolicy(sizePolicy)
self.dictview_textEdit_text.setObjectName("dictview_textEdit_text")
self.verticalLayout_4.addWidget(self.dictview_textEdit_text)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.dictview_checkBox_list_enter = QtWidgets.QCheckBox(self.tab_dictview)
self.dictview_checkBox_list_enter.setObjectName("dictview_checkBox_list_enter")
self.horizontalLayout_2.addWidget(self.dictview_checkBox_list_enter)
self.dictview_button_run = QtWidgets.QPushButton(self.tab_dictview)
self.dictview_button_run.setObjectName("dictview_button_run")
self.horizontalLayout_2.addWidget(self.dictview_button_run)
self.verticalLayout_4.addLayout(self.horizontalLayout_2)
self.dictview_textEdit_return = QtWidgets.QTextEdit(self.tab_dictview)
self.dictview_textEdit_return.setObjectName("dictview_textEdit_return")
self.verticalLayout_4.addWidget(self.dictview_textEdit_return)
self.verticalLayout_4.setStretch(0, 1)
self.verticalLayout_4.setStretch(2, 2)
self.verticalLayout_5.addLayout(self.verticalLayout_4)
self.tabWidget.addTab(self.tab_dictview, "")
self.tab_standard_code = QtWidgets.QWidget()
self.tab_standard_code.setObjectName("tab_standard_code")
self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.tab_standard_code)
self.verticalLayout_10.setObjectName("verticalLayout_10")
self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
self.horizontalLayout_12.setSpacing(4)
self.horizontalLayout_12.setObjectName("horizontalLayout_12")
self.verticalLayout_6 = QtWidgets.QVBoxLayout()
self.verticalLayout_6.setSizeConstraint(QtWidgets.QLayout.SetMaximumSize)
self.verticalLayout_6.setObjectName("verticalLayout_6")
self.label_4 = QtWidgets.QLabel(self.tab_standard_code)
self.label_4.setObjectName("label_4")
self.verticalLayout_6.addWidget(self.label_4)
self.standard_textEdit_text = QtWidgets.QTextEdit(self.tab_standard_code)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(3)
sizePolicy.setHeightForWidth(self.standard_textEdit_text.sizePolicy().hasHeightForWidth())
self.standard_textEdit_text.setSizePolicy(sizePolicy)
self.standard_textEdit_text.setObjectName("standard_textEdit_text")
self.verticalLayout_6.addWidget(self.standard_textEdit_text)
self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
self.horizontalLayout_16.setObjectName("horizontalLayout_16")
self.label_5 = QtWidgets.QLabel(self.tab_standard_code)
self.label_5.setObjectName("label_5")
self.horizontalLayout_16.addWidget(self.label_5)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_16.addItem(spacerItem)
self.standard_pushButton_use = QtWidgets.QPushButton(self.tab_standard_code)
self.standard_pushButton_use.setObjectName("standard_pushButton_use")
self.horizontalLayout_16.addWidget(self.standard_pushButton_use)
self.standard_pushButton_revoke = QtWidgets.QPushButton(self.tab_standard_code)
self.standard_pushButton_revoke.setObjectName("standard_pushButton_revoke")
self.horizontalLayout_16.addWidget(self.standard_pushButton_revoke)
self.verticalLayout_6.addLayout(self.horizontalLayout_16)
self.standard_textEdit_return = QtWidgets.QTextEdit(self.tab_standard_code)
self.standard_textEdit_return.setObjectName("standard_textEdit_return")
self.verticalLayout_6.addWidget(self.standard_textEdit_return)
self.verticalLayout_6.setStretch(1, 1)
self.verticalLayout_6.setStretch(3, 1)
self.horizontalLayout_12.addLayout(self.verticalLayout_6)
self.verticalLayout_7 = QtWidgets.QVBoxLayout()
self.verticalLayout_7.setSpacing(3)
self.verticalLayout_7.setObjectName("verticalLayout_7")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.standard_radioButton_all_replace = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_all_replace.setChecked(True)
self.standard_radioButton_all_replace.setAutoExclusive(False)
self.standard_radioButton_all_replace.setObjectName("standard_radioButton_all_replace")
self.horizontalLayout_3.addWidget(self.standard_radioButton_all_replace)
self.standard_lineEdit_all_replace_old = QtWidgets.QLineEdit(self.tab_standard_code)
self.standard_lineEdit_all_replace_old.setObjectName("standard_lineEdit_all_replace_old")
self.horizontalLayout_3.addWidget(self.standard_lineEdit_all_replace_old)
self.label_6 = QtWidgets.QLabel(self.tab_standard_code)
self.label_6.setObjectName("label_6")
self.horizontalLayout_3.addWidget(self.label_6)
self.standard_lineEdit_all_replace_new = QtWidgets.QLineEdit(self.tab_standard_code)
self.standard_lineEdit_all_replace_new.setObjectName("standard_lineEdit_all_replace_new")
self.horizontalLayout_3.addWidget(self.standard_lineEdit_all_replace_new)
self.checkBox_enter = QtWidgets.QCheckBox(self.tab_standard_code)
self.checkBox_enter.setObjectName("checkBox_enter")
self.horizontalLayout_3.addWidget(self.checkBox_enter)
self.verticalLayout_7.addLayout(self.horizontalLayout_3)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.standard_radioButton_line_replace = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_line_replace.setAutoExclusive(False)
self.standard_radioButton_line_replace.setObjectName("standard_radioButton_line_replace")
self.horizontalLayout_4.addWidget(self.standard_radioButton_line_replace)
self.standard_lineEdit_line_old = QtWidgets.QLineEdit(self.tab_standard_code)
self.standard_lineEdit_line_old.setObjectName("standard_lineEdit_line_old")
self.horizontalLayout_4.addWidget(self.standard_lineEdit_line_old)
self.label_7 = QtWidgets.QLabel(self.tab_standard_code)
self.label_7.setObjectName("label_7")
self.horizontalLayout_4.addWidget(self.label_7)
self.standard_lineEdit_line_new = QtWidgets.QLineEdit(self.tab_standard_code)
self.standard_lineEdit_line_new.setObjectName("standard_lineEdit_line_new")
self.horizontalLayout_4.addWidget(self.standard_lineEdit_line_new)
self.verticalLayout_7.addLayout(self.horizontalLayout_4)
self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
self.horizontalLayout_10.setObjectName("horizontalLayout_10")
self.label_8 = QtWidgets.QLabel(self.tab_standard_code)
self.label_8.setText("")
self.label_8.setObjectName("label_8")
self.horizontalLayout_10.addWidget(self.label_8)
self.verticalLayout_8 = QtWidgets.QVBoxLayout()
self.verticalLayout_8.setSpacing(2)
self.verticalLayout_8.setObjectName("verticalLayout_8")
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.standard_radioButton_add_last = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_add_last.setChecked(False)
self.standard_radioButton_add_last.setAutoExclusive(False)
self.standard_radioButton_add_last.setObjectName("standard_radioButton_add_last")
self.horizontalLayout_5.addWidget(self.standard_radioButton_add_last)
self.verticalLayout_8.addLayout(self.horizontalLayout_5)
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
self.standard_radioButton_add_replace = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_add_replace.setAutoExclusive(False)
self.standard_radioButton_add_replace.setObjectName("standard_radioButton_add_replace")
self.horizontalLayout_6.addWidget(self.standard_radioButton_add_replace)
self.standard_lineEdit_line_replace_char = QtWidgets.QLineEdit(self.tab_standard_code)
self.standard_lineEdit_line_replace_char.setObjectName("standard_lineEdit_line_replace_char")
self.horizontalLayout_6.addWidget(self.standard_lineEdit_line_replace_char)
self.label_9 = QtWidgets.QLabel(self.tab_standard_code)
self.label_9.setObjectName("label_9")
self.horizontalLayout_6.addWidget(self.label_9)
self.verticalLayout_8.addLayout(self.horizontalLayout_6)
self.horizontalLayout_10.addLayout(self.verticalLayout_8)
self.verticalLayout_7.addLayout(self.horizontalLayout_10)
self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
self.standard_radioButton_TorF = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_TorF.setAutoExclusive(False)
self.standard_radioButton_TorF.setObjectName("standard_radioButton_TorF")
self.horizontalLayout_7.addWidget(self.standard_radioButton_TorF)
self.standard_checkBox_TF_all_same = QtWidgets.QCheckBox(self.tab_standard_code)
self.standard_checkBox_TF_all_same.setAutoExclusive(False)
self.standard_checkBox_TF_all_same.setObjectName("standard_checkBox_TF_all_same")
self.horizontalLayout_7.addWidget(self.standard_checkBox_TF_all_same)
self.verticalLayout_7.addLayout(self.horizontalLayout_7)
self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
self.standard_radioButton_LorR = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_LorR.setAutoExclusive(False)
self.standard_radioButton_LorR.setObjectName("standard_radioButton_LorR")
self.horizontalLayout_8.addWidget(self.standard_radioButton_LorR)
self.verticalLayout_7.addLayout(self.horizontalLayout_8)
self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
self.horizontalLayout_13.setObjectName("horizontalLayout_13")
self.standard_radioButton_deleate_head = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_deleate_head.setAutoExclusive(False)
self.standard_radioButton_deleate_head.setObjectName("standard_radioButton_deleate_head")
self.horizontalLayout_13.addWidget(self.standard_radioButton_deleate_head)
self.standard_radioButton_deleate_back = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_deleate_back.setAutoExclusive(False)
self.standard_radioButton_deleate_back.setObjectName("standard_radioButton_deleate_back")
self.horizontalLayout_13.addWidget(self.standard_radioButton_deleate_back)
self.verticalLayout_7.addLayout(self.horizontalLayout_13)
self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
self.horizontalLayout_14.setObjectName("horizontalLayout_14")
self.standard_radioButton_add_head = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_add_head.setAutoExclusive(False)
self.standard_radioButton_add_head.setObjectName("standard_radioButton_add_head")
self.horizontalLayout_14.addWidget(self.standard_radioButton_add_head)
self.standard_radioButton_add_end = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_add_end.setAutoExclusive(False)
self.standard_radioButton_add_end.setObjectName("standard_radioButton_add_end")
self.horizontalLayout_14.addWidget(self.standard_radioButton_add_end)
self.standard_lineEdit_add_key = QtWidgets.QLineEdit(self.tab_standard_code)
self.standard_lineEdit_add_key.setObjectName("standard_lineEdit_add_key")
self.horizontalLayout_14.addWidget(self.standard_lineEdit_add_key)
self.verticalLayout_7.addLayout(self.horizontalLayout_14)
self.horizontalLayout_15 = QtWidgets.QHBoxLayout()
self.horizontalLayout_15.setObjectName("horizontalLayout_15")
self.standard_radioButton_beautiful_code = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_beautiful_code.setAutoExclusive(False)
self.standard_radioButton_beautiful_code.setObjectName("standard_radioButton_beautiful_code")
self.horizontalLayout_15.addWidget(self.standard_radioButton_beautiful_code)
self.standard_lineEdit_beautiful_code_key = QtWidgets.QLineEdit(self.tab_standard_code)
self.standard_lineEdit_beautiful_code_key.setObjectName("standard_lineEdit_beautiful_code_key")
self.horizontalLayout_15.addWidget(self.standard_lineEdit_beautiful_code_key)
self.verticalLayout_7.addLayout(self.horizontalLayout_15)
self.standard_radioButton_beautiful_end = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_beautiful_end.setAutoExclusive(False)
self.standard_radioButton_beautiful_end.setObjectName("standard_radioButton_beautiful_end")
self.verticalLayout_7.addWidget(self.standard_radioButton_beautiful_end)
self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
self.horizontalLayout_9.setObjectName("horizontalLayout_9")
self.standard_radioButton_ai_replace = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_ai_replace.setAutoExclusive(False)
self.standard_radioButton_ai_replace.setObjectName("standard_radioButton_ai_replace")
self.horizontalLayout_9.addWidget(self.standard_radioButton_ai_replace)
self.standard_lineEdit_ai_old = QtWidgets.QLineEdit(self.tab_standard_code)
self.standard_lineEdit_ai_old.setObjectName("standard_lineEdit_ai_old")
self.horizontalLayout_9.addWidget(self.standard_lineEdit_ai_old)
self.label_10 = QtWidgets.QLabel(self.tab_standard_code)
self.label_10.setObjectName("label_10")
self.horizontalLayout_9.addWidget(self.label_10)
self.standard_lineEdit_ai_new = QtWidgets.QLineEdit(self.tab_standard_code)
self.standard_lineEdit_ai_new.setObjectName("standard_lineEdit_ai_new")
self.horizontalLayout_9.addWidget(self.standard_lineEdit_ai_new)
self.verticalLayout_7.addLayout(self.horizontalLayout_9)
self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
self.horizontalLayout_11.setObjectName("horizontalLayout_11")
self.label_11 = QtWidgets.QLabel(self.tab_standard_code)
self.label_11.setText("")
self.label_11.setObjectName("label_11")
self.horizontalLayout_11.addWidget(self.label_11)
self.verticalLayout_9 = QtWidgets.QVBoxLayout()
self.verticalLayout_9.setSpacing(2)
self.verticalLayout_9.setObjectName("verticalLayout_9")
self.horizontalLayout_17 = QtWidgets.QHBoxLayout()
self.horizontalLayout_17.setObjectName("horizontalLayout_17")
self.standard_radioButton_ai_add_last = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_ai_add_last.setChecked(False)
self.standard_radioButton_ai_add_last.setAutoExclusive(False)
self.standard_radioButton_ai_add_last.setObjectName("standard_radioButton_ai_add_last")
self.horizontalLayout_17.addWidget(self.standard_radioButton_ai_add_last)
self.verticalLayout_9.addLayout(self.horizontalLayout_17)
self.horizontalLayout_18 = QtWidgets.QHBoxLayout()
self.horizontalLayout_18.setObjectName("horizontalLayout_18")
self.standard_radioButton_ai_add_replace = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_ai_add_replace.setAutoExclusive(False)
self.standard_radioButton_ai_add_replace.setObjectName("standard_radioButton_ai_add_replace")
self.horizontalLayout_18.addWidget(self.standard_radioButton_ai_add_replace)
self.standard_lineEdit_ai_replace_char = QtWidgets.QLineEdit(self.tab_standard_code)
self.standard_lineEdit_ai_replace_char.setObjectName("standard_lineEdit_ai_replace_char")
self.horizontalLayout_18.addWidget(self.standard_lineEdit_ai_replace_char)
self.label_12 = QtWidgets.QLabel(self.tab_standard_code)
self.label_12.setObjectName("label_12")
self.horizontalLayout_18.addWidget(self.label_12)
self.verticalLayout_9.addLayout(self.horizontalLayout_18)
self.horizontalLayout_11.addLayout(self.verticalLayout_9)
self.verticalLayout_7.addLayout(self.horizontalLayout_11)
self.horizontalLayout_19 = QtWidgets.QHBoxLayout()
self.horizontalLayout_19.setObjectName("horizontalLayout_19")
self.standard_radioButton_re_replace = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_re_replace.setAutoExclusive(False)
self.standard_radioButton_re_replace.setObjectName("standard_radioButton_re_replace")
self.horizontalLayout_19.addWidget(self.standard_radioButton_re_replace)
self.standard_lineEdit_re_old = QtWidgets.QLineEdit(self.tab_standard_code)
self.standard_lineEdit_re_old.setObjectName("standard_lineEdit_re_old")
self.horizontalLayout_19.addWidget(self.standard_lineEdit_re_old)
self.label_13 = QtWidgets.QLabel(self.tab_standard_code)
self.label_13.setObjectName("label_13")
self.horizontalLayout_19.addWidget(self.label_13)
self.standard_lineEdit_re_new = QtWidgets.QLineEdit(self.tab_standard_code)
self.standard_lineEdit_re_new.setObjectName("standard_lineEdit_re_new")
self.horizontalLayout_19.addWidget(self.standard_lineEdit_re_new)
self.verticalLayout_7.addLayout(self.horizontalLayout_19)
self.horizontalLayout_20 = QtWidgets.QHBoxLayout()
self.horizontalLayout_20.setObjectName("horizontalLayout_20")
self.standard_radioButton_re_take = QtWidgets.QRadioButton(self.tab_standard_code)
self.standard_radioButton_re_take.setAutoExclusive(False)
self.standard_radioButton_re_take.setObjectName("standard_radioButton_re_take")
self.horizontalLayout_20.addWidget(self.standard_radioButton_re_take)
self.standard_lineEdit_re_take_old = QtWidgets.QLineEdit(self.tab_standard_code)
self.standard_lineEdit_re_take_old.setObjectName("standard_lineEdit_re_take_old")
self.horizontalLayout_20.addWidget(self.standard_lineEdit_re_take_old)
self.verticalLayout_7.addLayout(self.horizontalLayout_20)
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_7.addItem(spacerItem1)
self.standard_button_run = QtWidgets.QPushButton(self.tab_standard_code)
self.standard_button_run.setStyleSheet("color:blue")
self.standard_button_run.setObjectName("standard_button_run")
self.verticalLayout_7.addWidget(self.standard_button_run)
self.horizontalLayout_12.addLayout(self.verticalLayout_7)
self.verticalLayout_10.addLayout(self.horizontalLayout_12)
self.tabWidget.addTab(self.tab_standard_code, "")
self.tab_random = QtWidgets.QWidget()
self.tab_random.setObjectName("tab_random")
self.verticalLayout_12 = QtWidgets.QVBoxLayout(self.tab_random)
self.verticalLayout_12.setObjectName("verticalLayout_12")
self.verticalLayout_11 = QtWidgets.QVBoxLayout()
self.verticalLayout_11.setObjectName("verticalLayout_11")
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.horizontalLayout_23 = QtWidgets.QHBoxLayout()
self.horizontalLayout_23.setObjectName("horizontalLayout_23")
self.label_15 = QtWidgets.QLabel(self.tab_random)
self.label_15.setObjectName("label_15")
self.horizontalLayout_23.addWidget(self.label_15)
self.checkBox_random_use_0_9 = QtWidgets.QCheckBox(self.tab_random)
self.checkBox_random_use_0_9.setChecked(True)
self.checkBox_random_use_0_9.setObjectName("checkBox_random_use_0_9")
self.horizontalLayout_23.addWidget(self.checkBox_random_use_0_9)
self.checkBox_random_use_a_z = QtWidgets.QCheckBox(self.tab_random)
self.checkBox_random_use_a_z.setChecked(True)
self.checkBox_random_use_a_z.setObjectName("checkBox_random_use_a_z")
self.horizontalLayout_23.addWidget(self.checkBox_random_use_a_z)
self.checkBox_random_use_A_Z = QtWidgets.QCheckBox(self.tab_random)
self.checkBox_random_use_A_Z.setChecked(True)
self.checkBox_random_use_A_Z.setObjectName("checkBox_random_use_A_Z")
self.horizontalLayout_23.addWidget(self.checkBox_random_use_A_Z)
self.checkBox_random_use_EX_key = QtWidgets.QCheckBox(self.tab_random)
self.checkBox_random_use_EX_key.setObjectName("checkBox_random_use_EX_key")
self.horizontalLayout_23.addWidget(self.checkBox_random_use_EX_key)
self.checkBox_random_use_custom = QtWidgets.QCheckBox(self.tab_random)
self.checkBox_random_use_custom.setText("")
self.checkBox_random_use_custom.setObjectName("checkBox_random_use_custom")
self.horizontalLayout_23.addWidget(self.checkBox_random_use_custom)
self.lineEdit_random_custom_keys = QtWidgets.QLineEdit(self.tab_random)
self.lineEdit_random_custom_keys.setObjectName("lineEdit_random_custom_keys")
self.horizontalLayout_23.addWidget(self.lineEdit_random_custom_keys)
self.verticalLayout_3.addLayout(self.horizontalLayout_23)
self.horizontalLayout_24 = QtWidgets.QHBoxLayout()
self.horizontalLayout_24.setObjectName("horizontalLayout_24")
self.label_16 = QtWidgets.QLabel(self.tab_random)
self.label_16.setObjectName("label_16")
self.horizontalLayout_24.addWidget(self.label_16)
self.spinBox_random_res_len = QtWidgets.QSpinBox(self.tab_random)
self.spinBox_random_res_len.setMinimum(1)
self.spinBox_random_res_len.setMaximum(999)
self.spinBox_random_res_len.setProperty("value", 10)
self.spinBox_random_res_len.setObjectName("spinBox_random_res_len")
self.horizontalLayout_24.addWidget(self.spinBox_random_res_len)
self.label_17 = QtWidgets.QLabel(self.tab_random)
self.label_17.setObjectName("label_17")
self.horizontalLayout_24.addWidget(self.label_17)
self.spinBox_random_res_sum = QtWidgets.QSpinBox(self.tab_random)
self.spinBox_random_res_sum.setMinimum(1)
self.spinBox_random_res_sum.setMaximum(999)
self.spinBox_random_res_sum.setObjectName("spinBox_random_res_sum")
self.horizontalLayout_24.addWidget(self.spinBox_random_res_sum)
self.checkBox_random_unique = QtWidgets.QCheckBox(self.tab_random)
self.checkBox_random_unique.setObjectName("checkBox_random_unique")
self.horizontalLayout_24.addWidget(self.checkBox_random_unique)
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_24.addItem(spacerItem2)
self.verticalLayout_3.addLayout(self.horizontalLayout_24)
self.horizontalLayout_26 = QtWidgets.QHBoxLayout()
self.horizontalLayout_26.setObjectName("horizontalLayout_26")
self.label_18 = QtWidgets.QLabel(self.tab_random)
self.label_18.setObjectName("label_18")
self.horizontalLayout_26.addWidget(self.label_18)
self.lineEdit_random_remove_keys = QtWidgets.QLineEdit(self.tab_random)
self.lineEdit_random_remove_keys.setObjectName("lineEdit_random_remove_keys")
self.horizontalLayout_26.addWidget(self.lineEdit_random_remove_keys)
self.verticalLayout_3.addLayout(self.horizontalLayout_26)
self.verticalLayout_11.addLayout(self.verticalLayout_3)
self.horizontalLayout_27 = QtWidgets.QHBoxLayout()
self.horizontalLayout_27.setObjectName("horizontalLayout_27")
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_27.addItem(spacerItem3)
self.pushButton_make_random_res = QtWidgets.QPushButton(self.tab_random)
self.pushButton_make_random_res.setObjectName("pushButton_make_random_res")
self.horizontalLayout_27.addWidget(self.pushButton_make_random_res)
self.verticalLayout_11.addLayout(self.horizontalLayout_27)
self.horizontalLayout_22 = QtWidgets.QHBoxLayout()
self.horizontalLayout_22.setObjectName("horizontalLayout_22")
self.label_14 = QtWidgets.QLabel(self.tab_random)
self.label_14.setObjectName("label_14")
self.horizontalLayout_22.addWidget(self.label_14)
self.textEdit_random_res_output = QtWidgets.QTextEdit(self.tab_random)
self.textEdit_random_res_output.setObjectName("textEdit_random_res_output")
self.horizontalLayout_22.addWidget(self.textEdit_random_res_output)
self.verticalLayout_11.addLayout(self.horizontalLayout_22)
self.verticalLayout_12.addLayout(self.verticalLayout_11)
self.tabWidget.addTab(self.tab_random, "")
self.tab_dir_show = QtWidgets.QWidget()
self.tab_dir_show.setObjectName("tab_dir_show")
self.horizontalLayout_31 = QtWidgets.QHBoxLayout(self.tab_dir_show)
self.horizontalLayout_31.setObjectName("horizontalLayout_31")
self.verticalLayout_13 = QtWidgets.QVBoxLayout()
self.verticalLayout_13.setObjectName("verticalLayout_13")
self.horizontalLayout4_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout4_2.setObjectName("horizontalLayout4_2")
self.label_19 = QtWidgets.QLabel(self.tab_dir_show)
self.label_19.setObjectName("label_19")
self.horizontalLayout4_2.addWidget(self.label_19)
self.dir_show_lineEdit_dirpath = QtWidgets.QLineEdit(self.tab_dir_show)
self.dir_show_lineEdit_dirpath.setReadOnly(True)
self.dir_show_lineEdit_dirpath.setObjectName("dir_show_lineEdit_dirpath")
self.horizontalLayout4_2.addWidget(self.dir_show_lineEdit_dirpath)
self.dir_show_button_read_dir = QtWidgets.QPushButton(self.tab_dir_show)
self.dir_show_button_read_dir.setMaximumSize(QtCore.QSize(30, 16777215))
self.dir_show_button_read_dir.setObjectName("dir_show_button_read_dir")
self.horizontalLayout4_2.addWidget(self.dir_show_button_read_dir)
self.label_21 = QtWidgets.QLabel(self.tab_dir_show)
self.label_21.setObjectName("label_21")
self.horizontalLayout4_2.addWidget(self.label_21)
self.dir_show_lineEdit_note_mark = QtWidgets.QLineEdit(self.tab_dir_show)
self.dir_show_lineEdit_note_mark.setMaximumSize(QtCore.QSize(30, 16777215))
self.dir_show_lineEdit_note_mark.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.dir_show_lineEdit_note_mark.setObjectName("dir_show_lineEdit_note_mark")
self.horizontalLayout4_2.addWidget(self.dir_show_lineEdit_note_mark)
self.verticalLayout_13.addLayout(self.horizontalLayout4_2)
self.horizontalLayout_30 = QtWidgets.QHBoxLayout()
self.horizontalLayout_30.setObjectName("horizontalLayout_30")
self.label_22 = QtWidgets.QLabel(self.tab_dir_show)
self.label_22.setObjectName("label_22")
self.horizontalLayout_30.addWidget(self.label_22)
self.dir_show_lineEdit_exclude_names = QtWidgets.QLineEdit(self.tab_dir_show)
self.dir_show_lineEdit_exclude_names.setObjectName("dir_show_lineEdit_exclude_names")
self.horizontalLayout_30.addWidget(self.dir_show_lineEdit_exclude_names)
self.verticalLayout_13.addLayout(self.horizontalLayout_30)
self.horizontalLayout_28 = QtWidgets.QHBoxLayout()
self.horizontalLayout_28.setObjectName("horizontalLayout_28")
self.label_20 = QtWidgets.QLabel(self.tab_dir_show)
self.label_20.setObjectName("label_20")
self.horizontalLayout_28.addWidget(self.label_20)
spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_28.addItem(spacerItem4)
self.verticalLayout_13.addLayout(self.horizontalLayout_28)
self.dir_show_textEdit_text_old = QtWidgets.QTextEdit(self.tab_dir_show)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(3)
sizePolicy.setHeightForWidth(self.dir_show_textEdit_text_old.sizePolicy().hasHeightForWidth())
self.dir_show_textEdit_text_old.setSizePolicy(sizePolicy)
self.dir_show_textEdit_text_old.setMaximumSize(QtCore.QSize(16777215, 100))
self.dir_show_textEdit_text_old.setObjectName("dir_show_textEdit_text_old")
self.verticalLayout_13.addWidget(self.dir_show_textEdit_text_old)
self.horizontalLayout_29 = QtWidgets.QHBoxLayout()
self.horizontalLayout_29.setObjectName("horizontalLayout_29")
spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_29.addItem(spacerItem5)
self.dir_show_button_run = QtWidgets.QPushButton(self.tab_dir_show)
self.dir_show_button_run.setStyleSheet("color: blue;")
self.dir_show_button_run.setObjectName("dir_show_button_run")
self.horizontalLayout_29.addWidget(self.dir_show_button_run)
spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_29.addItem(spacerItem6)
self.verticalLayout_13.addLayout(self.horizontalLayout_29)
self.dir_show_textEdit_text_new = QtWidgets.QTextEdit(self.tab_dir_show)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(3)
sizePolicy.setHeightForWidth(self.dir_show_textEdit_text_new.sizePolicy().hasHeightForWidth())
self.dir_show_textEdit_text_new.setSizePolicy(sizePolicy)
self.dir_show_textEdit_text_new.setObjectName("dir_show_textEdit_text_new")
self.verticalLayout_13.addWidget(self.dir_show_textEdit_text_new)
self.horizontalLayout_31.addLayout(self.verticalLayout_13)
self.tabWidget.addTab(self.tab_dir_show, "")
self.horizontalLayout_21.addWidget(self.tabWidget)
self.retranslateUi(Dialog)
self.tabWidget.setCurrentIndex(0)
self.zhengze_lineEdit_re.returnPressed.connect(self.zhengze_button_run.click)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "简易工具 v0.0.0.0"))
self.label.setText(_translate("Dialog", "文件:"))
self.zhengze_button_read_file.setText(_translate("Dialog", "+"))
self.label_2.setText(_translate("Dialog", "编码:"))
self.label_3.setText(_translate("Dialog", "当前编码:"))
self.zhengze_label_code.setText(_translate("Dialog", "未知"))
self.zhengze_button_run.setText(_translate("Dialog", "运行"))
self.zhengze_checkBox_ignorecase.setText(_translate("Dialog", "不分大小写"))
self.zhengze_checkBox_line_split.setText(_translate("Dialog", "每行作为单独任务"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_zhengze), _translate("Dialog", "正则测试"))
self.dictview_checkBox_list_enter.setText(_translate("Dialog", "列表换行"))
self.dictview_button_run.setText(_translate("Dialog", "运行"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_dictview), _translate("Dialog", "字典可视化"))
self.label_4.setText(_translate("Dialog", "原文:"))
self.label_5.setText(_translate("Dialog", "结果:"))
self.standard_pushButton_use.setToolTip(_translate("Dialog", "结果作为原文"))
self.standard_pushButton_use.setText(_translate("Dialog", "↑↑"))
self.standard_pushButton_revoke.setToolTip(_translate("Dialog", "撤销作为原文操作"))
self.standard_pushButton_revoke.setText(_translate("Dialog", "☇"))
self.standard_radioButton_all_replace.setText(_translate("Dialog", "全部替换"))
self.label_6.setText(_translate("Dialog", "→"))
self.checkBox_enter.setText(_translate("Dialog", "换行"))
self.standard_radioButton_line_replace.setText(_translate("Dialog", "逐行替换"))
self.label_7.setText(_translate("Dialog", "→"))
self.standard_radioButton_add_last.setText(_translate("Dialog", "【追加】 末尾追加自增数"))
self.standard_radioButton_add_replace.setToolTip(_translate("Dialog", "<html><head/><body><p>例如:</p><p>原文: </p><p>abcdef</p><p>abcdef</p><p>abcdef</p><p>关键字 cd → 新关键字 xxx@num@xxx</p><p>结果会是(新关键字里的@num@会变成自增数)</p><p>abxxx1xxxef</p><p>abxxx2xxxef </p><p>abxxx3xxxef </p></body></html>"))
self.standard_radioButton_add_replace.setText(_translate("Dialog", "【指代】 新关键字里的"))
self.standard_lineEdit_line_replace_char.setText(_translate("Dialog", "@num@"))
self.label_9.setText(_translate("Dialog", "指代自增数"))
self.standard_radioButton_TorF.setText(_translate("Dialog", "True/False翻转"))
self.standard_checkBox_TF_all_same.setText(_translate("Dialog", "全词匹配"))
self.standard_radioButton_LorR.setText(_translate("Dialog", "等号左右置换"))
self.standard_radioButton_deleate_head.setText(_translate("Dialog", "清除开头空白"))
self.standard_radioButton_deleate_back.setText(_translate("Dialog", "清除末尾空白"))
self.standard_radioButton_add_head.setText(_translate("Dialog", "每行开头追加"))
self.standard_radioButton_add_end.setText(_translate("Dialog", "每行末尾追加"))
self.standard_radioButton_beautiful_code.setText(_translate("Dialog", "符号对齐(多个符号用空格分割)"))
self.standard_radioButton_beautiful_end.setText(_translate("Dialog", "末尾空格对齐"))
self.standard_radioButton_ai_replace.setText(_translate("Dialog", "智能替换"))
self.label_10.setText(_translate("Dialog", "→"))
self.standard_radioButton_ai_add_last.setText(_translate("Dialog", "【追加】 末尾追加自增数"))
self.standard_radioButton_ai_add_replace.setText(_translate("Dialog", "【指代】 字符串"))
self.standard_lineEdit_ai_replace_char.setText(_translate("Dialog", "@num@"))
self.label_12.setText(_translate("Dialog", "指代自增数"))
self.standard_radioButton_re_replace.setText(_translate("Dialog", "正则覆盖"))
self.label_13.setText(_translate("Dialog", "→"))
self.standard_radioButton_re_take.setText(_translate("Dialog", "正则提取"))
self.standard_button_run.setText(_translate("Dialog", "运行"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_standard_code), _translate("Dialog", "制式编辑代码"))
self.label_15.setText(_translate("Dialog", "使用字符:"))
self.checkBox_random_use_0_9.setText(_translate("Dialog", "0-9"))
self.checkBox_random_use_a_z.setText(_translate("Dialog", "a-z"))
self.checkBox_random_use_A_Z.setText(_translate("Dialog", "A-Z"))
self.checkBox_random_use_EX_key.setText(_translate("Dialog", "!#$%&()*+,-."))
self.label_16.setText(_translate("Dialog", "字符长度:"))
self.label_17.setText(_translate("Dialog", "输出组数:"))
self.checkBox_random_unique.setText(_translate("Dialog", "每个字符唯一"))
self.label_18.setText(_translate("Dialog", "排除字符:"))
self.pushButton_make_random_res.setText(_translate("Dialog", "生成"))
self.label_14.setText(_translate("Dialog", "输出结果"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_random), _translate("Dialog", "随机字符串生成"))
self.label_19.setText(_translate("Dialog", "目录:"))
self.dir_show_button_read_dir.setText(_translate("Dialog", "+"))
self.label_21.setText(_translate("Dialog", "注释符号:"))
self.dir_show_lineEdit_note_mark.setText(_translate("Dialog", "#"))
self.label_22.setText(_translate("Dialog", "排除的名称(支持正则):"))
self.dir_show_lineEdit_exclude_names.setPlaceholderText(_translate("Dialog", "使用;分割。支持使用正则。例如:log.*;dict"))
self.label_20.setText(_translate("Dialog", "原始目录树(没有可不填):"))
self.dir_show_button_run.setText(_translate("Dialog", "生成新目录树"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_dir_show), _translate("Dialog", "目录树构造"))
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。