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

# Form implementation generated from reading ui file 'main_ui.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# 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(344, 482)
        self.main_layout = QtWidgets.QVBoxLayout(Dialog)
        self.main_layout.setObjectName("main_layout")
        self.tabWidget = QtWidgets.QTabWidget(Dialog)
        self.tabWidget.setAutoFillBackground(False)
        self.tabWidget.setObjectName("tabWidget")
        self.mainTab = QtWidgets.QWidget()
        self.mainTab.setObjectName("mainTab")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.mainTab)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.deckLayout = QtWidgets.QHBoxLayout()
        self.deckLayout.setObjectName("deckLayout")
        self.deckLabel = QtWidgets.QLabel(self.mainTab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.deckLabel.sizePolicy().hasHeightForWidth())
        self.deckLabel.setSizePolicy(sizePolicy)
        self.deckLabel.setObjectName("deckLabel")
        self.deckLayout.addWidget(self.deckLabel)
        self.deckComboBox = QtWidgets.QComboBox(self.mainTab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.deckComboBox.sizePolicy().hasHeightForWidth())
        self.deckComboBox.setSizePolicy(sizePolicy)
        self.deckComboBox.setEditable(True)
        self.deckComboBox.setObjectName("deckComboBox")
        self.deckLayout.addWidget(self.deckComboBox)
        self.gridLayout_4.addLayout(self.deckLayout, 0, 0, 1, 3)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setSpacing(2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(self.mainTab)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.bookListWidget = QtWidgets.QListWidget(self.mainTab)
        self.bookListWidget.setAlternatingRowColors(True)
        self.bookListWidget.setSelectionMode(QtWidgets.QAbstractItemView.MultiSelection)
        self.bookListWidget.setObjectName("bookListWidget")
        self.verticalLayout.addWidget(self.bookListWidget)
        self.gridLayout_4.addLayout(self.verticalLayout, 1, 0, 1, 3)
        self.createBtn = QtWidgets.QPushButton(self.mainTab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.createBtn.sizePolicy().hasHeightForWidth())
        self.createBtn.setSizePolicy(sizePolicy)
        self.createBtn.setMinimumSize(QtCore.QSize(100, 0))
        self.createBtn.setObjectName("createBtn")
        self.gridLayout_4.addWidget(self.createBtn, 3, 2, 1, 1)
        self.pullRemoteWordsBtn = QtWidgets.QPushButton(self.mainTab)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pullRemoteWordsBtn.sizePolicy().hasHeightForWidth())
        self.pullRemoteWordsBtn.setSizePolicy(sizePolicy)
        self.pullRemoteWordsBtn.setMinimumSize(QtCore.QSize(100, 0))
        self.pullRemoteWordsBtn.setObjectName("pullRemoteWordsBtn")
        self.gridLayout_4.addWidget(self.pullRemoteWordsBtn, 3, 0, 1, 1)
        self.tabWidget.addTab(self.mainTab, "")
        self.settingTab = QtWidgets.QWidget()
        self.settingTab.setObjectName("settingTab")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.settingTab)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.defaultConfigGroupBox = QtWidgets.QGroupBox(self.settingTab)
        self.defaultConfigGroupBox.setObjectName("defaultConfigGroupBox")
        self.gridLayout = QtWidgets.QGridLayout(self.defaultConfigGroupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.AmEPronRadioButton = QtWidgets.QRadioButton(self.defaultConfigGroupBox)
        self.AmEPronRadioButton.setObjectName("AmEPronRadioButton")
        self.pronButtonGroup = QtWidgets.QButtonGroup(Dialog)
        self.pronButtonGroup.setObjectName("pronButtonGroup")
        self.pronButtonGroup.addButton(self.AmEPronRadioButton)
        self.gridLayout.addWidget(self.AmEPronRadioButton, 8, 1, 1, 1)
        self.BrEPhoneticCheckBox = QtWidgets.QCheckBox(self.defaultConfigGroupBox)
        self.BrEPhoneticCheckBox.setChecked(True)
        self.BrEPhoneticCheckBox.setObjectName("BrEPhoneticCheckBox")
        self.gridLayout.addWidget(self.BrEPhoneticCheckBox, 4, 0, 1, 1)
        self.translateCheckBox = QtWidgets.QCheckBox(self.defaultConfigGroupBox)
        self.translateCheckBox.setEnabled(False)
        self.translateCheckBox.setObjectName("translateCheckBox")
        self.gridLayout.addWidget(self.translateCheckBox, 1, 1, 1, 1)
        self.AmEPhoneticCheckBox = QtWidgets.QCheckBox(self.defaultConfigGroupBox)
        self.AmEPhoneticCheckBox.setObjectName("AmEPhoneticCheckBox")
        self.gridLayout.addWidget(self.AmEPhoneticCheckBox, 4, 1, 1, 1)
        self.noPronRadioButton = QtWidgets.QRadioButton(self.defaultConfigGroupBox)
        self.noPronRadioButton.setChecked(False)
        self.noPronRadioButton.setObjectName("noPronRadioButton")
        self.pronButtonGroup.addButton(self.noPronRadioButton)
        self.gridLayout.addWidget(self.noPronRadioButton, 8, 2, 1, 1)
        self.titleENRadioButton = QtWidgets.QRadioButton(self.defaultConfigGroupBox)
        self.titleENRadioButton.setChecked(True)
        self.titleENRadioButton.setObjectName("titleENRadioButton")
        self.titleButtonGroup = QtWidgets.QButtonGroup(Dialog)
        self.titleButtonGroup.setObjectName("titleButtonGroup")
        self.titleButtonGroup.addButton(self.titleENRadioButton)
        self.gridLayout.addWidget(self.titleENRadioButton, 2, 1, 1, 1)
        self.exampleCheckBox = QtWidgets.QCheckBox(self.defaultConfigGroupBox)
        self.exampleCheckBox.setObjectName("exampleCheckBox")
        self.gridLayout.addWidget(self.exampleCheckBox, 1, 0, 1, 1)
        self.BrEPronRadioButton = QtWidgets.QRadioButton(self.defaultConfigGroupBox)
        self.BrEPronRadioButton.setChecked(True)
        self.BrEPronRadioButton.setObjectName("BrEPronRadioButton")
        self.pronButtonGroup.addButton(self.BrEPronRadioButton)
        self.gridLayout.addWidget(self.BrEPronRadioButton, 8, 0, 1, 1)
        self.titleCNRadioButton = QtWidgets.QRadioButton(self.defaultConfigGroupBox)
        self.titleCNRadioButton.setObjectName("titleCNRadioButton")
        self.titleButtonGroup.addButton(self.titleCNRadioButton)
        self.gridLayout.addWidget(self.titleCNRadioButton, 2, 0, 1, 1)
        self.webLinkRadioButton = QtWidgets.QRadioButton(self.defaultConfigGroupBox)
        self.webLinkRadioButton.setObjectName("webLinkRadioButton")
        self.linkButtonGroup = QtWidgets.QButtonGroup(Dialog)
        self.linkButtonGroup.setObjectName("linkButtonGroup")
        self.linkButtonGroup.addButton(self.webLinkRadioButton)
        self.gridLayout.addWidget(self.webLinkRadioButton, 3, 0, 1, 1)
        self.noLinkRadioButton = QtWidgets.QRadioButton(self.defaultConfigGroupBox)
        self.noLinkRadioButton.setObjectName("noLinkRadioButton")
        self.linkButtonGroup.addButton(self.noLinkRadioButton)
        self.gridLayout.addWidget(self.noLinkRadioButton, 3, 2, 1, 1)
        self.appLinkRadioButton = QtWidgets.QRadioButton(self.defaultConfigGroupBox)
        self.appLinkRadioButton.setChecked(True)
        self.appLinkRadioButton.setObjectName("appLinkRadioButton")
        self.linkButtonGroup.addButton(self.appLinkRadioButton)
        self.gridLayout.addWidget(self.appLinkRadioButton, 3, 1, 1, 1)
        self.gridLayout_2.addWidget(self.defaultConfigGroupBox, 0, 0, 1, 1)
        self.tabWidget.addTab(self.settingTab, "")
        self.logTab = QtWidgets.QWidget()
        self.logTab.setObjectName("logTab")
        self.tabWidget.addTab(self.logTab, "")
        self.main_layout.addWidget(self.tabWidget)
        self.progressBar = QtWidgets.QProgressBar(Dialog)
        self.progressBar.setMaximum(1)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setTextVisible(False)
        self.progressBar.setObjectName("progressBar")
        self.main_layout.addWidget(self.progressBar)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
        self.deckLabel.setText(_translate("Dialog", "牌组"))
        self.label.setText(_translate("Dialog", "单词书来源"))
        self.createBtn.setText(_translate("Dialog", "创建单词书"))
        self.pullRemoteWordsBtn.setText(_translate("Dialog", "获取单词"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.mainTab), _translate("Dialog", "同步"))
        self.defaultConfigGroupBox.setTitle(_translate("Dialog", "默认设置"))
        self.AmEPronRadioButton.setText(_translate("Dialog", "美式发音"))
        self.BrEPhoneticCheckBox.setText(_translate("Dialog", "英式音标"))
        self.translateCheckBox.setText(_translate("Dialog", "翻译"))
        self.AmEPhoneticCheckBox.setText(_translate("Dialog", "美式音标"))
        self.noPronRadioButton.setText(_translate("Dialog", "无发音"))
        self.titleENRadioButton.setText(_translate("Dialog", "英文标题"))
        self.exampleCheckBox.setText(_translate("Dialog", "例句"))
        self.BrEPronRadioButton.setText(_translate("Dialog", "英式发音"))
        self.titleCNRadioButton.setText(_translate("Dialog", "中文标题"))
        self.webLinkRadioButton.setText(_translate("Dialog", "网页链接"))
        self.noLinkRadioButton.setText(_translate("Dialog", "无链接"))
        self.appLinkRadioButton.setText(_translate("Dialog", "APP 链接"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.settingTab), _translate("Dialog", "设置"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.logTab), _translate("Dialog", "日志"))
        self.progressBar.setFormat(_translate("Dialog", "%v/%m"))
