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

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

eric ide

mercurial