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

# Form implementation generated from reading ui file 'package_install.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_package_install(object):
    def setupUi(self, package_install):
        package_install.setObjectName("package_install")
        package_install.setWindowModality(QtCore.Qt.WindowModal)
        package_install.resize(395, 430)
        font = QtGui.QFont()
        font.setFamily("Microsoft YaHei UI")
        package_install.setFont(font)
        package_install.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.centralwidget = QtWidgets.QWidget(package_install)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout.addWidget(self.label_3)
        self.uiLabel_target_environment = QtWidgets.QLabel(self.centralwidget)
        self.uiLabel_target_environment.setFrameShape(QtWidgets.QFrame.Box)
        self.uiLabel_target_environment.setObjectName("uiLabel_target_environment")
        self.horizontalLayout.addWidget(self.uiLabel_target_environment)
        self.horizontalLayout.setStretch(1, 1)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.line_3 = QtWidgets.QFrame(self.centralwidget)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.verticalLayout_3.addWidget(self.line_3)
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setObjectName("label")
        self.verticalLayout_3.addWidget(self.label)
        self.uiHorizontalLayout_package_name = QtWidgets.QHBoxLayout()
        self.uiHorizontalLayout_package_name.setObjectName("uiHorizontalLayout_package_name")
        self.uiPlainTextEdit_package_names_old = QtWidgets.QPlainTextEdit(self.centralwidget)
        self.uiPlainTextEdit_package_names_old.setObjectName("uiPlainTextEdit_package_names_old")
        self.uiHorizontalLayout_package_name.addWidget(self.uiPlainTextEdit_package_names_old)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.uiCheckBox_including_pre = QtWidgets.QCheckBox(self.centralwidget)
        self.uiCheckBox_including_pre.setObjectName("uiCheckBox_including_pre")
        self.verticalLayout_2.addWidget(self.uiCheckBox_including_pre)
        self.uiCheckBox_install_for_user = QtWidgets.QCheckBox(self.centralwidget)
        self.uiCheckBox_install_for_user.setObjectName("uiCheckBox_install_for_user")
        self.verticalLayout_2.addWidget(self.uiCheckBox_install_for_user)
        self.uiCheckBox_force_reinstall = QtWidgets.QCheckBox(self.centralwidget)
        self.uiCheckBox_force_reinstall.setObjectName("uiCheckBox_force_reinstall")
        self.verticalLayout_2.addWidget(self.uiCheckBox_force_reinstall)
        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_2.addWidget(self.line_2)
        self.uiPushButton_load_from_text = QtWidgets.QPushButton(self.centralwidget)
        self.uiPushButton_load_from_text.setObjectName("uiPushButton_load_from_text")
        self.verticalLayout_2.addWidget(self.uiPushButton_load_from_text)
        self.uiPushButton_save_as_text = QtWidgets.QPushButton(self.centralwidget)
        self.uiPushButton_save_as_text.setObjectName("uiPushButton_save_as_text")
        self.verticalLayout_2.addWidget(self.uiPushButton_save_as_text)
        self.uiPushButton_do_install = QtWidgets.QPushButton(self.centralwidget)
        self.uiPushButton_do_install.setMinimumSize(QtCore.QSize(0, 42))
        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, 0))
        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_do_install.setPalette(palette)
        font = QtGui.QFont()
        font.setFamily("Microsoft YaHei UI")
        font.setPointSize(12)
        self.uiPushButton_do_install.setFont(font)
        self.uiPushButton_do_install.setObjectName("uiPushButton_do_install")
        self.verticalLayout_2.addWidget(self.uiPushButton_do_install)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.uiHorizontalLayout_package_name.addLayout(self.verticalLayout_2)
        self.verticalLayout_3.addLayout(self.uiHorizontalLayout_package_name)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setSpacing(2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.uiCheckBox_use_index_url = QtWidgets.QCheckBox(self.centralwidget)
        self.uiCheckBox_use_index_url.setObjectName("uiCheckBox_use_index_url")
        self.verticalLayout.addWidget(self.uiCheckBox_use_index_url)
        self.uiLineEdit_use_index_url = QtWidgets.QLineEdit(self.centralwidget)
        self.uiLineEdit_use_index_url.setObjectName("uiLineEdit_use_index_url")
        self.verticalLayout.addWidget(self.uiLineEdit_use_index_url)
        self.verticalLayout_3.addLayout(self.verticalLayout)
        self.line = QtWidgets.QFrame(self.centralwidget)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout_3.addWidget(self.line)
        self.uiLabel_pkginstall_tips = QtWidgets.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setFamily("Consolas")
        font.setPointSize(8)
        self.uiLabel_pkginstall_tips.setFont(font)
        self.uiLabel_pkginstall_tips.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.uiLabel_pkginstall_tips.setObjectName("uiLabel_pkginstall_tips")
        self.verticalLayout_3.addWidget(self.uiLabel_pkginstall_tips)
        package_install.setCentralWidget(self.centralwidget)

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

    def retranslateUi(self, package_install):
        _translate = QtCore.QCoreApplication.translate
        package_install.setWindowTitle(_translate("package_install", "安装"))
        self.label_3.setToolTip(_translate("package_install", "当前即将安装的包的目标环境。"))
        self.label_3.setText(_translate("package_install", "目标环境："))
        self.label.setText(_translate("package_install", "要安装的包名称（每行一个）："))
        self.uiCheckBox_including_pre.setToolTip(_translate("package_install", "从网络安装时是否查找包括预发行版和开发版在内的版本。\n"
"如果预发行版或开发版是最新版本，则安装预发行版或开发版。"))
        self.uiCheckBox_including_pre.setText(_translate("package_install", "包括预发行版和开发版"))
        self.uiCheckBox_install_for_user.setToolTip(_translate("package_install", "将包安装到系统当前登录的用户的用户目录内。"))
        self.uiCheckBox_install_for_user.setText(_translate("package_install", "仅为系统当前用户安装"))
        self.uiCheckBox_force_reinstall.setToolTip(_translate("package_install", "强制重新安装指定的包，包括它的依赖包，依赖包将被重新安装为符合要求的版本。"))
        self.uiCheckBox_force_reinstall.setText(_translate("package_install", "强制重新安装(包括依赖)"))
        self.uiPushButton_load_from_text.setToolTip(_translate("package_install", "从文本文件载入名称及版本等内容。\n"
"例如从常见的requirements.txt文件载入。"))
        self.uiPushButton_load_from_text.setText(_translate("package_install", "从文件加载名称"))
        self.uiPushButton_save_as_text.setToolTip(_translate("package_install", "将文本框内的内容保存至文本文件。"))
        self.uiPushButton_save_as_text.setText(_translate("package_install", "名称保存至文件"))
        self.uiPushButton_do_install.setText(_translate("package_install", "开始安装"))
        self.uiCheckBox_use_index_url.setText(_translate("package_install", "临时使用其他镜像源："))
        self.uiLabel_pkginstall_tips.setText(_translate("package_install", "名称后支持跟随以下符号限定要安装的版本：\n"
"\"==\"、\">=\"、\"<=\"、\">\"、\"<\"、\",\"\n"
"每行一个名称，名称和限定符中不允许出现空格。\n"
"例如：fastpip>=0.6.2,<0.10.0\n"
"支持将whl文件拖入文本框内以从本地文件安装该包，whl文件需为正确版本。"))
