# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ActionsCollectorWindowUI.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# 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_ActionsCollectorMainWindow(object):
    def setupUi(self, ActionsCollectorMainWindow):
        ActionsCollectorMainWindow.setObjectName("ActionsCollectorMainWindow")
        ActionsCollectorMainWindow.resize(1309, 811)
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(10)
        ActionsCollectorMainWindow.setFont(font)
        self.centralwidget = QtWidgets.QWidget(ActionsCollectorMainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.gridLayout_7 = QtWidgets.QGridLayout(self.tab)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.groupBox_2 = QtWidgets.QGroupBox(self.tab)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.briefGLayout = QtWidgets.QGridLayout()
        self.briefGLayout.setObjectName("briefGLayout")
        self.gridLayout.addLayout(self.briefGLayout, 0, 0, 1, 1)
        self.gifGLayout = QtWidgets.QGridLayout()
        self.gifGLayout.setObjectName("gifGLayout")
        self.gridLayout.addLayout(self.gifGLayout, 0, 1, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout, 1, 0, 1, 1)
        self.instructionGLayout = QtWidgets.QGridLayout()
        self.instructionGLayout.setObjectName("instructionGLayout")
        self.gridLayout_4.addLayout(self.instructionGLayout, 2, 0, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.pushButton_5 = QtWidgets.QPushButton(self.groupBox_2)
        self.pushButton_5.setObjectName("pushButton_5")
        self.horizontalLayout.addWidget(self.pushButton_5)
        self.pushButton_6 = QtWidgets.QPushButton(self.groupBox_2)
        self.pushButton_6.setObjectName("pushButton_6")
        self.horizontalLayout.addWidget(self.pushButton_6)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.gridLayout_4.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.gridLayout_4.setRowStretch(1, 1)
        self.gridLayout_4.setRowStretch(2, 2)
        self.gridLayout_7.addWidget(self.groupBox_2, 0, 2, 1, 1)
        self.groupBox = QtWidgets.QGroupBox(self.tab)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.gridLayout_5 = QtWidgets.QGridLayout()
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.pushButton = QtWidgets.QPushButton(self.groupBox)
        self.pushButton.setObjectName("pushButton")
        self.gridLayout_5.addWidget(self.pushButton, 0, 0, 1, 1)
        self.pushButton_2 = QtWidgets.QPushButton(self.groupBox)
        self.pushButton_2.setObjectName("pushButton_2")
        self.gridLayout_5.addWidget(self.pushButton_2, 0, 1, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem1, 0, 4, 1, 1)
        self.pushButton_3 = QtWidgets.QPushButton(self.groupBox)
        self.pushButton_3.setObjectName("pushButton_3")
        self.gridLayout_5.addWidget(self.pushButton_3, 0, 2, 1, 1)
        self.pushButton_4 = QtWidgets.QPushButton(self.groupBox)
        self.pushButton_4.setObjectName("pushButton_4")
        self.gridLayout_5.addWidget(self.pushButton_4, 0, 3, 1, 1)
        self.gridLayout_6.addLayout(self.gridLayout_5, 0, 0, 1, 1)
        self.englishGBox = QtWidgets.QGroupBox(self.groupBox)
        self.englishGBox.setObjectName("englishGBox")
        self.gridLayout_8 = QtWidgets.QGridLayout(self.englishGBox)
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.gridLayout_6.addWidget(self.englishGBox, 1, 0, 1, 1)
        self.chineseGBox = QtWidgets.QGroupBox(self.groupBox)
        self.chineseGBox.setObjectName("chineseGBox")
        self.gridLayout_10 = QtWidgets.QGridLayout(self.chineseGBox)
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.gridLayout_6.addWidget(self.chineseGBox, 1, 1, 1, 1)
        self.gridLayout_6.setColumnStretch(0, 1)
        self.gridLayout_6.setColumnStretch(1, 1)
        self.gridLayout_6.setRowStretch(1, 1)
        self.gridLayout_7.addWidget(self.groupBox, 0, 1, 1, 1)
        self.groupBox_5 = QtWidgets.QGroupBox(self.tab)
        self.groupBox_5.setObjectName("groupBox_5")
        self.gridLayout_12 = QtWidgets.QGridLayout(self.groupBox_5)
        self.gridLayout_12.setObjectName("gridLayout_12")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label = QtWidgets.QLabel(self.groupBox_5)
        self.label.setObjectName("label")
        self.horizontalLayout_3.addWidget(self.label)
        self.equipmentCmbBox = QtWidgets.QComboBox(self.groupBox_5)
        self.equipmentCmbBox.setObjectName("equipmentCmbBox")
        self.horizontalLayout_3.addWidget(self.equipmentCmbBox)
        self.gridLayout_12.addLayout(self.horizontalLayout_3, 1, 0, 1, 1)
        self.listView = QtWidgets.QListView(self.groupBox_5)
        self.listView.setObjectName("listView")
        self.gridLayout_12.addWidget(self.listView, 3, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.englishRButton = QtWidgets.QRadioButton(self.groupBox_5)
        self.englishRButton.setChecked(True)
        self.englishRButton.setObjectName("englishRButton")
        self.buttonGroup = QtWidgets.QButtonGroup(ActionsCollectorMainWindow)
        self.buttonGroup.setObjectName("buttonGroup")
        self.buttonGroup.addButton(self.englishRButton)
        self.horizontalLayout_2.addWidget(self.englishRButton)
        self.chineseRButton = QtWidgets.QRadioButton(self.groupBox_5)
        self.chineseRButton.setChecked(False)
        self.chineseRButton.setObjectName("chineseRButton")
        self.buttonGroup.addButton(self.chineseRButton)
        self.horizontalLayout_2.addWidget(self.chineseRButton)
        self.gridLayout_12.addLayout(self.horizontalLayout_2, 0, 0, 1, 1)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_2 = QtWidgets.QLabel(self.groupBox_5)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_4.addWidget(self.label_2)
        self.bodyPartCmbBox = QtWidgets.QComboBox(self.groupBox_5)
        self.bodyPartCmbBox.setObjectName("bodyPartCmbBox")
        self.horizontalLayout_4.addWidget(self.bodyPartCmbBox)
        self.gridLayout_12.addLayout(self.horizontalLayout_4, 2, 0, 1, 1)
        self.gridLayout_7.addWidget(self.groupBox_5, 0, 0, 1, 1)
        self.gridLayout_7.setColumnStretch(0, 1)
        self.gridLayout_7.setColumnStretch(1, 4)
        self.gridLayout_7.setColumnStretch(2, 2)
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.gridLayout_11 = QtWidgets.QGridLayout(self.tab_2)
        self.gridLayout_11.setObjectName("gridLayout_11")
        self.groupBox_4 = QtWidgets.QGroupBox(self.tab_2)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.tableGLayout = QtWidgets.QGridLayout()
        self.tableGLayout.setObjectName("tableGLayout")
        self.gridLayout_3.addLayout(self.tableGLayout, 0, 0, 1, 1)
        self.gridLayout_11.addWidget(self.groupBox_4, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab_2, "")
        self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1)
        self.gridLayout_2.setColumnStretch(0, 2)
        ActionsCollectorMainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(ActionsCollectorMainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1309, 22))
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
        ActionsCollectorMainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(ActionsCollectorMainWindow)
        self.statusbar.setObjectName("statusbar")
        ActionsCollectorMainWindow.setStatusBar(self.statusbar)
        self.actionDirectory = QtWidgets.QAction(ActionsCollectorMainWindow)
        self.actionDirectory.setObjectName("actionDirectory")
        self.actionExit = QtWidgets.QAction(ActionsCollectorMainWindow)
        self.actionExit.setObjectName("actionExit")
        self.menuFile.addAction(self.actionDirectory)
        self.menuFile.addAction(self.actionExit)
        self.menubar.addAction(self.menuFile.menuAction())

        self.retranslateUi(ActionsCollectorMainWindow)
        self.tabWidget.setCurrentIndex(0)
        self.pushButton.clicked.connect(ActionsCollectorMainWindow.readFromWeb)
        self.pushButton_2.clicked.connect(ActionsCollectorMainWindow.saveExcel)
        self.pushButton_3.clicked.connect(ActionsCollectorMainWindow.exportJson)
        self.actionExit.triggered.connect(ActionsCollectorMainWindow.close)
        self.listView.clicked['QModelIndex'].connect(ActionsCollectorMainWindow.selectAction)
        self.pushButton_5.clicked.connect(ActionsCollectorMainWindow.sync)
        self.pushButton_4.clicked['bool'].connect(ActionsCollectorMainWindow.translate)
        self.buttonGroup.buttonClicked['QAbstractButton*'].connect(ActionsCollectorMainWindow.changeLanguage)
        self.pushButton_6.clicked.connect(ActionsCollectorMainWindow.rename)
        self.equipmentCmbBox.currentTextChanged['QString'].connect(ActionsCollectorMainWindow.selectEquipment)
        self.bodyPartCmbBox.currentTextChanged['QString'].connect(ActionsCollectorMainWindow.selectBodyPart)
        QtCore.QMetaObject.connectSlotsByName(ActionsCollectorMainWindow)

    def retranslateUi(self, ActionsCollectorMainWindow):
        _translate = QtCore.QCoreApplication.translate
        ActionsCollectorMainWindow.setWindowTitle(_translate("ActionsCollectorMainWindow", "MainWindow"))
        self.groupBox_2.setTitle(_translate("ActionsCollectorMainWindow", "图片"))
        self.pushButton_5.setText(_translate("ActionsCollectorMainWindow", "Sync"))
        self.pushButton_6.setText(_translate("ActionsCollectorMainWindow", "Rename"))
        self.groupBox.setTitle(_translate("ActionsCollectorMainWindow", "动作"))
        self.pushButton.setText(_translate("ActionsCollectorMainWindow", "Read"))
        self.pushButton_2.setText(_translate("ActionsCollectorMainWindow", "Save Excel"))
        self.pushButton_3.setText(_translate("ActionsCollectorMainWindow", "Export Json"))
        self.pushButton_4.setText(_translate("ActionsCollectorMainWindow", "Translate"))
        self.englishGBox.setTitle(_translate("ActionsCollectorMainWindow", "英文"))
        self.chineseGBox.setTitle(_translate("ActionsCollectorMainWindow", "中文"))
        self.groupBox_5.setTitle(_translate("ActionsCollectorMainWindow", "列表"))
        self.label.setText(_translate("ActionsCollectorMainWindow", "器械"))
        self.englishRButton.setText(_translate("ActionsCollectorMainWindow", "English"))
        self.chineseRButton.setText(_translate("ActionsCollectorMainWindow", "Chinese"))
        self.label_2.setText(_translate("ActionsCollectorMainWindow", "部位"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("ActionsCollectorMainWindow", "整理"))
        self.groupBox_4.setTitle(_translate("ActionsCollectorMainWindow", "浏览"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("ActionsCollectorMainWindow", "预览"))
        self.menuFile.setTitle(_translate("ActionsCollectorMainWindow", "File"))
        self.actionDirectory.setText(_translate("ActionsCollectorMainWindow", "Directory"))
        self.actionExit.setText(_translate("ActionsCollectorMainWindow", "Exit"))
