Wed, 23 Apr 2025 18:02:09 +0200
Virtual Environments
- Prepared the virtual environments support for being expanded via plugins.
10745
2921faddeaec
Regenerated the Ui_*.py files with project relative paths.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10743
diff
changeset
|
1 | # Form implementation generated from reading ui file 'src/eric7/VirtualEnv/VirtualenvAddEditDialog.ui' |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2 | # |
11230
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
3 | # Created by: PyQt6 UI code generator 6.9.0 |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
4 | # |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
5 | # WARNING: Any manual changes made to this file will be lost when pyuic6 is |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
6 | # run again. Do not edit this file unless you know what you are doing. |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
7 | |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
8 | |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
9 | from PyQt6 import QtCore, QtGui, QtWidgets |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
10 | |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
11 | |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
12 | class Ui_VirtualenvAddEditDialog(object): |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
13 | def setupUi(self, VirtualenvAddEditDialog): |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
14 | VirtualenvAddEditDialog.setObjectName("VirtualenvAddEditDialog") |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
15 | VirtualenvAddEditDialog.resize(700, 400) |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
16 | VirtualenvAddEditDialog.setSizeGripEnabled(True) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
17 | self.gridLayout = QtWidgets.QGridLayout(VirtualenvAddEditDialog) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
18 | self.gridLayout.setObjectName("gridLayout") |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
19 | self.label = QtWidgets.QLabel(parent=VirtualenvAddEditDialog) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
20 | self.label.setObjectName("label") |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
21 | self.gridLayout.addWidget(self.label, 0, 0, 1, 1) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
22 | self.nameEdit = QtWidgets.QLineEdit(parent=VirtualenvAddEditDialog) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
23 | self.nameEdit.setClearButtonEnabled(True) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
24 | self.nameEdit.setObjectName("nameEdit") |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
25 | self.gridLayout.addWidget(self.nameEdit, 0, 1, 1, 1) |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
26 | self.groupBox = QtWidgets.QGroupBox(parent=VirtualenvAddEditDialog) |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
27 | self.groupBox.setObjectName("groupBox") |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
28 | self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox) |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
29 | self.verticalLayout.setObjectName("verticalLayout") |
11230
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
30 | self.horizontalLayout = QtWidgets.QHBoxLayout() |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
31 | self.horizontalLayout.setObjectName("horizontalLayout") |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
32 | self.environmentTypeComboBox = QtWidgets.QComboBox(parent=self.groupBox) |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
33 | self.environmentTypeComboBox.setObjectName("environmentTypeComboBox") |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
34 | self.horizontalLayout.addWidget(self.environmentTypeComboBox) |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
35 | self.ericServerInfoLabel = QtWidgets.QLabel(parent=self.groupBox) |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
36 | sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
37 | sizePolicy.setHorizontalStretch(0) |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
38 | sizePolicy.setVerticalStretch(0) |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
39 | sizePolicy.setHeightForWidth(self.ericServerInfoLabel.sizePolicy().hasHeightForWidth()) |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
40 | self.ericServerInfoLabel.setSizePolicy(sizePolicy) |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
41 | self.ericServerInfoLabel.setObjectName("ericServerInfoLabel") |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
42 | self.horizontalLayout.addWidget(self.ericServerInfoLabel) |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
43 | self.verticalLayout.addLayout(self.horizontalLayout) |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
44 | self.globalCheckBox = QtWidgets.QCheckBox(parent=self.groupBox) |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
45 | self.globalCheckBox.setObjectName("globalCheckBox") |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
46 | self.verticalLayout.addWidget(self.globalCheckBox) |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
47 | self.gridLayout.addWidget(self.groupBox, 1, 0, 1, 2) |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
48 | self.label_2 = QtWidgets.QLabel(parent=VirtualenvAddEditDialog) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
49 | self.label_2.setObjectName("label_2") |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
50 | self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1) |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
51 | self.targetDirectoryPicker = EricPathPicker(parent=VirtualenvAddEditDialog) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
52 | sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
53 | sizePolicy.setHorizontalStretch(0) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
54 | sizePolicy.setVerticalStretch(0) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
55 | sizePolicy.setHeightForWidth(self.targetDirectoryPicker.sizePolicy().hasHeightForWidth()) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
56 | self.targetDirectoryPicker.setSizePolicy(sizePolicy) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
57 | self.targetDirectoryPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
58 | self.targetDirectoryPicker.setObjectName("targetDirectoryPicker") |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
59 | self.gridLayout.addWidget(self.targetDirectoryPicker, 2, 1, 1, 1) |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
60 | self.label_3 = QtWidgets.QLabel(parent=VirtualenvAddEditDialog) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
61 | self.label_3.setObjectName("label_3") |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
62 | self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1) |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
63 | self.pythonExecPicker = EricPathPicker(parent=VirtualenvAddEditDialog) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
64 | sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
65 | sizePolicy.setHorizontalStretch(0) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
66 | sizePolicy.setVerticalStretch(0) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
67 | sizePolicy.setHeightForWidth(self.pythonExecPicker.sizePolicy().hasHeightForWidth()) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
68 | self.pythonExecPicker.setSizePolicy(sizePolicy) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
69 | self.pythonExecPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.WheelFocus) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
70 | self.pythonExecPicker.setObjectName("pythonExecPicker") |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
71 | self.gridLayout.addWidget(self.pythonExecPicker, 3, 1, 1, 1) |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
72 | self.label_5 = QtWidgets.QLabel(parent=VirtualenvAddEditDialog) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
73 | self.label_5.setObjectName("label_5") |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
74 | self.gridLayout.addWidget(self.label_5, 4, 0, 1, 1) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
75 | self.execPathEdit = QtWidgets.QLineEdit(parent=VirtualenvAddEditDialog) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
76 | self.execPathEdit.setClearButtonEnabled(True) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
77 | self.execPathEdit.setObjectName("execPathEdit") |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
78 | self.gridLayout.addWidget(self.execPathEdit, 4, 1, 1, 1) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
79 | self.label_4 = QtWidgets.QLabel(parent=VirtualenvAddEditDialog) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
80 | self.label_4.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
81 | self.label_4.setObjectName("label_4") |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
82 | self.gridLayout.addWidget(self.label_4, 5, 0, 1, 1) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
83 | self.descriptionEdit = QtWidgets.QPlainTextEdit(parent=VirtualenvAddEditDialog) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
84 | self.descriptionEdit.setObjectName("descriptionEdit") |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
85 | self.gridLayout.addWidget(self.descriptionEdit, 5, 1, 1, 1) |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
86 | self.label_6 = QtWidgets.QLabel(parent=VirtualenvAddEditDialog) |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
87 | self.label_6.setObjectName("label_6") |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
88 | self.gridLayout.addWidget(self.label_6, 6, 0, 1, 1) |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
89 | self.serverLineEdit = QtWidgets.QLineEdit(parent=VirtualenvAddEditDialog) |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
90 | self.serverLineEdit.setReadOnly(True) |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
91 | self.serverLineEdit.setObjectName("serverLineEdit") |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
92 | self.gridLayout.addWidget(self.serverLineEdit, 6, 1, 1, 1) |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
93 | self.buttonBox = QtWidgets.QDialogButtonBox(parent=VirtualenvAddEditDialog) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
94 | self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
95 | self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
96 | self.buttonBox.setObjectName("buttonBox") |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
97 | self.gridLayout.addWidget(self.buttonBox, 7, 0, 1, 2) |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
98 | |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
99 | self.retranslateUi(VirtualenvAddEditDialog) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
100 | self.buttonBox.accepted.connect(VirtualenvAddEditDialog.accept) # type: ignore |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
101 | self.buttonBox.rejected.connect(VirtualenvAddEditDialog.reject) # type: ignore |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
102 | QtCore.QMetaObject.connectSlotsByName(VirtualenvAddEditDialog) |
11230
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
103 | VirtualenvAddEditDialog.setTabOrder(self.nameEdit, self.environmentTypeComboBox) |
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
104 | VirtualenvAddEditDialog.setTabOrder(self.environmentTypeComboBox, self.globalCheckBox) |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
105 | VirtualenvAddEditDialog.setTabOrder(self.globalCheckBox, self.targetDirectoryPicker) |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
106 | VirtualenvAddEditDialog.setTabOrder(self.targetDirectoryPicker, self.pythonExecPicker) |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
107 | VirtualenvAddEditDialog.setTabOrder(self.pythonExecPicker, self.execPathEdit) |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
108 | VirtualenvAddEditDialog.setTabOrder(self.execPathEdit, self.descriptionEdit) |
11230
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
109 | VirtualenvAddEditDialog.setTabOrder(self.descriptionEdit, self.serverLineEdit) |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
110 | |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
111 | def retranslateUi(self, VirtualenvAddEditDialog): |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
112 | _translate = QtCore.QCoreApplication.translate |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
113 | self.label.setText(_translate("VirtualenvAddEditDialog", "Logical Name:")) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
114 | self.nameEdit.setToolTip(_translate("VirtualenvAddEditDialog", "Enter a unique name for the virtual environment")) |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
115 | self.groupBox.setTitle(_translate("VirtualenvAddEditDialog", "Environment Type")) |
11230
8a15b05eeee3
Virtual Environments
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10766
diff
changeset
|
116 | self.environmentTypeComboBox.setToolTip(_translate("VirtualenvAddEditDialog", "Select the environment type.")) |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
117 | self.globalCheckBox.setToolTip(_translate("VirtualenvAddEditDialog", "Select,if this is a global environment (i.e. no virtual environment directory to be given)")) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
118 | self.globalCheckBox.setWhatsThis(_translate("VirtualenvAddEditDialog", "<b>Global Environment</b>\n" |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
119 | "<p>Setting this indicates, that the environment is defined globally, i.e. not user specific. Usually such environments cannot be deleted by a standard user. The respective button of the Virtual Environment Manager dialog will be disabled for these entries.</p>")) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
120 | self.globalCheckBox.setText(_translate("VirtualenvAddEditDialog", "Global Environment")) |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
121 | self.label_2.setText(_translate("VirtualenvAddEditDialog", "Directory:")) |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
122 | self.targetDirectoryPicker.setToolTip(_translate("VirtualenvAddEditDialog", "Enter the directory of the virtual environment")) |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
123 | self.label_3.setText(_translate("VirtualenvAddEditDialog", "Python Interpreter:")) |
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
124 | self.pythonExecPicker.setToolTip(_translate("VirtualenvAddEditDialog", "Enter the Python interpreter of the virtual environment")) |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
125 | self.label_5.setText(_translate("VirtualenvAddEditDialog", "PATH Prefix:")) |
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
126 | self.label_4.setText(_translate("VirtualenvAddEditDialog", "Description:")) |
10748
d14a35b8dc2c
Added missing Ui_*.py files and modified ones.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10745
diff
changeset
|
127 | self.label_6.setText(_translate("VirtualenvAddEditDialog", "Server:")) |
10766
d35d6f96c24b
Extended the use of eric-ide server environments.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10748
diff
changeset
|
128 | self.serverLineEdit.setToolTip(_translate("VirtualenvAddEditDialog", "Shows the host name of the server this entry belongs to (eric-ide server environment only)")) |
10743
5d3a5a05114e
Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
129 | from eric7.EricWidgets.EricPathPicker import EricPathPicker |