#!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@File    :   main_window.py    
@Contact :   https://github.com/liyansong2018/ReverseWidget
@License :   (C)Copyright 2021, liyansong

@Modify Time      @Author    @Version    @Desciption
------------      -------    --------    -----------
2021/6/25 21:54   liyansong     1.0         None
'''

from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.setWindowModality(QtCore.Qt.NonModal)
        MainWindow.setEnabled(True)
        MainWindow.resize(1066, 600)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("ui/resources/pictures/hacker.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        MainWindow.setLayoutDirection(QtCore.Qt.LeftToRight)
        MainWindow.setAutoFillBackground(False)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.gridGroupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.gridGroupBox.setStyleSheet("QPushButton{\n"
"    text-align:left;\n"
"    text-decoration:none;  \n"
"    background:#ffffff;\n"
"    color:#000000;  \n"
"      \n"
"    padding: 5px 30px 5px 20px;\n"
"    font-size:12px;  \n"
"    font-family: 微软雅黑,宋体,Arial,Helvetica,Verdana,sans-serif;  \n"
"    font-weight:light;  \n"
"    border-radius:0px;\n"
"    border:2px solid #f5f5f5; \n"
"}\n"
"QPushButton::checked,QToolButton::checked{ \n"
"    background-image: url(\"ui/resources/pictures/blue_menu.png\");\n"
"    color:#ffffff;\n"
"    font-weight: bold; \n"
"    font-family:Microsoft YaHei;    \n"
"}")
        self.gridGroupBox.setFlat(False)
        self.gridGroupBox.setObjectName("gridGroupBox")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.gridGroupBox)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.cryptButton = QtWidgets.QPushButton(self.gridGroupBox)
        self.cryptButton.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.cryptButton.setStyleSheet("")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap("ui/resources/pictures/encrypt.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cryptButton.setIcon(icon1)
        self.cryptButton.setIconSize(QtCore.QSize(30, 30))
        self.cryptButton.setCheckable(True)
        self.cryptButton.setAutoExclusive(True)
        self.cryptButton.setObjectName("cryptButton")
        self.verticalLayout_2.addWidget(self.cryptButton)
        self.codeButton = QtWidgets.QPushButton(self.gridGroupBox)
        self.codeButton.setStyleSheet("QPushButton{\n"
"    border-top-width: 0px;\n"
"    border-bottom-width: 0px;\n"
"}")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap("ui/resources/pictures/code.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.codeButton.setIcon(icon2)
        self.codeButton.setIconSize(QtCore.QSize(30, 30))
        self.codeButton.setCheckable(True)
        self.codeButton.setAutoExclusive(True)
        self.codeButton.setObjectName("codeButton")
        self.verticalLayout_2.addWidget(self.codeButton)
        self.asmButton = QtWidgets.QPushButton(self.gridGroupBox)
        self.asmButton.setStyleSheet("")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap("ui/resources/pictures/asm.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.asmButton.setIcon(icon3)
        self.asmButton.setIconSize(QtCore.QSize(30, 30))
        self.asmButton.setCheckable(True)
        self.asmButton.setAutoExclusive(True)
        self.asmButton.setAutoRepeatDelay(300)
        self.asmButton.setAutoRepeatInterval(100)
        self.asmButton.setObjectName("asmButton")
        self.verticalLayout_2.addWidget(self.asmButton)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.horizontalLayout.addWidget(self.gridGroupBox)
        self.formGroupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.formGroupBox.setObjectName("formGroupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.formGroupBox)
        self.verticalLayout.setContentsMargins(0, -1, 0, -1)
        self.verticalLayout.setObjectName("verticalLayout")
        self.cryptGroupBox = QtWidgets.QGroupBox(self.formGroupBox)
        self.cryptGroupBox.setTitle("")
        self.cryptGroupBox.setObjectName("cryptGroupBox")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.cryptGroupBox)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.nameLable = QtWidgets.QLabel(self.cryptGroupBox)
        self.nameLable.setObjectName("nameLable")
        self.horizontalLayout_4.addWidget(self.nameLable)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem1)
        self.choiceAlgorithm = QtWidgets.QComboBox(self.cryptGroupBox)
        self.choiceAlgorithm.setObjectName("choiceAlgorithm")
        self.choiceAlgorithm.addItem("")
        self.choiceAlgorithm.addItem("")
        self.choiceAlgorithm.addItem("")
        self.choiceAlgorithm.addItem("")
        self.horizontalLayout_4.addWidget(self.choiceAlgorithm)
        self.verticalLayout.addWidget(self.cryptGroupBox)
        self.cryptGroupBox2 = QtWidgets.QGroupBox(self.formGroupBox)
        self.cryptGroupBox2.setTitle("")
        self.cryptGroupBox2.setObjectName("cryptGroupBox2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.cryptGroupBox2)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.patternLabel = QtWidgets.QLabel(self.cryptGroupBox2)
        self.patternLabel.setObjectName("patternLabel")
        self.horizontalLayout_2.addWidget(self.patternLabel)
        self.modelComboBox = QtWidgets.QComboBox(self.cryptGroupBox2)
        self.modelComboBox.setObjectName("modelComboBox")
        self.modelComboBox.addItem("")
        self.modelComboBox.addItem("")
        self.modelComboBox.addItem("")
        self.modelComboBox.addItem("")
        self.modelComboBox.addItem("")
        self.modelComboBox.addItem("")
        self.modelComboBox.addItem("")
        self.modelComboBox.addItem("")
        self.modelComboBox.addItem("")
        self.modelComboBox.addItem("")
        self.modelComboBox.addItem("")
        self.modelComboBox.addItem("")
        self.horizontalLayout_2.addWidget(self.modelComboBox)
        self.paddingLabel = QtWidgets.QLabel(self.cryptGroupBox2)
        self.paddingLabel.setObjectName("paddingLabel")
        self.horizontalLayout_2.addWidget(self.paddingLabel)
        self.paddingComboBox = QtWidgets.QComboBox(self.cryptGroupBox2)
        self.paddingComboBox.setObjectName("paddingComboBox")
        self.paddingComboBox.addItem("")
        self.paddingComboBox.addItem("")
        self.paddingComboBox.addItem("")
        self.horizontalLayout_2.addWidget(self.paddingComboBox)
        self.keyLabel_2 = QtWidgets.QLabel(self.cryptGroupBox2)
        self.keyLabel_2.setObjectName("keyLabel_2")
        self.horizontalLayout_2.addWidget(self.keyLabel_2)
        self.keySizeComboBox = QtWidgets.QComboBox(self.cryptGroupBox2)
        self.keySizeComboBox.setObjectName("keySizeComboBox")
        self.keySizeComboBox.addItem("")
        self.keySizeComboBox.addItem("")
        self.keySizeComboBox.addItem("")
        self.keySizeComboBox.addItem("")
        self.horizontalLayout_2.addWidget(self.keySizeComboBox)
        self.keyLabel = QtWidgets.QLabel(self.cryptGroupBox2)
        self.keyLabel.setObjectName("keyLabel")
        self.horizontalLayout_2.addWidget(self.keyLabel)
        self.lineEdit = QtWidgets.QLineEdit(self.cryptGroupBox2)
        self.lineEdit.setObjectName("lineEdit")
        self.horizontalLayout_2.addWidget(self.lineEdit)
        self.ivLabel = QtWidgets.QLabel(self.cryptGroupBox2)
        self.ivLabel.setObjectName("ivLabel")
        self.horizontalLayout_2.addWidget(self.ivLabel)
        self.lineEdit_2 = QtWidgets.QLineEdit(self.cryptGroupBox2)
        self.lineEdit_2.setObjectName("lineEdit_2")
        self.horizontalLayout_2.addWidget(self.lineEdit_2)
        self.verticalLayout.addWidget(self.cryptGroupBox2)
        self.asmGroupBox = QtWidgets.QGroupBox(self.formGroupBox)
        self.asmGroupBox.setTitle("")
        self.asmGroupBox.setObjectName("asmGroupBox")
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout(self.asmGroupBox)
        self.horizontalLayout_10.setContentsMargins(9, 9, 9, 9)
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.archGroupBox = QtWidgets.QGroupBox(self.asmGroupBox)
        self.archGroupBox.setTitle("")
        self.archGroupBox.setObjectName("archGroupBox")
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout(self.archGroupBox)
        self.horizontalLayout_11.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.x86Button = QtWidgets.QRadioButton(self.archGroupBox)
        self.x86Button.setObjectName("x86Button")
        self.horizontalLayout_11.addWidget(self.x86Button)
        self.armButton = QtWidgets.QRadioButton(self.archGroupBox)
        self.armButton.setObjectName("armButton")
        self.horizontalLayout_11.addWidget(self.armButton)
        self.mipsButton = QtWidgets.QRadioButton(self.archGroupBox)
        self.mipsButton.setObjectName("mipsButton")
        self.horizontalLayout_11.addWidget(self.mipsButton)
        self.sparcButton = QtWidgets.QRadioButton(self.archGroupBox)
        self.sparcButton.setObjectName("sparcButton")
        self.horizontalLayout_11.addWidget(self.sparcButton)
        self.powerPcButton = QtWidgets.QRadioButton(self.archGroupBox)
        self.powerPcButton.setObjectName("powerPcButton")
        self.horizontalLayout_11.addWidget(self.powerPcButton)
        self.horizontalLayout_10.addWidget(self.archGroupBox)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_10.addItem(spacerItem2)
        self.modeGroupBox = QtWidgets.QGroupBox(self.asmGroupBox)
        self.modeGroupBox.setTitle("")
        self.modeGroupBox.setObjectName("modeGroupBox")
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout(self.modeGroupBox)
        self.horizontalLayout_12.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.mode16Button = QtWidgets.QRadioButton(self.modeGroupBox)
        self.mode16Button.setObjectName("mode16Button")
        self.horizontalLayout_12.addWidget(self.mode16Button)
        self.mode32Button = QtWidgets.QRadioButton(self.modeGroupBox)
        self.mode32Button.setObjectName("mode32Button")
        self.horizontalLayout_12.addWidget(self.mode32Button)
        self.mode64Button = QtWidgets.QRadioButton(self.modeGroupBox)
        self.mode64Button.setObjectName("mode64Button")
        self.horizontalLayout_12.addWidget(self.mode64Button)
        self.horizontalLayout_10.addWidget(self.modeGroupBox)
        self.verticalLayout.addWidget(self.asmGroupBox)
        self.inputGroupBox = QtWidgets.QGroupBox(self.formGroupBox)
        self.inputGroupBox.setTitle("")
        self.inputGroupBox.setObjectName("inputGroupBox")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.inputGroupBox)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.inputData = QtWidgets.QPlainTextEdit(self.inputGroupBox)
        self.inputData.setObjectName("inputData")
        self.horizontalLayout_5.addWidget(self.inputData)
        self.verticalLayout.addWidget(self.inputGroupBox)
        self.codeGroupBox = QtWidgets.QGroupBox(self.formGroupBox)
        self.codeGroupBox.setTitle("")
        self.codeGroupBox.setObjectName("codeGroupBox")
        self.horizontalLayout_16 = QtWidgets.QHBoxLayout(self.codeGroupBox)
        self.horizontalLayout_16.setObjectName("horizontalLayout_16")
        self.tabWidget_2 = QtWidgets.QTabWidget(self.codeGroupBox)
        self.tabWidget_2.setObjectName("tabWidget_2")
        self.urlTab = QtWidgets.QWidget()
        self.urlTab.setObjectName("urlTab")
        self.horizontalLayout_17 = QtWidgets.QHBoxLayout(self.urlTab)
        self.horizontalLayout_17.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_17.setSpacing(0)
        self.horizontalLayout_17.setObjectName("horizontalLayout_17")
        self.urlTabText = QtWidgets.QTextEdit(self.urlTab)
        self.urlTabText.setObjectName("urlTabText")
        self.horizontalLayout_17.addWidget(self.urlTabText)
        self.tabWidget_2.addTab(self.urlTab, "")
        self.base64Tab_2 = QtWidgets.QWidget()
        self.base64Tab_2.setObjectName("base64Tab_2")
        self.horizontalLayout_18 = QtWidgets.QHBoxLayout(self.base64Tab_2)
        self.horizontalLayout_18.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_18.setSpacing(0)
        self.horizontalLayout_18.setObjectName("horizontalLayout_18")
        self.base64TabText = QtWidgets.QTextEdit(self.base64Tab_2)
        self.base64TabText.setObjectName("base64TabText")
        self.horizontalLayout_18.addWidget(self.base64TabText)
        self.tabWidget_2.addTab(self.base64Tab_2, "")
        self.hashTab = QtWidgets.QWidget()
        self.hashTab.setObjectName("hashTab")
        self.horizontalLayout_20 = QtWidgets.QHBoxLayout(self.hashTab)
        self.horizontalLayout_20.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_20.setObjectName("horizontalLayout_20")
        self.hashTabText = QtWidgets.QTextEdit(self.hashTab)
        self.hashTabText.setObjectName("hashTabText")
        self.horizontalLayout_20.addWidget(self.hashTabText)
        self.tabWidget_2.addTab(self.hashTab, "")
        self.horizontalLayout_16.addWidget(self.tabWidget_2)
        self.verticalLayout.addWidget(self.codeGroupBox)
        self.outputButtonBox = QtWidgets.QGroupBox(self.formGroupBox)
        self.outputButtonBox.setTitle("")
        self.outputButtonBox.setObjectName("outputButtonBox")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.outputButtonBox)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.outputButton_1 = QtWidgets.QPushButton(self.outputButtonBox)
        self.outputButton_1.setObjectName("outputButton_1")
        self.horizontalLayout_3.addWidget(self.outputButton_1)
        self.outputButton_2 = QtWidgets.QPushButton(self.outputButtonBox)
        self.outputButton_2.setObjectName("outputButton_2")
        self.horizontalLayout_3.addWidget(self.outputButton_2)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem3)
        self.asmEndian = QtWidgets.QGroupBox(self.outputButtonBox)
        self.asmEndian.setTitle("")
        self.asmEndian.setObjectName("asmEndian")
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout(self.asmEndian)
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        self.littleButton = QtWidgets.QRadioButton(self.asmEndian)
        self.littleButton.setObjectName("littleButton")
        self.horizontalLayout_14.addWidget(self.littleButton)
        self.bigButton = QtWidgets.QRadioButton(self.asmEndian)
        self.bigButton.setObjectName("bigButton")
        self.horizontalLayout_14.addWidget(self.bigButton)
        self.horizontalLayout_3.addWidget(self.asmEndian)
        self.cryptInputBox = QtWidgets.QGroupBox(self.outputButtonBox)
        self.cryptInputBox.setTitle("")
        self.cryptInputBox.setObjectName("cryptInputBox")
        self.horizontalLayout_15 = QtWidgets.QHBoxLayout(self.cryptInputBox)
        self.horizontalLayout_15.setObjectName("horizontalLayout_15")
        self.formatLabel = QtWidgets.QLabel(self.cryptInputBox)
        self.formatLabel.setObjectName("formatLabel")
        self.horizontalLayout_15.addWidget(self.formatLabel)
        self.inputComboBox = QtWidgets.QComboBox(self.cryptInputBox)
        self.inputComboBox.setObjectName("inputComboBox")
        self.inputComboBox.addItem("")
        self.inputComboBox.addItem("")
        self.inputComboBox.addItem("")
        self.horizontalLayout_15.addWidget(self.inputComboBox)
        self.horizontalLayout_3.addWidget(self.cryptInputBox)
        self.verticalLayout.addWidget(self.outputButtonBox)
        self.outputCryptBox = QtWidgets.QGroupBox(self.formGroupBox)
        self.outputCryptBox.setTitle("")
        self.outputCryptBox.setObjectName("outputCryptBox")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.outputCryptBox)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.tabWidget = QtWidgets.QTabWidget(self.outputCryptBox)
        self.tabWidget.setObjectName("tabWidget")
        self.hexTab = QtWidgets.QWidget()
        self.hexTab.setObjectName("hexTab")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.hexTab)
        self.horizontalLayout_7.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_7.setSpacing(0)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.hexText = QtWidgets.QTextBrowser(self.hexTab)
        self.hexText.setObjectName("hexText")
        self.horizontalLayout_7.addWidget(self.hexText)
        self.tabWidget.addTab(self.hexTab, "")
        self.base64Tab = QtWidgets.QWidget()
        self.base64Tab.setObjectName("base64Tab")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.base64Tab)
        self.horizontalLayout_8.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_8.setSpacing(0)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.base64Text = QtWidgets.QTextBrowser(self.base64Tab)
        self.base64Text.setObjectName("base64Text")
        self.horizontalLayout_8.addWidget(self.base64Text)
        self.tabWidget.addTab(self.base64Tab, "")
        self.stringTab = QtWidgets.QWidget()
        self.stringTab.setObjectName("stringTab")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.stringTab)
        self.horizontalLayout_9.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_9.setSpacing(0)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.stringText = QtWidgets.QTextBrowser(self.stringTab)
        self.stringText.setObjectName("stringText")
        self.horizontalLayout_9.addWidget(self.stringText)
        self.tabWidget.addTab(self.stringTab, "")
        self.horizontalLayout_6.addWidget(self.tabWidget)
        self.verticalLayout.addWidget(self.outputCryptBox)
        self.outputAsmBox = QtWidgets.QGroupBox(self.formGroupBox)
        self.outputAsmBox.setTitle("")
        self.outputAsmBox.setObjectName("outputAsmBox")
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout(self.outputAsmBox)
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.outputAsmHex = QtWidgets.QTextBrowser(self.outputAsmBox)
        self.outputAsmHex.setObjectName("outputAsmHex")
        self.horizontalLayout_13.addWidget(self.outputAsmHex)
        self.outputAsmEscaped = QtWidgets.QTextBrowser(self.outputAsmBox)
        self.outputAsmEscaped.setObjectName("outputAsmEscaped")
        self.horizontalLayout_13.addWidget(self.outputAsmEscaped)
        self.verticalLayout.addWidget(self.outputAsmBox)
        self.codeOutputGroupBox = QtWidgets.QGroupBox(self.formGroupBox)
        self.codeOutputGroupBox.setTitle("")
        self.codeOutputGroupBox.setObjectName("codeOutputGroupBox")
        self.horizontalLayout_19 = QtWidgets.QHBoxLayout(self.codeOutputGroupBox)
        self.horizontalLayout_19.setObjectName("horizontalLayout_19")
        self.codeOutput = QtWidgets.QTextBrowser(self.codeOutputGroupBox)
        self.codeOutput.setObjectName("codeOutput")
        self.horizontalLayout_19.addWidget(self.codeOutput)
        self.verticalLayout.addWidget(self.codeOutputGroupBox)
        self.horizontalLayout.addWidget(self.formGroupBox)
        self.welcomeGroupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.welcomeGroupBox.setStyleSheet("background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(95, 159, 219, 255), stop:1 rgba(0, 159, 219, 255));\n"
"")
        self.welcomeGroupBox.setTitle("")
        self.welcomeGroupBox.setObjectName("welcomeGroupBox")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.welcomeGroupBox)
        self.verticalLayout_3.setContentsMargins(9, 9, 0, 0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem4)
        self.label = QtWidgets.QLabel(self.welcomeGroupBox)
        self.label.setStyleSheet("color:#ffffff;\n"
"font-weight: bold; \n"
"font-family:Microsoft YaHei;\n"
"font-size: 30px;\n"
"font-style: italic;\n"
"\n"
"background-color: transparent;")
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName("label")
        self.verticalLayout_3.addWidget(self.label)
        self.paddingText = QtWidgets.QTextBrowser(self.welcomeGroupBox)
        self.paddingText.setStyleSheet(" border:0px;\n"
"background-color: transparent;")
        self.paddingText.setLineWidth(0)
        self.paddingText.setObjectName("paddingText")
        self.verticalLayout_3.addWidget(self.paddingText)
        self.horizontalLayout.addWidget(self.welcomeGroupBox)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1139, 23))
        self.menubar.setObjectName("menubar")
        self.menu = QtWidgets.QMenu(self.menubar)
        self.menu.setObjectName("menu")
        self.menuLanguage = QtWidgets.QMenu(self.menu)
        self.menuLanguage.setObjectName("menuLanguage")
        self.menuHelp = QtWidgets.QMenu(self.menubar)
        self.menuHelp.setObjectName("menuHelp")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionEnglish = QtWidgets.QAction(MainWindow)
        self.actionEnglish.setObjectName("actionEnglish")
        self.actionChinese = QtWidgets.QAction(MainWindow)
        self.actionChinese.setObjectName("actionChinese")
        self.actionAbout = QtWidgets.QAction(MainWindow)
        self.actionAbout.setObjectName("actionAbout")
        self.actionOpen = QtWidgets.QAction(MainWindow)
        self.actionOpen.setObjectName("actionOpen")
        self.menuLanguage.addAction(self.actionEnglish)
        self.menuLanguage.addAction(self.actionChinese)
        self.menu.addAction(self.actionOpen)
        self.menu.addSeparator()
        self.menu.addAction(self.menuLanguage.menuAction())
        self.menuHelp.addAction(self.actionAbout)
        self.menubar.addAction(self.menu.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget_2.setCurrentIndex(0)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "Reverse Widget"))
        self.cryptButton.setText(_translate("MainWindow", "Encrypt\n"
"Decrypt"))
        self.codeButton.setText(_translate("MainWindow", "Encode\n"
"Decode"))
        self.asmButton.setText(_translate("MainWindow", "Assemble\n"
"Disassemble"))
        self.nameLable.setText(_translate("MainWindow", "AES"))
        self.choiceAlgorithm.setItemText(0, _translate("MainWindow", "AES"))
        self.choiceAlgorithm.setItemText(1, _translate("MainWindow", "DES"))
        self.choiceAlgorithm.setItemText(2, _translate("MainWindow", "3DES"))
        self.choiceAlgorithm.setItemText(3, _translate("MainWindow", "RC2"))
        self.patternLabel.setText(_translate("MainWindow", "model"))
        self.modelComboBox.setItemText(0, _translate("MainWindow", "ECB"))
        self.modelComboBox.setItemText(1, _translate("MainWindow", "CBC"))
        self.modelComboBox.setItemText(2, _translate("MainWindow", "CFB"))
        self.modelComboBox.setItemText(3, _translate("MainWindow", "Other"))
        self.modelComboBox.setItemText(4, _translate("MainWindow", "OFB"))
        self.modelComboBox.setItemText(5, _translate("MainWindow", "CTR"))
        self.modelComboBox.setItemText(6, _translate("MainWindow", "OPENPGP"))
        self.modelComboBox.setItemText(7, _translate("MainWindow", "CCM"))
        self.modelComboBox.setItemText(8, _translate("MainWindow", "EAX"))
        self.modelComboBox.setItemText(9, _translate("MainWindow", "SIV"))
        self.modelComboBox.setItemText(10, _translate("MainWindow", "GCM"))
        self.modelComboBox.setItemText(11, _translate("MainWindow", "OCB"))
        self.paddingLabel.setText(_translate("MainWindow", "padding"))
        self.paddingComboBox.setItemText(0, _translate("MainWindow", "pkcs7padding"))
        self.paddingComboBox.setItemText(1, _translate("MainWindow", "iso7816"))
        self.paddingComboBox.setItemText(2, _translate("MainWindow", "ansix923"))
        self.keyLabel_2.setText(_translate("MainWindow", "length"))
        self.keySizeComboBox.setItemText(0, _translate("MainWindow", "64bit"))
        self.keySizeComboBox.setItemText(1, _translate("MainWindow", "128bit"))
        self.keySizeComboBox.setItemText(2, _translate("MainWindow", "192bit"))
        self.keySizeComboBox.setItemText(3, _translate("MainWindow", "256bit"))
        self.keyLabel.setText(_translate("MainWindow", "key"))
        self.ivLabel.setText(_translate("MainWindow", "iv"))
        self.x86Button.setText(_translate("MainWindow", "x86"))
        self.armButton.setText(_translate("MainWindow", "ARM"))
        self.mipsButton.setText(_translate("MainWindow", "MIPS"))
        self.sparcButton.setText(_translate("MainWindow", "Sparc"))
        self.powerPcButton.setText(_translate("MainWindow", "PowerPC"))
        self.mode16Button.setText(_translate("MainWindow", "16bit"))
        self.mode32Button.setText(_translate("MainWindow", "32bit"))
        self.mode64Button.setText(_translate("MainWindow", "64bit"))
        self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.urlTab), _translate("MainWindow", "URL"))
        self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.base64Tab_2), _translate("MainWindow", "Base64"))
        self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.hashTab), _translate("MainWindow", "Hash"))
        self.outputButton_1.setText(_translate("MainWindow", "Encrypt"))
        self.outputButton_2.setText(_translate("MainWindow", "Decrypt"))
        self.littleButton.setText(_translate("MainWindow", "Little Endian"))
        self.bigButton.setText(_translate("MainWindow", "Big Endian"))
        self.formatLabel.setText(_translate("MainWindow", "input format"))
        self.inputComboBox.setItemText(0, _translate("MainWindow", "Hex"))
        self.inputComboBox.setItemText(1, _translate("MainWindow", "Base64"))
        self.inputComboBox.setItemText(2, _translate("MainWindow", "String"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.hexTab), _translate("MainWindow", "Hex"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.base64Tab), _translate("MainWindow", "Base64"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.stringTab), _translate("MainWindow", "String"))
        self.label.setText(_translate("MainWindow", "Reverse Widget"))
        self.menu.setTitle(_translate("MainWindow", "File"))
        self.menuLanguage.setTitle(_translate("MainWindow", "Language"))
        self.menuHelp.setTitle(_translate("MainWindow", "Help"))
        self.actionEnglish.setText(_translate("MainWindow", "English"))
        self.actionChinese.setText(_translate("MainWindow", "Chinese"))
        self.actionAbout.setText(_translate("MainWindow", "About"))
        self.actionOpen.setText(_translate("MainWindow", "Open"))
