コード例 #1
0
    def __init__(self):
        super(ui_MorsePanel, self).__init__()

        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.MorseSpiltTips = uni_Widget.ICTFELabel(self)
        self.MorseSpiltTips.setObjectName("MorseSpiltTips")
        self.horizontalLayout.addWidget(self.MorseSpiltTips)
        self.MorseSpiltBox = uni_Widget.ICTFELineBox(self)
        self.MorseSpiltBox.setObjectName("MorseSpiltBox")
        self.horizontalLayout.addWidget(self.MorseSpiltBox)
        self.MorseChineseCheckBox = uni_Widget.ICTFECheckBox(self)
        self.MorseChineseCheckBox.setMinimumSize(QtCore.QSize(120, 45))
        self.MorseChineseCheckBox.setMaximumSize(QtCore.QSize(120, 45))
        self.MorseChineseCheckBox.setObjectName("MorseChineseCheckBox")
        self.horizontalLayout.addWidget(self.MorseChineseCheckBox)
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.MorseEncodeButton = uni_Widget.ICTFEButton(self)
        self.MorseEncodeButton.setMinimumSize(QtCore.QSize(120, 45))
        self.MorseEncodeButton.setMaximumSize(QtCore.QSize(120, 45))
        self.MorseEncodeButton.setObjectName("MorseEncodeButton")
        self.horizontalLayout.addWidget(self.MorseEncodeButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.MorseTextBox = uni_Widget.ICTFETextBox(self)
        self.MorseTextBox.setObjectName("MorseTextBox")
        self.verticalLayout.addWidget(self.MorseTextBox)
        self.horizontalLayout_3.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.MorseDecodeButton = uni_Widget.ICTFEButton(self)
        self.MorseDecodeButton.setMinimumSize(QtCore.QSize(120, 45))
        self.MorseDecodeButton.setMaximumSize(QtCore.QSize(120, 45))
        self.MorseDecodeButton.setObjectName("MorseDecodeButton")
        self.horizontalLayout_2.addWidget(self.MorseDecodeButton)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.MorseCipherBox = uni_Widget.ICTFETextBox(self)
        self.MorseCipherBox.setObjectName("MorseCipherBox")
        self.verticalLayout_2.addWidget(self.MorseCipherBox)
        self.horizontalLayout_3.addLayout(self.verticalLayout_2)
        self.horizontalLayout_4.addLayout(self.horizontalLayout_3)

        self.retranslateUi()
        QtCore.QMetaObject.connectSlotsByName(self)
コード例 #2
0
ファイル: ui_StrokesModule.py プロジェクト: sqxssss/ICTFE
    def __init__(self):
        super(ui_StrokesPanel, self).__init__()

        self.gridLayout = QtWidgets.QGridLayout(self)
        self.gridLayout.setObjectName("gridLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.StrokesDecryptButton = uni_Widget.ICTFEButton(self)
        self.StrokesDecryptButton.setMinimumSize(QtCore.QSize(120, 45))
        self.StrokesDecryptButton.setMaximumSize(QtCore.QSize(120, 45))
        self.StrokesDecryptButton.setObjectName("StrokesDecryptButton")
        self.horizontalLayout.addWidget(self.StrokesDecryptButton)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.StrokesTextBox = uni_Widget.ICTFETextBox(self)
        self.StrokesTextBox.setObjectName("StrokesTextBox")
        self.gridLayout.addWidget(self.StrokesTextBox, 1, 0, 1, 1)
        self.StrokesCipherBox = uni_Widget.ICTFETextBox(self)
        self.StrokesCipherBox.setObjectName("StrokesCipherBox")
        self.gridLayout.addWidget(self.StrokesCipherBox, 1, 1, 1, 1)

        self.retranslateUi()
        QtCore.QMetaObject.connectSlotsByName(self)
コード例 #3
0
ファイル: ui_FileTree.py プロジェクト: Tyrant-K/ICTFE
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        self.centralWidget = QtWidgets.QWidget(MainWindow,
                                               flags=QtCore.Qt.WindowFlags())
        self.centralWidget.setObjectName("centralWidget")
        MainWindow.setCentralWidget(self.centralWidget)
        self.layouts = QtWidgets.QVBoxLayout()
        self.layouts.setObjectName('layouts')
        self.layouts.setSpacing(0)
        self.layouts.setContentsMargins(0, 0, 0, 0)
        self.tree = FileDragList()
        font = QtGui.QFont()
        font.setFamily('文泉驿等宽微米黑')
        font.setPixelSize(20)
        self.tree.setFont(font)
        self.tree.header().hide()
        self.tree.setSelectionMode(QAbstractItemView.SingleSelection)
        self.tree.setDragEnabled(True)
        self.tree.setColumnCount(1)
        self.tree.setColumnWidth(0, 50)
        self.tree.setHeaderLabels([""])
        self.tree.setIconSize(Qt.QSize(25, 25))
        self.tree.setSelectionMode(QAbstractItemView.ExtendedSelection)
        self.actionFileOpen = uni_Widget.ICTFEButton(MainWindow)
        self.actionFileOpen.setObjectName("actionFileOpen")
        self.HeaderLayout = QtWidgets.QHBoxLayout()
        self.HeaderLayout.setObjectName('HeaderLayout')
        self.HeaderLayout.addWidget(self.actionFileOpen)
        self.layouts.addWidget(self.actionFileOpen)
        self.layouts.addWidget(self.tree)
        self.centralWidget.setLayout(self.layouts)

        self.reTranslateUi()
コード例 #4
0
ファイル: DataFlowNodeModel.py プロジェクト: Tyrant-K/ICTFE
 def __init__(self, *args, **kwargs):
     super().__init__(*args, **kwargs)
     self._node_data = None
     self._show = uni_Widget.ICTFEButton()
     self._show.setText('无文件...')
     self._show.setEnabled(False)
     self._show.clicked.connect(self.SaveFile)
コード例 #5
0
ファイル: ErrorWin.py プロジェクト: Tyrant-K/ICTFE
def errorInfo(self, info, types='错误提示'):
    errorWin = QtWidgets.QDialog()
    errorWin.setWindowTitle(types)
    errorWin.setFixedSize(400, 300)
    errorWin.setStyleSheet('background-color: rgb(30, 30, 30)')
    lbl = uni_Widget.ICTFETextBox(errorWin)
    lbl.setText(info)
    lbl.setGeometry(QtCore.QRect(1, 1, 398, 253))
    btn = uni_Widget.ICTFEButton(errorWin)
    btn.setGeometry(QtCore.QRect(280, 255, 120, 45))
    btn.setText('确定')
    btn.clicked.connect(errorWin.close)
    errorWin.exec()
コード例 #6
0
 def __init__(self, parent=None):
     super(ResizablePanel, self).__init__(parent)
     self.setAcceptDrops(True)
     self.r = 0
     self.TheAddButton = uni_Widget.ICTFEButton(self)
     self.TheAddButton.setGeometry(QtCore.QRect(0, 0, 128, 128))
     self.TheAddButton.setObjectName('TheAddButton')
     font = QtGui.QFont()
     font.setFamily('文泉驿微米黑')
     font.setPixelSize(50)
     self.TheAddButton.setText('+')
     self.TheAddButton.setFont(font)
     self.Buttons = []
     self.GrimBox = [
         0, 130, 260, 390, 520, 650, 780, 910, 1040, 1170, 1300, 1430
     ]
コード例 #7
0
    def __init__(self):
        super(ui_CryptoPanel, self).__init__()
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.CryptoMainSpliter = uni_Widget.ICTFESplitter(self)

        self.CryptoMainSpliter.setOrientation(QtCore.Qt.Horizontal)
        self.CryptoMainSpliter.setObjectName("CryptoMainSpliter")
        self.ToolsArea = uni_Widget.ICTFEScrollArea(self.CryptoMainSpliter)
        self.ToolsArea.setWidgetResizable(True)
        self.ToolsArea.setObjectName("ToolsArea")
        self.ToolsAreaPanel = QtWidgets.QWidget()
        self.ToolsAreaPanel.setGeometry(QtCore.QRect(0, 0, 386, 698))
        self.ToolsAreaPanel.setObjectName("ToolsAreaPanel")
        self.ToolsAreaPanel.setStyleSheet('QWidget#ToolsAreaPanel{background-color: #1e1e1e;}')
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.ToolsAreaPanel)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.ToolsSearchBox = uni_Widget.ICTFELineBox(self.ToolsAreaPanel)
        self.ToolsSearchBox.setStyleSheet('color: white;'
                                          'border: 1px solid gray;'
                                          'border-radius: 5px;'
                                          'padding: 5px;'
                                          'background: rgb(20, 20, 20);'
                                          'selection-background-color: blue;')
        self.ToolsSearchBox.setPlaceholderText('搜索...')
        self.ToolsSearchBox.setObjectName("ToolsSearchBox")
        self.verticalLayout_5.addWidget(self.ToolsSearchBox)
        self.ToolsList = DragList(self.ToolsAreaPanel)
        self.ToolsList.setStyleSheet("QTreeWidget::item:hover{color: lightgrey; background-color: rgb(50,50,50)}"
                                     "QTreeWidget::item:selected{color: lightgrey; background-color:rgb(80,110,205)}"
                                     "QTreeWidget{color: lightgrey; background-color: rgb(30, 30, 30)}")
        self.ToolsList.setObjectName("ToolsList")
        self.verticalLayout_5.addWidget(self.ToolsList)
        self.ToolsArea.setWidget(self.ToolsAreaPanel)
        self.widget = QtWidgets.QWidget(self.CryptoMainSpliter)
        self.widget.setObjectName("widget")
        self.NodeEditorLayout = QtWidgets.QVBoxLayout(self.widget)
        self.NodeEditorLayout.setContentsMargins(0, 0, 0, 0)
        self.NodeEditorLayout.setObjectName("NodeEditorLayout")
        self.NodeEditorLayout.setSpacing(0)
        scene = FlowScene()
        self.CryptoToolNodeEditor = CryptoFlowView(scene)
        self.CryptoToolNodeEditor.setMinimumWidth(1000)
        self.CryptoToolNodeEditor.setObjectName("CryptoToolNodeEditor")
        self.NodeEditorLayout.addWidget(self.CryptoToolNodeEditor)
        self.NodeEditorLayout.addWidget(self.CryptoToolNodeEditor)
        self.FileAndOptionsLayout = uni_Widget.ICTFESplitter(self.CryptoMainSpliter)
        self.FileAndOptionsLayout.setOrientation(QtCore.Qt.Vertical)
        self.FileAndOptionsLayout.setObjectName("FileAndOptionsLayout")
        self.OptionsArea = uni_Widget.ICTFEScrollArea(self.FileAndOptionsLayout)
        self.OptionsArea.setWidgetResizable(True)
        self.OptionsArea.setObjectName("OptionsArea")
        self.OptionsAreaPanel = QtWidgets.QWidget()
        self.OptionsAreaPanel.setGeometry(QtCore.QRect(0, 0, 386, 348))
        self.OptionsAreaPanel.setObjectName("OptionsAreaPanel")
        self.OptionsAreaPanel.setStyleSheet('background-color: transparent; border: 0px solid grey;color: white;')
        self.verticalLayout = QtWidgets.QVBoxLayout(self.OptionsAreaPanel)
        self.verticalLayout.setObjectName("verticalLayout")
        self.OptionsTips = uni_Widget.ICTFELabel(self.OptionsAreaPanel)
        self.OptionsTips.setObjectName("OptionsTips")
        self.SaveOptionsButton = uni_Widget.ICTFEButton(self.OptionsAreaPanel)
        self.SaveOptionsButton.setObjectName('SaveOptionsButton')
        self.SaveOptionsButton.setText('保存')
        self.OptionTipsLayout = QtWidgets.QHBoxLayout(self.OptionsAreaPanel)
        self.OptionTipsLayout.setContentsMargins(0, 0, 0, 0)
        self.OptionTipsLayout.addWidget(self.OptionsTips)
        self.OptionTipsLayout.addWidget(self.SaveOptionsButton)
        self.verticalLayout.addLayout(self.OptionTipsLayout)
        self.OptionsBox = OptionsEditBox()
        self.OptionsBox.setObjectName("OptionsBox")
        self.verticalLayout.addWidget(self.OptionsBox)
        self.OptionsArea.setWidget(self.OptionsAreaPanel)
        self.FileTempStackArea = uni_Widget.ICTFEScrollArea(self.FileAndOptionsLayout)
        self.FileTempStackArea.setWidgetResizable(True)
        self.FileTempStackArea.setObjectName("FileTempStackArea")
        self.FileTempStackAreaPanel = QtWidgets.QWidget()
        self.FileTempStackAreaPanel.setStyleSheet('background-color: transparent; color: white;')
        self.FileTempStackAreaPanel.setGeometry(QtCore.QRect(0, 0, 386, 347))
        self.FileTempStackAreaPanel.setObjectName("FileTempStackAreaPanel")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.FileTempStackAreaPanel)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.FileTempStackTips = uni_Widget.ICTFELabel(self.FileTempStackAreaPanel)
        self.FileTempStackTips.setObjectName("FileTempStackTips")
        self.verticalLayout_2.addWidget(self.FileTempStackTips)
        self.FileTempStack = FileStack.FileStack(self.FileTempStackAreaPanel)
        self.FileTempStack.setObjectName("FileTempStack")
        self.verticalLayout_2.addWidget(self.FileTempStack)
        self.FileTempStackArea.setWidget(self.FileTempStackAreaPanel)
        self.horizontalLayout_2.addWidget(self.CryptoMainSpliter)

        self.retranslateUi()
        QtCore.QMetaObject.connectSlotsByName(self)
