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.VirtualenvInterpreterSelectionDialog</h1> |
9 <h1>eric7.VirtualEnv.VirtualenvInterpreterSelectionDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to enter the interpreter for a virtual |
11 Module implementing a dialog to enter the interpreter for a virtual |
13 environment. |
12 environment. |
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="#VirtualenvInterpreterSelectionDialog">VirtualenvInterpreterSelectionDialog</a></td> |
23 <td><a href="#VirtualenvInterpreterSelectionDialog">VirtualenvInterpreterSelectionDialog</a></td> |
26 <td>Class implementing a dialog to enter the interpreter for a virtual environment.</td> |
24 <td>Class implementing a dialog to enter the interpreter for a virtual environment.</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="VirtualenvInterpreterSelectionDialog" ID="VirtualenvInterpreterSelectionDialog"></a> |
35 <a NAME="VirtualenvInterpreterSelectionDialog" ID="VirtualenvInterpreterSelectionDialog"></a> |
37 <h2>VirtualenvInterpreterSelectionDialog</h2> |
36 <h2>VirtualenvInterpreterSelectionDialog</h2> |
38 |
|
39 <p> |
37 <p> |
40 Class implementing a dialog to enter the interpreter for a virtual |
38 Class implementing a dialog to enter the interpreter for a virtual |
41 environment. |
39 environment. |
42 </p> |
40 </p> |
|
41 |
43 <h3>Derived from</h3> |
42 <h3>Derived from</h3> |
44 QDialog, Ui_VirtualenvInterpreterSelectionDialog |
43 QDialog, Ui_VirtualenvInterpreterSelectionDialog |
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="#VirtualenvInterpreterSelectionDialog.__init__">VirtualenvInterpreterSelectionDialog</a></td> |
57 <td><a href="#VirtualenvInterpreterSelectionDialog.__init__">VirtualenvInterpreterSelectionDialog</a></td> |
61 <td>Constructor</td> |
58 <td>Constructor</td> |
62 </tr> |
59 </tr> |
63 <tr> |
60 <tr> |
71 <tr> |
68 <tr> |
72 <td><a href="#VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged">on_pythonExecPicker_textChanged</a></td> |
69 <td><a href="#VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged">on_pythonExecPicker_textChanged</a></td> |
73 <td>Private slot to handle changes of the entered Python interpreter path.</td> |
70 <td>Private slot to handle changes of the entered Python interpreter path.</td> |
74 </tr> |
71 </tr> |
75 </table> |
72 </table> |
|
73 |
76 <h3>Static Methods</h3> |
74 <h3>Static Methods</h3> |
77 |
|
78 <table> |
75 <table> |
79 <tr><td>None</td></tr> |
76 <tr><td>None</td></tr> |
80 </table> |
77 </table> |
81 |
78 |
|
79 |
82 <a NAME="VirtualenvInterpreterSelectionDialog.__init__" ID="VirtualenvInterpreterSelectionDialog.__init__"></a> |
80 <a NAME="VirtualenvInterpreterSelectionDialog.__init__" ID="VirtualenvInterpreterSelectionDialog.__init__"></a> |
83 <h4>VirtualenvInterpreterSelectionDialog (Constructor)</h4> |
81 <h4>VirtualenvInterpreterSelectionDialog (Constructor)</h4> |
84 <b>VirtualenvInterpreterSelectionDialog</b>(<i>venvName, venvDirectory, parent=None</i>) |
82 <b>VirtualenvInterpreterSelectionDialog</b>(<i>venvName, venvDirectory, parent=None</i>) |
85 |
|
86 <p> |
83 <p> |
87 Constructor |
84 Constructor |
88 </p> |
85 </p> |
|
86 |
89 <dl> |
87 <dl> |
90 |
88 |
91 <dt><i>venvName</i> (str)</dt> |
89 <dt><i>venvName</i> (str)</dt> |
92 <dd> |
90 <dd> |
93 name for the virtual environment |
91 name for the virtual environment |
102 </dd> |
100 </dd> |
103 </dl> |
101 </dl> |
104 <a NAME="VirtualenvInterpreterSelectionDialog.__updateOK" ID="VirtualenvInterpreterSelectionDialog.__updateOK"></a> |
102 <a NAME="VirtualenvInterpreterSelectionDialog.__updateOK" ID="VirtualenvInterpreterSelectionDialog.__updateOK"></a> |
105 <h4>VirtualenvInterpreterSelectionDialog.__updateOK</h4> |
103 <h4>VirtualenvInterpreterSelectionDialog.__updateOK</h4> |
106 <b>__updateOK</b>(<i></i>) |
104 <b>__updateOK</b>(<i></i>) |
107 |
|
108 <p> |
105 <p> |
109 Private method to update the enabled status of the OK button. |
106 Private method to update the enabled status of the OK button. |
110 </p> |
107 </p> |
|
108 |
111 <a NAME="VirtualenvInterpreterSelectionDialog.getData" ID="VirtualenvInterpreterSelectionDialog.getData"></a> |
109 <a NAME="VirtualenvInterpreterSelectionDialog.getData" ID="VirtualenvInterpreterSelectionDialog.getData"></a> |
112 <h4>VirtualenvInterpreterSelectionDialog.getData</h4> |
110 <h4>VirtualenvInterpreterSelectionDialog.getData</h4> |
113 <b>getData</b>(<i></i>) |
111 <b>getData</b>(<i></i>) |
114 |
|
115 <p> |
112 <p> |
116 Public method to get the entered data. |
113 Public method to get the entered data. |
117 </p> |
114 </p> |
|
115 |
118 <dl> |
116 <dl> |
119 <dt>Return:</dt> |
117 <dt>Return:</dt> |
120 <dd> |
118 <dd> |
121 path of the selected Python interpreter |
119 path of the selected Python interpreter |
122 </dd> |
120 </dd> |
128 </dd> |
126 </dd> |
129 </dl> |
127 </dl> |
130 <a NAME="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged" ID="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged"></a> |
128 <a NAME="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged" ID="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged"></a> |
131 <h4>VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged</h4> |
129 <h4>VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged</h4> |
132 <b>on_pythonExecPicker_textChanged</b>(<i>txt</i>) |
130 <b>on_pythonExecPicker_textChanged</b>(<i>txt</i>) |
133 |
|
134 <p> |
131 <p> |
135 Private slot to handle changes of the entered Python interpreter path. |
132 Private slot to handle changes of the entered Python interpreter path. |
136 </p> |
133 </p> |
|
134 |
137 <dl> |
135 <dl> |
138 |
136 |
139 <dt><i>txt</i> (str)</dt> |
137 <dt><i>txt</i> (str)</dt> |
140 <dd> |
138 <dd> |
141 entered Python interpreter path |
139 entered Python interpreter path |