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.Project.ProjectVenvConfigurationDialog</h1> |
9 <h1>eric7.Project.ProjectVenvConfigurationDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to enter the configuration for the embedded environment |
11 Module implementing a dialog to enter the configuration for the embedded environment |
13 of the project. |
12 of the project. |
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="#ProjectVenvConfigurationDialog">ProjectVenvConfigurationDialog</a></td> |
23 <td><a href="#ProjectVenvConfigurationDialog">ProjectVenvConfigurationDialog</a></td> |
26 <td>Class implementing a dialog to enter the configuration for the embedded environment of the project.</td> |
24 <td>Class implementing a dialog to enter the configuration for the embedded environment of the project.</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="ProjectVenvConfigurationDialog" ID="ProjectVenvConfigurationDialog"></a> |
35 <a NAME="ProjectVenvConfigurationDialog" ID="ProjectVenvConfigurationDialog"></a> |
37 <h2>ProjectVenvConfigurationDialog</h2> |
36 <h2>ProjectVenvConfigurationDialog</h2> |
38 |
|
39 <p> |
37 <p> |
40 Class implementing a dialog to enter the configuration for the embedded |
38 Class implementing a dialog to enter the configuration for the embedded |
41 environment of the project. |
39 environment of the project. |
42 </p> |
40 </p> |
|
41 |
43 <h3>Derived from</h3> |
42 <h3>Derived from</h3> |
44 QDialog, Ui_ProjectVenvConfigurationDialog |
43 QDialog, Ui_ProjectVenvConfigurationDialog |
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="#ProjectVenvConfigurationDialog.__init__">ProjectVenvConfigurationDialog</a></td> |
57 <td><a href="#ProjectVenvConfigurationDialog.__init__">ProjectVenvConfigurationDialog</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="#ProjectVenvConfigurationDialog.on_pythonExecPicker_editTextChanged">on_pythonExecPicker_editTextChanged</a></td> |
69 <td><a href="#ProjectVenvConfigurationDialog.on_pythonExecPicker_editTextChanged">on_pythonExecPicker_editTextChanged</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="ProjectVenvConfigurationDialog.__init__" ID="ProjectVenvConfigurationDialog.__init__"></a> |
80 <a NAME="ProjectVenvConfigurationDialog.__init__" ID="ProjectVenvConfigurationDialog.__init__"></a> |
83 <h4>ProjectVenvConfigurationDialog (Constructor)</h4> |
81 <h4>ProjectVenvConfigurationDialog (Constructor)</h4> |
84 <b>ProjectVenvConfigurationDialog</b>(<i>venvName="", venvDirectory="", venvInterpreter="", execPath="", parent=None, </i>) |
82 <b>ProjectVenvConfigurationDialog</b>(<i>venvName="", venvDirectory="", venvInterpreter="", execPath="", 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 logical name of a virtual environment for editing |
91 logical name of a virtual environment for editing |
111 </dd> |
109 </dd> |
112 </dl> |
110 </dl> |
113 <a NAME="ProjectVenvConfigurationDialog.__updateOK" ID="ProjectVenvConfigurationDialog.__updateOK"></a> |
111 <a NAME="ProjectVenvConfigurationDialog.__updateOK" ID="ProjectVenvConfigurationDialog.__updateOK"></a> |
114 <h4>ProjectVenvConfigurationDialog.__updateOK</h4> |
112 <h4>ProjectVenvConfigurationDialog.__updateOK</h4> |
115 <b>__updateOK</b>(<i></i>) |
113 <b>__updateOK</b>(<i></i>) |
116 |
|
117 <p> |
114 <p> |
118 Private method to update the enabled status of the OK button. |
115 Private method to update the enabled status of the OK button. |
119 </p> |
116 </p> |
|
117 |
120 <a NAME="ProjectVenvConfigurationDialog.getData" ID="ProjectVenvConfigurationDialog.getData"></a> |
118 <a NAME="ProjectVenvConfigurationDialog.getData" ID="ProjectVenvConfigurationDialog.getData"></a> |
121 <h4>ProjectVenvConfigurationDialog.getData</h4> |
119 <h4>ProjectVenvConfigurationDialog.getData</h4> |
122 <b>getData</b>(<i></i>) |
120 <b>getData</b>(<i></i>) |
123 |
|
124 <p> |
121 <p> |
125 Public method to get the entered data. |
122 Public method to get the entered data. |
126 </p> |
123 </p> |
|
124 |
127 <dl> |
125 <dl> |
128 <dt>Return:</dt> |
126 <dt>Return:</dt> |
129 <dd> |
127 <dd> |
130 tuple containing the path of the selected Python interpreter and |
128 tuple containing the path of the selected Python interpreter and |
131 a string to be prepended to the PATH environment variable |
129 a string to be prepended to the PATH environment variable |
138 </dd> |
136 </dd> |
139 </dl> |
137 </dl> |
140 <a NAME="ProjectVenvConfigurationDialog.on_pythonExecPicker_editTextChanged" ID="ProjectVenvConfigurationDialog.on_pythonExecPicker_editTextChanged"></a> |
138 <a NAME="ProjectVenvConfigurationDialog.on_pythonExecPicker_editTextChanged" ID="ProjectVenvConfigurationDialog.on_pythonExecPicker_editTextChanged"></a> |
141 <h4>ProjectVenvConfigurationDialog.on_pythonExecPicker_editTextChanged</h4> |
139 <h4>ProjectVenvConfigurationDialog.on_pythonExecPicker_editTextChanged</h4> |
142 <b>on_pythonExecPicker_editTextChanged</b>(<i>txt</i>) |
140 <b>on_pythonExecPicker_editTextChanged</b>(<i>txt</i>) |
143 |
|
144 <p> |
141 <p> |
145 Private slot to handle changes of the entered Python interpreter path. |
142 Private slot to handle changes of the entered Python interpreter path. |
146 </p> |
143 </p> |
|
144 |
147 <dl> |
145 <dl> |
148 |
146 |
149 <dt><i>txt</i> (str)</dt> |
147 <dt><i>txt</i> (str)</dt> |
150 <dd> |
148 <dd> |
151 entered Python interpreter path |
149 entered Python interpreter path |