5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.VirtualEnv.VirtualenvUpgradeConfigurationDialog</h1> |
9 <h1>eric7.VirtualEnv.VirtualenvUpgradeConfigurationDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to enter the virtual environment upgrade |
11 Module implementing a dialog to enter the virtual environment upgrade |
13 parameters. |
12 parameters. |
14 </p> |
13 </p> |
|
14 |
15 <h3>Global Attributes</h3> |
15 <h3>Global Attributes</h3> |
16 |
|
17 <table> |
16 <table> |
18 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
19 </table> |
18 </table> |
|
19 |
20 <h3>Classes</h3> |
20 <h3>Classes</h3> |
21 |
|
22 <table> |
21 <table> |
23 |
|
24 <tr> |
22 <tr> |
25 <td><a href="#VirtualenvUpgradeConfigurationDialog">VirtualenvUpgradeConfigurationDialog</a></td> |
23 <td><a href="#VirtualenvUpgradeConfigurationDialog">VirtualenvUpgradeConfigurationDialog</a></td> |
26 <td>Class implementing a dialog to enter the virtual environment upgrade parameters.</td> |
24 <td>Class implementing a dialog to enter the virtual environment upgrade parameters.</td> |
27 </tr> |
25 </tr> |
28 </table> |
26 </table> |
|
27 |
29 <h3>Functions</h3> |
28 <h3>Functions</h3> |
30 |
|
31 <table> |
29 <table> |
32 <tr><td>None</td></tr> |
30 <tr><td>None</td></tr> |
33 </table> |
31 </table> |
|
32 |
34 <hr /> |
33 <hr /> |
35 <hr /> |
34 <hr /> |
36 <a NAME="VirtualenvUpgradeConfigurationDialog" ID="VirtualenvUpgradeConfigurationDialog"></a> |
35 <a NAME="VirtualenvUpgradeConfigurationDialog" ID="VirtualenvUpgradeConfigurationDialog"></a> |
37 <h2>VirtualenvUpgradeConfigurationDialog</h2> |
36 <h2>VirtualenvUpgradeConfigurationDialog</h2> |
38 |
|
39 <p> |
37 <p> |
40 Class implementing a dialog to enter the virtual environment upgrade |
38 Class implementing a dialog to enter the virtual environment upgrade |
41 parameters. |
39 parameters. |
42 </p> |
40 </p> |
|
41 |
43 <h3>Derived from</h3> |
42 <h3>Derived from</h3> |
44 QDialog, Ui_VirtualenvUpgradeConfigurationDialog |
43 QDialog, Ui_VirtualenvUpgradeConfigurationDialog |
45 <h3>Class Attributes</h3> |
44 <h3>Class Attributes</h3> |
46 |
|
47 <table> |
45 <table> |
48 <tr><td>None</td></tr> |
46 <tr><td>None</td></tr> |
49 </table> |
47 </table> |
|
48 |
50 <h3>Class Methods</h3> |
49 <h3>Class Methods</h3> |
51 |
|
52 <table> |
50 <table> |
53 <tr><td>None</td></tr> |
51 <tr><td>None</td></tr> |
54 </table> |
52 </table> |
|
53 |
55 <h3>Methods</h3> |
54 <h3>Methods</h3> |
56 |
|
57 <table> |
55 <table> |
58 |
|
59 <tr> |
56 <tr> |
60 <td><a href="#VirtualenvUpgradeConfigurationDialog.__init__">VirtualenvUpgradeConfigurationDialog</a></td> |
57 <td><a href="#VirtualenvUpgradeConfigurationDialog.__init__">VirtualenvUpgradeConfigurationDialog</a></td> |
61 <td>Constructor</td> |
58 <td>Constructor</td> |
62 </tr> |
59 </tr> |
63 <tr> |
60 <tr> |
75 <tr> |
72 <tr> |
76 <td><a href="#VirtualenvUpgradeConfigurationDialog.getData">getData</a></td> |
73 <td><a href="#VirtualenvUpgradeConfigurationDialog.getData">getData</a></td> |
77 <td>Public method to retrieve the dialog data.</td> |
74 <td>Public method to retrieve the dialog data.</td> |
78 </tr> |
75 </tr> |
79 </table> |
76 </table> |
|
77 |
80 <h3>Static Methods</h3> |
78 <h3>Static Methods</h3> |
81 |
|
82 <table> |
79 <table> |
83 <tr><td>None</td></tr> |
80 <tr><td>None</td></tr> |
84 </table> |
81 </table> |
85 |
82 |
|
83 |
86 <a NAME="VirtualenvUpgradeConfigurationDialog.__init__" ID="VirtualenvUpgradeConfigurationDialog.__init__"></a> |
84 <a NAME="VirtualenvUpgradeConfigurationDialog.__init__" ID="VirtualenvUpgradeConfigurationDialog.__init__"></a> |
87 <h4>VirtualenvUpgradeConfigurationDialog (Constructor)</h4> |
85 <h4>VirtualenvUpgradeConfigurationDialog (Constructor)</h4> |
88 <b>VirtualenvUpgradeConfigurationDialog</b>(<i>envName, envPath, parent=None</i>) |
86 <b>VirtualenvUpgradeConfigurationDialog</b>(<i>envName, envPath, parent=None</i>) |
89 |
|
90 <p> |
87 <p> |
91 Constructor |
88 Constructor |
92 </p> |
89 </p> |
|
90 |
93 <dl> |
91 <dl> |
94 |
92 |
95 <dt><i>envName</i> (str)</dt> |
93 <dt><i>envName</i> (str)</dt> |
96 <dd> |
94 <dd> |
97 name of the environment to be upgraded |
95 name of the environment to be upgraded |
106 </dd> |
104 </dd> |
107 </dl> |
105 </dl> |
108 <a NAME="VirtualenvUpgradeConfigurationDialog.__getPyvenvVersion" ID="VirtualenvUpgradeConfigurationDialog.__getPyvenvVersion"></a> |
106 <a NAME="VirtualenvUpgradeConfigurationDialog.__getPyvenvVersion" ID="VirtualenvUpgradeConfigurationDialog.__getPyvenvVersion"></a> |
109 <h4>VirtualenvUpgradeConfigurationDialog.__getPyvenvVersion</h4> |
107 <h4>VirtualenvUpgradeConfigurationDialog.__getPyvenvVersion</h4> |
110 <b>__getPyvenvVersion</b>(<i></i>) |
108 <b>__getPyvenvVersion</b>(<i></i>) |
111 |
|
112 <p> |
109 <p> |
113 Private method to determine the version of the venv module. |
110 Private method to determine the version of the venv module. |
114 </p> |
111 </p> |
|
112 |
115 <dl> |
113 <dl> |
116 <dt>Return:</dt> |
114 <dt>Return:</dt> |
117 <dd> |
115 <dd> |
118 tuple containing the venv modules version |
116 tuple containing the venv modules version |
119 </dd> |
117 </dd> |
125 </dd> |
123 </dd> |
126 </dl> |
124 </dl> |
127 <a NAME="VirtualenvUpgradeConfigurationDialog.__updateOkButton" ID="VirtualenvUpgradeConfigurationDialog.__updateOkButton"></a> |
125 <a NAME="VirtualenvUpgradeConfigurationDialog.__updateOkButton" ID="VirtualenvUpgradeConfigurationDialog.__updateOkButton"></a> |
128 <h4>VirtualenvUpgradeConfigurationDialog.__updateOkButton</h4> |
126 <h4>VirtualenvUpgradeConfigurationDialog.__updateOkButton</h4> |
129 <b>__updateOkButton</b>(<i></i>) |
127 <b>__updateOkButton</b>(<i></i>) |
130 |
|
131 <p> |
128 <p> |
132 Private slot to set the enabled state of the OK button. |
129 Private slot to set the enabled state of the OK button. |
133 </p> |
130 </p> |
|
131 |
134 <a NAME="VirtualenvUpgradeConfigurationDialog.__updateUpgradeDepsCheckBox" ID="VirtualenvUpgradeConfigurationDialog.__updateUpgradeDepsCheckBox"></a> |
132 <a NAME="VirtualenvUpgradeConfigurationDialog.__updateUpgradeDepsCheckBox" ID="VirtualenvUpgradeConfigurationDialog.__updateUpgradeDepsCheckBox"></a> |
135 <h4>VirtualenvUpgradeConfigurationDialog.__updateUpgradeDepsCheckBox</h4> |
133 <h4>VirtualenvUpgradeConfigurationDialog.__updateUpgradeDepsCheckBox</h4> |
136 <b>__updateUpgradeDepsCheckBox</b>(<i></i>) |
134 <b>__updateUpgradeDepsCheckBox</b>(<i></i>) |
137 |
|
138 <p> |
135 <p> |
139 Private slot to set the enabled state of the button depending |
136 Private slot to set the enabled state of the button depending |
140 on the version of the given Python interpreter. |
137 on the version of the given Python interpreter. |
141 </p> |
138 </p> |
|
139 |
142 <a NAME="VirtualenvUpgradeConfigurationDialog.getData" ID="VirtualenvUpgradeConfigurationDialog.getData"></a> |
140 <a NAME="VirtualenvUpgradeConfigurationDialog.getData" ID="VirtualenvUpgradeConfigurationDialog.getData"></a> |
143 <h4>VirtualenvUpgradeConfigurationDialog.getData</h4> |
141 <h4>VirtualenvUpgradeConfigurationDialog.getData</h4> |
144 <b>getData</b>(<i></i>) |
142 <b>getData</b>(<i></i>) |
145 |
|
146 <p> |
143 <p> |
147 Public method to retrieve the dialog data. |
144 Public method to retrieve the dialog data. |
148 </p> |
145 </p> |
|
146 |
149 <dl> |
147 <dl> |
150 <dt>Return:</dt> |
148 <dt>Return:</dt> |
151 <dd> |
149 <dd> |
152 tuple containing the selected python executable, the list of |
150 tuple containing the selected python executable, the list of |
153 arguments and a flag indicating to write a log file |
151 arguments and a flag indicating to write a log file |