src/eric7/Documentation/Source/eric7.VirtualEnv.VirtualenvInterpreterSelectionDialog.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10479
856476537696
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.VirtualEnv.VirtualenvInterpreterSelectionDialog</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.VirtualEnv.VirtualenvInterpreterSelectionDialog</h1>
10
11 <p>
12 Module implementing a dialog to enter the interpreter for a virtual
13 environment.
14 </p>
15 <h3>Global Attributes</h3>
16
17 <table>
18 <tr><td>None</td></tr>
19 </table>
20 <h3>Classes</h3>
21
22 <table>
23
24 <tr>
25 <td><a href="#VirtualenvInterpreterSelectionDialog">VirtualenvInterpreterSelectionDialog</a></td>
26 <td>Class implementing a dialog to enter the interpreter for a virtual environment.</td>
27 </tr>
28 </table>
29 <h3>Functions</h3>
30
31 <table>
32 <tr><td>None</td></tr>
33 </table>
34 <hr />
35 <hr />
36 <a NAME="VirtualenvInterpreterSelectionDialog" ID="VirtualenvInterpreterSelectionDialog"></a>
37 <h2>VirtualenvInterpreterSelectionDialog</h2>
38
39 <p>
40 Class implementing a dialog to enter the interpreter for a virtual
41 environment.
42 </p>
43 <h3>Derived from</h3>
44 QDialog, Ui_VirtualenvInterpreterSelectionDialog
45 <h3>Class Attributes</h3>
46
47 <table>
48 <tr><td>None</td></tr>
49 </table>
50 <h3>Class Methods</h3>
51
52 <table>
53 <tr><td>None</td></tr>
54 </table>
55 <h3>Methods</h3>
56
57 <table>
58
59 <tr>
60 <td><a href="#VirtualenvInterpreterSelectionDialog.__init__">VirtualenvInterpreterSelectionDialog</a></td>
61 <td>Constructor</td>
62 </tr>
63 <tr>
64 <td><a href="#VirtualenvInterpreterSelectionDialog.__updateOK">__updateOK</a></td>
65 <td>Private method to update the enabled status of the OK button.</td>
66 </tr>
67 <tr>
68 <td><a href="#VirtualenvInterpreterSelectionDialog.getData">getData</a></td>
69 <td>Public method to get the entered data.</td>
70 </tr>
71 <tr>
72 <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>
74 </tr>
75 </table>
76 <h3>Static Methods</h3>
77
78 <table>
79 <tr><td>None</td></tr>
80 </table>
81
82 <a NAME="VirtualenvInterpreterSelectionDialog.__init__" ID="VirtualenvInterpreterSelectionDialog.__init__"></a>
83 <h4>VirtualenvInterpreterSelectionDialog (Constructor)</h4>
84 <b>VirtualenvInterpreterSelectionDialog</b>(<i>venvName, venvDirectory, parent=None</i>)
85
86 <p>
87 Constructor
88 </p>
89 <dl>
90
91 <dt><i>venvName</i> (str)</dt>
92 <dd>
93 name for the virtual environment
94 </dd>
95 <dt><i>venvDirectory</i> (str)</dt>
96 <dd>
97 directory of the virtual environment
98 </dd>
99 <dt><i>parent</i> (QWidget)</dt>
100 <dd>
101 reference to the parent widget
102 </dd>
103 </dl>
104 <a NAME="VirtualenvInterpreterSelectionDialog.__updateOK" ID="VirtualenvInterpreterSelectionDialog.__updateOK"></a>
105 <h4>VirtualenvInterpreterSelectionDialog.__updateOK</h4>
106 <b>__updateOK</b>(<i></i>)
107
108 <p>
109 Private method to update the enabled status of the OK button.
110 </p>
111 <a NAME="VirtualenvInterpreterSelectionDialog.getData" ID="VirtualenvInterpreterSelectionDialog.getData"></a>
112 <h4>VirtualenvInterpreterSelectionDialog.getData</h4>
113 <b>getData</b>(<i></i>)
114
115 <p>
116 Public method to get the entered data.
117 </p>
118 <dl>
119 <dt>Return:</dt>
120 <dd>
121 path of the selected Python interpreter
122 </dd>
123 </dl>
124 <dl>
125 <dt>Return Type:</dt>
126 <dd>
127 str
128 </dd>
129 </dl>
130 <a NAME="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged" ID="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged"></a>
131 <h4>VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged</h4>
132 <b>on_pythonExecPicker_textChanged</b>(<i>txt</i>)
133
134 <p>
135 Private slot to handle changes of the entered Python interpreter path.
136 </p>
137 <dl>
138
139 <dt><i>txt</i> (str)</dt>
140 <dd>
141 entered Python interpreter path
142 </dd>
143 </dl>
144 <div align="right"><a href="#top">Up</a></div>
145 <hr />
146 </body></html>

eric ide

mercurial