# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7-22.2/eric/eric7/VirtualEnv/VirtualenvManagerWidget.ui'
#
# Created by: PyQt6 UI code generator 6.2.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_VirtualenvManagerWidget(object):
    def setupUi(self, VirtualenvManagerWidget):
        VirtualenvManagerWidget.setObjectName("VirtualenvManagerWidget")
        VirtualenvManagerWidget.resize(700, 500)
        self.verticalLayout = QtWidgets.QVBoxLayout(VirtualenvManagerWidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.venvList = QtWidgets.QTreeWidget(VirtualenvManagerWidget)
        self.venvList.setAlternatingRowColors(True)
        self.venvList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection)
        self.venvList.setRootIsDecorated(False)
        self.venvList.setItemsExpandable(False)
        self.venvList.setAllColumnsShowFocus(True)
        self.venvList.setObjectName("venvList")
        self.verticalLayout.addWidget(self.venvList)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.addButton = QtWidgets.QToolButton(VirtualenvManagerWidget)
        self.addButton.setText("")
        self.addButton.setObjectName("addButton")
        self.horizontalLayout_2.addWidget(self.addButton)
        self.newButton = QtWidgets.QToolButton(VirtualenvManagerWidget)
        self.newButton.setObjectName("newButton")
        self.horizontalLayout_2.addWidget(self.newButton)
        self.line_6 = QtWidgets.QFrame(VirtualenvManagerWidget)
        self.line_6.setFrameShape(QtWidgets.QFrame.Shape.VLine)
        self.line_6.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line_6.setObjectName("line_6")
        self.horizontalLayout_2.addWidget(self.line_6)
        self.editButton = QtWidgets.QToolButton(VirtualenvManagerWidget)
        self.editButton.setObjectName("editButton")
        self.horizontalLayout_2.addWidget(self.editButton)
        self.line_3 = QtWidgets.QFrame(VirtualenvManagerWidget)
        self.line_3.setFrameShape(QtWidgets.QFrame.Shape.VLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line_3.setObjectName("line_3")
        self.horizontalLayout_2.addWidget(self.line_3)
        self.removeButton = QtWidgets.QToolButton(VirtualenvManagerWidget)
        self.removeButton.setObjectName("removeButton")
        self.horizontalLayout_2.addWidget(self.removeButton)
        self.removeAllButton = QtWidgets.QToolButton(VirtualenvManagerWidget)
        self.removeAllButton.setObjectName("removeAllButton")
        self.horizontalLayout_2.addWidget(self.removeAllButton)
        self.line_4 = QtWidgets.QFrame(VirtualenvManagerWidget)
        self.line_4.setFrameShape(QtWidgets.QFrame.Shape.VLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line_4.setObjectName("line_4")
        self.horizontalLayout_2.addWidget(self.line_4)
        self.deleteButton = QtWidgets.QToolButton(VirtualenvManagerWidget)
        self.deleteButton.setObjectName("deleteButton")
        self.horizontalLayout_2.addWidget(self.deleteButton)
        self.deleteAllButton = QtWidgets.QToolButton(VirtualenvManagerWidget)
        self.deleteAllButton.setObjectName("deleteAllButton")
        self.horizontalLayout_2.addWidget(self.deleteAllButton)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.line = QtWidgets.QFrame(VirtualenvManagerWidget)
        self.line.setLineWidth(1)
        self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_2 = QtWidgets.QLabel(VirtualenvManagerWidget)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout.addWidget(self.label_2)
        self.envBaseDirectoryPicker = EricPathPicker(VirtualenvManagerWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.envBaseDirectoryPicker.sizePolicy().hasHeightForWidth())
        self.envBaseDirectoryPicker.setSizePolicy(sizePolicy)
        self.envBaseDirectoryPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus)
        self.envBaseDirectoryPicker.setObjectName("envBaseDirectoryPicker")
        self.horizontalLayout.addWidget(self.envBaseDirectoryPicker)
        self.saveButton = QtWidgets.QToolButton(VirtualenvManagerWidget)
        self.saveButton.setObjectName("saveButton")
        self.horizontalLayout.addWidget(self.saveButton)
        self.verticalLayout.addLayout(self.horizontalLayout)

        self.retranslateUi(VirtualenvManagerWidget)
        QtCore.QMetaObject.connectSlotsByName(VirtualenvManagerWidget)
        VirtualenvManagerWidget.setTabOrder(self.venvList, self.addButton)
        VirtualenvManagerWidget.setTabOrder(self.addButton, self.newButton)
        VirtualenvManagerWidget.setTabOrder(self.newButton, self.editButton)
        VirtualenvManagerWidget.setTabOrder(self.editButton, self.removeButton)
        VirtualenvManagerWidget.setTabOrder(self.removeButton, self.removeAllButton)
        VirtualenvManagerWidget.setTabOrder(self.removeAllButton, self.deleteButton)
        VirtualenvManagerWidget.setTabOrder(self.deleteButton, self.deleteAllButton)
        VirtualenvManagerWidget.setTabOrder(self.deleteAllButton, self.envBaseDirectoryPicker)
        VirtualenvManagerWidget.setTabOrder(self.envBaseDirectoryPicker, self.saveButton)

    def retranslateUi(self, VirtualenvManagerWidget):
        _translate = QtCore.QCoreApplication.translate
        self.venvList.setSortingEnabled(True)
        self.venvList.headerItem().setText(0, _translate("VirtualenvManagerWidget", "Name"))
        self.venvList.headerItem().setText(1, _translate("VirtualenvManagerWidget", "Directory"))
        self.venvList.headerItem().setText(2, _translate("VirtualenvManagerWidget", "Interpreter"))
        self.addButton.setToolTip(_translate("VirtualenvManagerWidget", "Press to add an existing virtual environment"))
        self.newButton.setToolTip(_translate("VirtualenvManagerWidget", "Press to create a new virtual environment"))
        self.editButton.setToolTip(_translate("VirtualenvManagerWidget", "Press to edit the selected virtual environment"))
        self.removeButton.setToolTip(_translate("VirtualenvManagerWidget", "Press to remove the selected virtual environments"))
        self.removeAllButton.setToolTip(_translate("VirtualenvManagerWidget", "Press to remove all virtual environments"))
        self.deleteButton.setToolTip(_translate("VirtualenvManagerWidget", "Press to remove the selected virtual environments and delete them"))
        self.deleteAllButton.setToolTip(_translate("VirtualenvManagerWidget", "Press to remove all virtual environments and delete them"))
        self.label_2.setText(_translate("VirtualenvManagerWidget", "Base Directory:"))
        self.envBaseDirectoryPicker.setToolTip(_translate("VirtualenvManagerWidget", "Enter the base directory of the virtual environments"))
        self.saveButton.setToolTip(_translate("VirtualenvManagerWidget", "Press to save the base directory"))
from EricWidgets.EricPathPicker import EricPathPicker
