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

# Form implementation generated from reading ui file 'index_manager.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# 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_index_manager(object):
    def setupUi(self, index_manager):
        index_manager.setObjectName("index_manager")
        index_manager.setWindowModality(QtCore.Qt.WindowModal)
        index_manager.resize(480, 500)
        font = QtGui.QFont()
        font.setFamily("Microsoft YaHei UI")
        index_manager.setFont(font)
        self.centralwidget = QtWidgets.QWidget(index_manager)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout_5.setContentsMargins(8, 8, 8, 8)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.uiTableView_indexurls = QtWidgets.QTableView(self.centralwidget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(155, 222, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
        brush = QtGui.QBrush(QtGui.QColor(155, 222, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight, brush)
        brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
        self.uiTableView_indexurls.setPalette(palette)
        self.uiTableView_indexurls.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.uiTableView_indexurls.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
        self.uiTableView_indexurls.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
        self.uiTableView_indexurls.setGridStyle(QtCore.Qt.NoPen)
        self.uiTableView_indexurls.setObjectName("uiTableView_indexurls")
        self.uiTableView_indexurls.horizontalHeader().setHighlightSections(False)
        self.uiTableView_indexurls.verticalHeader().setHighlightSections(False)
        self.uiTableView_indexurls.verticalHeader().setSortIndicatorShown(False)
        self.verticalLayout_4.addWidget(self.uiTableView_indexurls)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setText("")
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_4.addWidget(self.label_4)
        self.uiPushButton_delete_url = QtWidgets.QPushButton(self.centralwidget)
        self.uiPushButton_delete_url.setObjectName("uiPushButton_delete_url")
        self.horizontalLayout_4.addWidget(self.uiPushButton_delete_url)
        self.horizontalLayout_4.setStretch(0, 9)
        self.horizontalLayout_4.setStretch(1, 1)
        self.verticalLayout_4.addLayout(self.horizontalLayout_4)
        self.line = QtWidgets.QFrame(self.centralwidget)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout_4.addWidget(self.line)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.uiLineEdit_url_name = QtWidgets.QLineEdit(self.centralwidget)
        self.uiLineEdit_url_name.setObjectName("uiLineEdit_url_name")
        self.verticalLayout.addWidget(self.uiLineEdit_url_name)
        self.horizontalLayout_2.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setObjectName("label_2")
        self.verticalLayout_2.addWidget(self.label_2)
        self.uiLineEdit_index_url = QtWidgets.QLineEdit(self.centralwidget)
        self.uiLineEdit_index_url.setObjectName("uiLineEdit_index_url")
        self.verticalLayout_2.addWidget(self.uiLineEdit_index_url)
        self.horizontalLayout_2.addLayout(self.verticalLayout_2)
        self.horizontalLayout_2.setStretch(0, 2)
        self.horizontalLayout_2.setStretch(1, 9)
        self.verticalLayout_4.addLayout(self.horizontalLayout_2)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_5 = QtWidgets.QLabel(self.centralwidget)
        self.label_5.setText("")
        self.label_5.setObjectName("label_5")
        self.horizontalLayout.addWidget(self.label_5)
        self.uiPushButton_clear_edit = QtWidgets.QPushButton(self.centralwidget)
        self.uiPushButton_clear_edit.setObjectName("uiPushButton_clear_edit")
        self.horizontalLayout.addWidget(self.uiPushButton_clear_edit)
        self.uiPushButton_save_url = QtWidgets.QPushButton(self.centralwidget)
        self.uiPushButton_save_url.setObjectName("uiPushButton_save_url")
        self.horizontalLayout.addWidget(self.uiPushButton_save_url)
        self.uiPushButton_set_index = QtWidgets.QPushButton(self.centralwidget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
        self.uiPushButton_set_index.setPalette(palette)
        self.uiPushButton_set_index.setObjectName("uiPushButton_set_index")
        self.horizontalLayout.addWidget(self.uiPushButton_set_index)
        self.horizontalLayout.setStretch(0, 9)
        self.horizontalLayout.setStretch(1, 2)
        self.horizontalLayout.setStretch(2, 2)
        self.horizontalLayout.setStretch(3, 2)
        self.verticalLayout_4.addLayout(self.horizontalLayout)
        self.line_2 = QtWidgets.QFrame(self.centralwidget)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.verticalLayout_4.addWidget(self.line_2)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_3.addWidget(self.label_3)
        self.uiPushButton_refresh_effective = QtWidgets.QPushButton(self.centralwidget)
        self.uiPushButton_refresh_effective.setObjectName("uiPushButton_refresh_effective")
        self.horizontalLayout_3.addWidget(self.uiPushButton_refresh_effective)
        self.horizontalLayout_3.setStretch(0, 9)
        self.horizontalLayout_3.setStretch(1, 1)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.uiLineEdit_effective_url = QtWidgets.QLineEdit(self.centralwidget)
        self.uiLineEdit_effective_url.setReadOnly(True)
        self.uiLineEdit_effective_url.setObjectName("uiLineEdit_effective_url")
        self.verticalLayout_3.addWidget(self.uiLineEdit_effective_url)
        self.verticalLayout_4.addLayout(self.verticalLayout_3)
        self.verticalLayout_5.addLayout(self.verticalLayout_4)
        index_manager.setCentralWidget(self.centralwidget)

        self.retranslateUi(index_manager)
        QtCore.QMetaObject.connectSlotsByName(index_manager)

    def retranslateUi(self, index_manager):
        _translate = QtCore.QCoreApplication.translate
        index_manager.setWindowTitle(_translate("index_manager", "镜像源设置"))
        self.uiPushButton_delete_url.setToolTip(_translate("index_manager", "删除列表中选中的镜像源地址。"))
        self.uiPushButton_delete_url.setText(_translate("index_manager", "删除"))
        self.label.setText(_translate("index_manager", "编辑名称："))
        self.label_2.setText(_translate("index_manager", "编辑地址："))
        self.uiPushButton_clear_edit.setToolTip(_translate("index_manager", "清空正在编辑的名称和地址输入框。"))
        self.uiPushButton_clear_edit.setText(_translate("index_manager", "清空编辑"))
        self.uiPushButton_save_url.setToolTip(_translate("index_manager", "将输入框内的名称和地址保存到列表。"))
        self.uiPushButton_save_url.setText(_translate("index_manager", "保存至列表"))
        self.uiPushButton_set_index.setToolTip(_translate("index_manager", "将输入框内的镜像源地址设置为全局镜像源。"))
        self.uiPushButton_set_index.setText(_translate("index_manager", "启用镜像源"))
        self.label_3.setText(_translate("index_manager", "当前生效的全局镜像源地址："))
        self.uiPushButton_refresh_effective.setToolTip(_translate("index_manager", "获取当前生效的全局镜像源地址并显示。"))
        self.uiPushButton_refresh_effective.setText(_translate("index_manager", "刷新"))