コード例 #8
0
    def __init__(self):
        super(ui_HashPanel, self).__init__()

        # input text file button
        self.HashTextInputPath = ''
        self.HashTextInputFlag = False
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout(self)
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.HashTextInputButton = uni_Widget.ICTFEButton(self)
        self.HashTextInputButton.setMinimumSize(QtCore.QSize(120, 45))
        self.HashTextInputButton.setMaximumSize(QtCore.QSize(120, 45))
        self.HashTextInputButton.setObjectName("HashTextInputButton")
        self.horizontalLayout.addWidget(self.HashTextInputButton)
        self.HashEncodingTips = uni_Widget.ICTFELabel(self)
        self.HashEncodingTips.setObjectName("HashEncodingTips")
        self.horizontalLayout.addWidget(self.HashEncodingTips)
        self.HashEncodingBox = uni_Widget.ICTFELineBox(self)
        self.HashEncodingBox.setMaximumSize(QtCore.QSize(100, 16777215))
        self.HashEncodingBox.setObjectName("HashEncodingBox")
        self.horizontalLayout.addWidget(self.HashEncodingBox)
        self.HashSaltTips = uni_Widget.ICTFELabel(self)
        self.HashSaltTips.setObjectName("HashSaltTips")
        self.horizontalLayout.addWidget(self.HashSaltTips)
        self.HashSaltBox = uni_Widget.ICTFELineBox(self)
        self.HashSaltBox.setMaximumSize(QtCore.QSize(60, 16777215))
        self.HashSaltBox.setObjectName("HashSaltBox")
        self.horizontalLayout.addWidget(self.HashSaltBox)
        self.HashEvalCheckBox = uni_Widget.ICTFECheckBox(self)
        self.HashEvalCheckBox.setMinimumSize(QtCore.QSize(60, 45))
        self.HashEvalCheckBox.setMaximumSize(QtCore.QSize(60, 45))
        self.HashEvalCheckBox.setObjectName("HashEvalCheckBox")
        self.horizontalLayout.addWidget(self.HashEvalCheckBox)
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.HashEncodeButton = uni_Widget.ICTFEButton(self)
        self.HashEncodeButton.setMinimumSize(QtCore.QSize(120, 45))
        self.HashEncodeButton.setMaximumSize(QtCore.QSize(120, 45))
        self.HashEncodeButton.setObjectName("HashEncodeButton")
        self.horizontalLayout.addWidget(self.HashEncodeButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.HashTextBox = uni_Widget.ICTFETextBox(self)
        self.HashTextBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.HashTextBox.setObjectName("HashTextBox")
        self.verticalLayout.addWidget(self.HashTextBox)
        self.horizontalLayout_13.addLayout(self.verticalLayout)
        self.scrollArea = uni_Widget.ICTFEScrollArea(self)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 516, 731))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(
            self.scrollAreaWidgetContents)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.HashTips = uni_Widget.ICTFELabel(self.scrollAreaWidgetContents)
        self.HashTips.setObjectName("HashTips")
        self.horizontalLayout_2.addWidget(self.HashTips)
        self.HashValueBox = uni_Widget.ICTFELineBox(
            self.scrollAreaWidgetContents)
        self.HashValueBox.setObjectName("HashValueBox")
        self.HashValueBox.setMinimumHeight(45)
        self.horizontalLayout_2.addWidget(self.HashValueBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.MD5Tips = uni_Widget.ICTFELabel(self.scrollAreaWidgetContents)
        self.MD5Tips.setObjectName("MD5Tips")
        self.horizontalLayout_3.addWidget(self.MD5Tips)
        self.MD5ValueBox = uni_Widget.ICTFELineBox(
            self.scrollAreaWidgetContents)
        self.MD5ValueBox.setObjectName("MD5ValueBox")
        self.MD5ValueBox.setMinimumHeight(45)
        self.horizontalLayout_3.addWidget(self.MD5ValueBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.SHA1Tips = uni_Widget.ICTFELabel(self.scrollAreaWidgetContents)
        self.SHA1Tips.setObjectName("SHA1Tips")
        self.horizontalLayout_4.addWidget(self.SHA1Tips)
        self.SHA1ValueBox = uni_Widget.ICTFELineBox(
            self.scrollAreaWidgetContents)
        self.SHA1ValueBox.setObjectName("SHA1ValueBox")
        self.SHA1ValueBox.setMinimumHeight(45)
        self.horizontalLayout_4.addWidget(self.SHA1ValueBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.SHA224Tips = uni_Widget.ICTFELabel(self.scrollAreaWidgetContents)
        self.SHA224Tips.setObjectName("SHA224Tips")
        self.horizontalLayout_5.addWidget(self.SHA224Tips)
        self.SHA224ValueBox = uni_Widget.ICTFELineBox(
            self.scrollAreaWidgetContents)
        self.SHA224ValueBox.setObjectName("SHA224ValueBox")
        self.SHA224ValueBox.setMinimumHeight(45)
        self.horizontalLayout_5.addWidget(self.SHA224ValueBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.SHA256Tips = uni_Widget.ICTFELabel(self.scrollAreaWidgetContents)
        self.SHA256Tips.setObjectName("SHA256Tips")
        self.horizontalLayout_6.addWidget(self.SHA256Tips)
        self.SHA256ValueBox = uni_Widget.ICTFELineBox(
            self.scrollAreaWidgetContents)
        self.SHA256ValueBox.setObjectName("SHA256ValueBox")
        self.SHA256ValueBox.setMinimumHeight(45)
        self.horizontalLayout_6.addWidget(self.SHA256ValueBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.SHA384Tips = uni_Widget.ICTFELabel(self.scrollAreaWidgetContents)
        self.SHA384Tips.setObjectName("SHA384Tips")
        self.horizontalLayout_7.addWidget(self.SHA384Tips)
        self.SHA384ValueBox = uni_Widget.ICTFELineBox(
            self.scrollAreaWidgetContents)
        self.SHA384ValueBox.setObjectName("SHA384ValueBox")
        self.SHA384ValueBox.setMinimumHeight(45)
        self.horizontalLayout_7.addWidget(self.SHA384ValueBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.SHA512Tips = uni_Widget.ICTFELabel(self.scrollAreaWidgetContents)
        self.SHA512Tips.setObjectName("SHA512Tips")
        self.horizontalLayout_8.addWidget(self.SHA512Tips)
        self.SHA512ValueBox = uni_Widget.ICTFELineBox(
            self.scrollAreaWidgetContents)
        self.SHA512ValueBox.setObjectName("SHA512ValueBox")
        self.SHA512ValueBox.setMinimumHeight(45)
        self.horizontalLayout_8.addWidget(self.SHA512ValueBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_8)
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.SHA3224Tips = uni_Widget.ICTFELabel(self.scrollAreaWidgetContents)
        self.SHA3224Tips.setObjectName("SHA3224Tips")
        self.horizontalLayout_9.addWidget(self.SHA3224Tips)
        self.SHA3224ValueBox = uni_Widget.ICTFELineBox(
            self.scrollAreaWidgetContents)
        self.SHA3224ValueBox.setObjectName("SHA3224ValueBox")
        self.SHA3224ValueBox.setMinimumHeight(45)
        self.horizontalLayout_9.addWidget(self.SHA3224ValueBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_9)
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.SHA3256Tips = uni_Widget.ICTFELabel(self.scrollAreaWidgetContents)
        self.SHA3256Tips.setObjectName("SHA3256Tips")
        self.horizontalLayout_10.addWidget(self.SHA3256Tips)
        self.SHA3256ValueBox = uni_Widget.ICTFELineBox(
            self.scrollAreaWidgetContents)
        self.SHA3256ValueBox.setObjectName("SHA3256ValueBox")
        self.SHA3256ValueBox.setMinimumHeight(45)
        self.horizontalLayout_10.addWidget(self.SHA3256ValueBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_10)
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.SHA3384Tips = uni_Widget.ICTFELabel(self.scrollAreaWidgetContents)
        self.SHA3384Tips.setObjectName("SHA3384Tips")
        self.horizontalLayout_11.addWidget(self.SHA3384Tips)
        self.SHA3384ValueBox = uni_Widget.ICTFELineBox(
            self.scrollAreaWidgetContents)
        self.SHA3384ValueBox.setObjectName("SHA3384ValueBox")
        self.SHA3384ValueBox.setMinimumHeight(45)
        self.horizontalLayout_11.addWidget(self.SHA3384ValueBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_11)
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.SHA3512Tips = uni_Widget.ICTFELabel(self.scrollAreaWidgetContents)
        self.SHA3512Tips.setTextFormat(QtCore.Qt.AutoText)
        self.SHA3512Tips.setObjectName("SHA3512Tips")
        self.horizontalLayout_12.addWidget(self.SHA3512Tips)
        self.SHA3512ValueBox = uni_Widget.ICTFELineBox(
            self.scrollAreaWidgetContents)
        self.SHA3512ValueBox.setObjectName("SHA3512ValueBox")
        self.SHA3512ValueBox.setMinimumHeight(45)
        self.horizontalLayout_12.addWidget(self.SHA3512ValueBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_12)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.horizontalLayout_13.addWidget(self.scrollArea)
        self.horizontalLayout_14.addLayout(self.horizontalLayout_13)

        self.retranslateUi()
        QtCore.QMetaObject.connectSlotsByName(self)
コード例 #9
0
    def setupUi(self, MainWindow):
        QtGui.QFontDatabase.addApplicationFont("./Resources/wqy-microhei.ttc")
        QtGui.QFontDatabase.addApplicationFont('./Resources/fira-code.ttf')
        self.MainWindow = MainWindow
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1600, 900)
        self.StatusBar = QtWidgets.QStatusBar()
        MainWindow.setStatusBar(self.StatusBar)
        self.StatusBar.setObjectName('StatusBar')
        self.StatusBar.setStyleSheet('QWidget{background-color: transparent;}')
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        MainWindow.setWindowFlags(QtCore.Qt.FramelessWindowHint)
        self.MainWindow.setStyleSheet("QMainWindow#MainWindow{\n"
                                      "background-color: rgb(30, 30, 30);\n"
                                      "border: 1px rgb(50, 50, 50);\n"
                                      "border-style: solid;\n"
                                      "}")
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setContentsMargins(1, 1, 1, 1)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.TitleLabel = uni_Widget.ICTFELabel(self.centralwidget)
        self.TitleLabel.setObjectName("TitleLabel")
        font = QtGui.QFont()
        font.setFamily('Fira Code')
        font.setPixelSize(16)
        self.TitleLabel.setFont(font)
        self.TitleLabel.setText('  ICTFE  ')
        self.TitleLabel.setStyleSheet(
            'QLabel{'
            'background-color: rgb(130, 50, 235);'
            'color: white;'
            '}'
            "QLabel:hover{"
            "background-color: rgba(60, 130, 240, 100%);"
            "color: white;"
            'border-radius: 16px;'
            "}")
        self.horizontalLayout.addWidget(self.TitleLabel)
        self.TabLayout = QtWidgets.QHBoxLayout()
        self.TabLayout.setContentsMargins(0, 0, 0, 0)
        self.TabLayout.setObjectName("TabLayout")
        self.horizontalLayout.addLayout(self.TabLayout)
        spacerItem = QtWidgets.QSpacerItem(1088, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)

        self.MiniButton = QtWidgets.QPushButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.MiniButton.sizePolicy().hasHeightForWidth())
        self.MiniButton.setSizePolicy(sizePolicy)
        self.MiniButton.setMinimumSize(QtCore.QSize(54, 32))
        self.MiniButton.setMaximumSize(QtCore.QSize(54, 32))
        self.MiniButton.setBaseSize(QtCore.QSize(120, 45))
        self.MiniButton.setStyleSheet(
            "QPushButton#MiniButton{\n"
            "            image:url(./Resources/mini);\n"
            "            border:none;\n"
            "            }\n"
            "            QPushButton#MiniButton:hover{\n"
            "            image:url(./Resources/mini1);\n"
            "            border:none;\n"
            "            }\n"
            "            QPushButton#MiniButton:pressed{\n"
            "            image:url(./Resources/mini2);\n"
            "            border:none;\n"
            "            }")
        self.MiniButton.setText("")
        self.MiniButton.setFlat(True)
        self.MiniButton.setObjectName("MiniButton")
        self.horizontalLayout.addWidget(self.MiniButton)
        self.MaxButton = QtWidgets.QPushButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.MaxButton.sizePolicy().hasHeightForWidth())
        self.MaxButton.setSizePolicy(sizePolicy)
        self.MaxButton.setMinimumSize(QtCore.QSize(54, 32))
        self.MaxButton.setMaximumSize(QtCore.QSize(54, 32))
        self.MaxButton.setBaseSize(QtCore.QSize(120, 45))
        self.MaxButton.setStyleSheet(
            "QPushButton#MaxButton{\n"
            "            image:url(./Resources/max);\n"
            "            border:none;\n"
            "            }\n"
            "            QPushButton#MaxButton:hover{\n"
            "            image:url(./Resources/max1);\n"
            "            border:none;\n"
            "            }\n"
            "            QPushButton#MaxButton:pressed{\n"
            "            image:url(./Resources/max2);\n"
            "            border:none;\n"
            "            }")
        self.MaxButton.setText("")
        self.MaxButton.setFlat(True)
        self.MaxButton.setObjectName("MaxButton")
        self.horizontalLayout.addWidget(self.MaxButton)
        self.CloseButton = QtWidgets.QPushButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.CloseButton.sizePolicy().hasHeightForWidth())
        self.CloseButton.setSizePolicy(sizePolicy)
        self.CloseButton.setMinimumSize(QtCore.QSize(54, 32))
        self.CloseButton.setMaximumSize(QtCore.QSize(54, 32))
        self.CloseButton.setStyleSheet(
            "QPushButton#CloseButton{\n"
            "            image:url(./Resources/close);\n"
            "            border:none;\n"
            "            }\n"
            "            QPushButton#CloseButton:hover{\n"
            "            image:url(./Resources/close1);\n"
            "            border:none;\n"
            "            }\n"
            "            QPushButton#CloseButton:pressed{\n"
            "            image:url(./Resources/close2);\n"
            "            border:none;\n"
            "            }")
        self.CloseButton.setText("")
        self.CloseButton.setFlat(True)
        self.CloseButton.setObjectName("CloseButton")
        self.horizontalLayout.addWidget(self.CloseButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.ReverseButton = uni_Widget.ICTFEButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.ReverseButton.sizePolicy().hasHeightForWidth())
        self.ReverseButton.setSizePolicy(sizePolicy)
        self.ReverseButton.setObjectName("ReverseButton")
        self.ReverseButton.setMaximumHeight(32)

        self.TabLayout.setSpacing(0)

        self.TabLayout.addWidget(self.ReverseButton)
        self.WebButton = uni_Widget.ICTFEButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.WebButton.sizePolicy().hasHeightForWidth())
        self.WebButton.setSizePolicy(sizePolicy)
        self.WebButton.setObjectName("WebButton")
        self.WebButton.setMaximumHeight(32)
        self.TabLayout.addWidget(self.WebButton)
        self.CryptoButton = uni_Widget.ICTFEButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.CryptoButton.sizePolicy().hasHeightForWidth())
        self.CryptoButton.setSizePolicy(sizePolicy)
        self.CryptoButton.setObjectName("CryptoButton")
        self.CryptoButton.setMaximumHeight(32)
        self.TabLayout.addWidget(self.CryptoButton)
        self.PwnButton = uni_Widget.ICTFEButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.PwnButton.sizePolicy().hasHeightForWidth())
        self.PwnButton.setSizePolicy(sizePolicy)
        self.PwnButton.setObjectName("PwnButton")
        self.PwnButton.setMaximumHeight(32)
        self.TabLayout.addWidget(self.PwnButton)
        self.MiscButton = uni_Widget.ICTFEButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.MiscButton.sizePolicy().hasHeightForWidth())
        self.MiscButton.setSizePolicy(sizePolicy)
        self.MiscButton.setObjectName("MiscButton")
        self.MiscButton.setMaximumHeight(32)
        self.TabLayout.addWidget(self.MiscButton)
        self.TerminalButton = uni_Widget.ICTFEButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.TerminalButton.sizePolicy().hasHeightForWidth())
        self.TerminalButton.setSizePolicy(sizePolicy)
        self.TerminalButton.setObjectName("TerminalButton")
        self.TerminalButton.setMaximumHeight(32)
        self.TabLayout.addWidget(self.TerminalButton)
        self.WikiButton = uni_Widget.ICTFEButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.WikiButton.sizePolicy().hasHeightForWidth())
        self.WikiButton.setSizePolicy(sizePolicy)
        self.WikiButton.setMaximumHeight(32)
        self.WikiButton.setObjectName("WikiButton")
        self.TabLayout.addWidget(self.WikiButton)
        self.BrowserButton = uni_Widget.ICTFEButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.BrowserButton.sizePolicy().hasHeightForWidth())
        self.BrowserButton.setSizePolicy(sizePolicy)
        self.BrowserButton.setObjectName("BrowserButton")
        self.BrowserButton.setMaximumHeight(32)
        self.TabLayout.addWidget(self.BrowserButton)
        self.KiwixButton = uni_Widget.ICTFEButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.KiwixButton.sizePolicy().hasHeightForWidth())
        self.KiwixButton.setSizePolicy(sizePolicy)
        self.KiwixButton.setObjectName("KiwixButton")
        self.KiwixButton.setMaximumHeight(32)
        self.TabLayout.addWidget(self.KiwixButton)
        self.DIYButton = uni_Widget.ICTFEButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.DIYButton.sizePolicy().hasHeightForWidth())
        self.DIYButton.setSizePolicy(sizePolicy)
        self.DIYButton.setObjectName("DIYButton")
        self.DIYButton.setMaximumHeight(32)
        self.TabLayout.addWidget(self.DIYButton)
        self.PDFJSButton = uni_Widget.ICTFEButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.PDFJSButton.sizePolicy().hasHeightForWidth())
        self.PDFJSButton.setSizePolicy(sizePolicy)
        self.PDFJSButton.setMaximumHeight(32)
        self.PDFJSButton.setObjectName("PDFJSButton")
        self.TabLayout.addWidget(self.PDFJSButton)

        self.TypeStack = QtWidgets.QStackedWidget(self.centralwidget)
        self.TypeStack.setMinimumSize(QtCore.QSize(1000, 600))
        self.TypeStack.setStyleSheet("QWidget#TypeStack{\n"
                                     "background-color: transparent;\n"
                                     "}")
        self.TypeStack.setObjectName("TypeStack")

        # Reverse Panel
        self.ReversePanel = QtWidgets.QWidget()
        self.ReversePanel.setObjectName("ReversePanel")
        self.TypeStack.addWidget(self.ReversePanel)

        # Web Panel
        self.WebPanel = QtWidgets.QWidget()
        self.WebPanel.setObjectName("WebPanel")
        self.TypeStack.addWidget(self.WebPanel)

        # Crypto Panel
        self.CryptoPanel = CryptoPanel.CryptoPanel()
        self.CryptoPanel.setObjectName("CryptoPanel")
        self.TypeStack.addWidget(self.CryptoPanel)

        # Pwn panel
        self.PwnPanel = QtWidgets.QWidget()
        self.PwnPanel.setObjectName("PwnPanel")
        self.TypeStack.addWidget(self.PwnPanel)

        # Misc Panel
        self.MiscPanel = QtWidgets.QWidget()
        self.MiscPanel.setObjectName("MiscPanel")
        self.TypeStack.addWidget(self.MiscPanel)

        # DIY Panel
        self.DIYPanel = DIYPanel()
        self.DIYPanel.setObjectName('DIYPanel')
        self.TypeStack.addWidget(self.DIYPanel)

        # PDFJS Panel
        self.PDFJSPanel = PDFJSPanel()
        self.PDFJSPanel.setObjectName('PDFJSPanel')
        self.TypeStack.addWidget(self.PDFJSPanel)

        # Terminal Panel
        self.TerminalPanel = TerminalPanel()
        self.TerminalPanel.setObjectName('TerminalPanel')
        self.TypeStack.addWidget(self.TerminalPanel)

        # Browser Panel
        self.BrowserPanel = BrowserPanel()
        self.BrowserPanel.setObjectName('BrowserPanel')
        self.TypeStack.addWidget(self.BrowserPanel)

        # Wiki Panel
        self.WikiPanel = WikiPanel()
        self.WikiPanel.setObjectName('WikiPanel')
        self.TypeStack.addWidget(self.WikiPanel)

        # Wiki Panel
        self.KiwixPanel = KiwixPanel()
        self.KiwixPanel.setObjectName('KiwixPanel')
        self.TypeStack.addWidget(self.KiwixPanel)

        # Welcome Panel
        self.WelcomeLabel = QtWidgets.QLabel()
        self.WelcomeLabel.setObjectName('WelcomeLabel')
        self.WelcomeLabel.setAlignment(Qt.AlignVCenter | Qt.AlignCenter)
        pixmap = QtGui.QPixmap("./Resources/welcome.png")  # 按指定路径找到图片
        self.WelcomeLabel.setPixmap(pixmap)  # 在label上显示图片
        self.TypeStack.addWidget(self.WelcomeLabel)

        self.SplitterWidget1 = QtWidgets.QWidget(self)
        self.SplitterWidget1.setMaximumHeight(3)
        self.SplitterWidget1.setMinimumHeight(3)
        self.SplitterWidget1.setStyleSheet(
            "QWidget{\n"
            "background-color: rgb(130, 50, 235);\n"
            "border: 2px rgb(130, 50, 235);\n"
            "border-style: solid;\n"
            "}")
        self.verticalLayout.addWidget(self.SplitterWidget1)
        self.styleGetter = 0

        self.verticalLayout.addWidget(self.TypeStack)
        MainWindow.setCentralWidget(self.centralwidget)
        self.MaxFlag = False

        self.retranslateUi(MainWindow)
        self.MiniButton.clicked.connect(MainWindow.showMinimized)
        self.CloseButton.clicked.connect(self.FormClosing)
        self.MaxButton.clicked.connect(MainWindow.MaximumWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
        self.CryptoButton.clicked.connect(self.ChangeTypeStackCrypto)
        self.ReverseButton.clicked.connect(self.ChangeTypeStackReverse)
        self.MiscButton.clicked.connect(self.ChangeTypeStackMisc)
        self.WebButton.clicked.connect(self.ChangeTypeStackWeb)
        self.PwnButton.clicked.connect(self.ChangeTypeStackPwn)
        self.DIYButton.clicked.connect(self.ChangeTypeStackDIY)
        self.PDFJSButton.clicked.connect(self.ChangeTypeStackPDFJS)
        self.BrowserButton.clicked.connect(self.ChangeTypeStackBrowser)
        self.WikiButton.clicked.connect(self.ChangeTypeStackWiki)
        self.KiwixButton.clicked.connect(self.ChangeTypeStackKiwix)
        self.TerminalButton.clicked.connect(self.ChangeTypeStackTerminal)
        self.StatusThread = SystemInfoThread(MainWindow)
        self.StatusThread.start()
        self.center()
コード例 #10
0
    def __init__(self):
        super(ui_QuotePanel, self).__init__()
        # begin quote panel
        # input text file button
        self.QuoteTextInputPath = ''

        # output text file button
        self.QuoteTextOutputPath = ''

        # input cipher file button
        self.QuoteCipherInputPath = ''

        # output cipher file button
        self.QuoteCipherOutputPath = ''

        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.QuoteTextInputButton = uni_Widget.ICTFEButton(self)
        self.QuoteTextInputButton.setMinimumSize(QtCore.QSize(120, 45))
        self.QuoteTextInputButton.setMaximumSize(QtCore.QSize(120, 45))
        self.QuoteTextInputButton.setObjectName("QuoteTextInputButton")
        self.horizontalLayout.addWidget(self.QuoteTextInputButton)
        self.QuoteTextOutputButton = uni_Widget.ICTFEButton(self)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(120)
        sizePolicy.setVerticalStretch(45)
        sizePolicy.setHeightForWidth(
            self.QuoteTextOutputButton.sizePolicy().hasHeightForWidth())
        self.QuoteTextOutputButton.setSizePolicy(sizePolicy)
        self.QuoteTextOutputButton.setMinimumSize(QtCore.QSize(120, 45))
        self.QuoteTextOutputButton.setMaximumSize(QtCore.QSize(120, 45))
        self.QuoteTextOutputButton.setObjectName("QuoteTextOutputButton")
        self.horizontalLayout.addWidget(self.QuoteTextOutputButton)
        self.QuoteEvalCheckBox = uni_Widget.ICTFECheckBox(self)
        self.QuoteEvalCheckBox.setMinimumSize(QtCore.QSize(120, 45))
        self.QuoteEvalCheckBox.setMaximumSize(QtCore.QSize(120, 45))
        self.QuoteEvalCheckBox.setObjectName("QuoteEvalCheckBox")
        self.horizontalLayout.addWidget(self.QuoteEvalCheckBox)
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.QuoteEncodeButton = uni_Widget.ICTFEButton(self)
        self.QuoteEncodeButton.setMinimumSize(QtCore.QSize(120, 45))
        self.QuoteEncodeButton.setMaximumSize(QtCore.QSize(120, 45))
        self.QuoteEncodeButton.setObjectName("QuoteEncodeButton")
        self.horizontalLayout.addWidget(self.QuoteEncodeButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.QuoteTextBox = uni_Widget.ICTFETextBox(self)
        self.QuoteTextBox.setObjectName("QuoteTextBox")
        self.verticalLayout.addWidget(self.QuoteTextBox)
        self.horizontalLayout_3.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.QuoteCipherInputButton = uni_Widget.ICTFEButton(self)
        self.QuoteCipherInputButton.setMinimumSize(QtCore.QSize(120, 45))
        self.QuoteCipherInputButton.setMaximumSize(QtCore.QSize(120, 45))
        self.QuoteCipherInputButton.setObjectName("QuoteCipherInputButton")
        self.horizontalLayout_2.addWidget(self.QuoteCipherInputButton)
        self.QuoteCipherOutputButton = uni_Widget.ICTFEButton(self)
        self.QuoteCipherOutputButton.setMinimumSize(QtCore.QSize(120, 45))
        self.QuoteCipherOutputButton.setMaximumSize(QtCore.QSize(120, 45))
        self.QuoteCipherOutputButton.setObjectName("QuoteCipherOutputButton")
        self.horizontalLayout_2.addWidget(self.QuoteCipherOutputButton)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.QuoteDecodeButton = uni_Widget.ICTFEButton(self)
        self.QuoteDecodeButton.setMinimumSize(QtCore.QSize(120, 45))
        self.QuoteDecodeButton.setMaximumSize(QtCore.QSize(120, 45))
        self.QuoteDecodeButton.setObjectName("QuoteDecodeButton")
        self.horizontalLayout_2.addWidget(self.QuoteDecodeButton)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.QuoteCipherBox = uni_Widget.ICTFETextBox(self)
        self.QuoteCipherBox.setObjectName("QuoteCipherBox")
        self.verticalLayout_2.addWidget(self.QuoteCipherBox)
        self.horizontalLayout_3.addLayout(self.verticalLayout_2)
        self.horizontalLayout_4.addLayout(self.horizontalLayout_3)

        self.retranslateUi()