Documentation/Source/eric6.VirtualEnv.VirtualenvInterpreterSelectionDialog.html

changeset 6339
d765c3204c71
child 6349
17b3c75913de
equal deleted inserted replaced
6338:104ee21d765d 6339:d765c3204c71
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.VirtualEnv.VirtualenvInterpreterSelectionDialog</h1>
23 <p>
24 Module implementing a dialog to enter the interpreter for a virtual
25 environment.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#VirtualenvInterpreterSelectionDialog">VirtualenvInterpreterSelectionDialog</a></td>
35 <td>Class implementing a dialog to enter the interpreter for a virtual environment.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="VirtualenvInterpreterSelectionDialog" ID="VirtualenvInterpreterSelectionDialog"></a>
44 <h2>VirtualenvInterpreterSelectionDialog</h2>
45 <p>
46 Class implementing a dialog to enter the interpreter for a virtual
47 environment.
48 </p>
49 <h3>Derived from</h3>
50 QDialog, Ui_VirtualenvInterpreterSelectionDialog
51 <h3>Class Attributes</h3>
52 <table>
53 <tr><td>None</td></tr>
54 </table>
55 <h3>Class Methods</h3>
56 <table>
57 <tr><td>None</td></tr>
58 </table>
59 <h3>Methods</h3>
60 <table>
61 <tr>
62 <td><a href="#VirtualenvInterpreterSelectionDialog.__init__">VirtualenvInterpreterSelectionDialog</a></td>
63 <td>Constructor</td>
64 </tr><tr>
65 <td><a href="#VirtualenvInterpreterSelectionDialog.__updateOK">__updateOK</a></td>
66 <td>Private method to update the enabled status of the OK button.</td>
67 </tr><tr>
68 <td><a href="#VirtualenvInterpreterSelectionDialog.getData">getData</a></td>
69 <td>Public method to get the entered data.</td>
70 </tr><tr>
71 <td><a href="#VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged">on_pythonExecPicker_textChanged</a></td>
72 <td>Private slot to handle changes of the entered Python interpreter path.</td>
73 </tr>
74 </table>
75 <h3>Static Methods</h3>
76 <table>
77 <tr><td>None</td></tr>
78 </table>
79 <a NAME="VirtualenvInterpreterSelectionDialog.__init__" ID="VirtualenvInterpreterSelectionDialog.__init__"></a>
80 <h4>VirtualenvInterpreterSelectionDialog (Constructor)</h4>
81 <b>VirtualenvInterpreterSelectionDialog</b>(<i>venvName, venvDirectory, parent=None</i>)
82 <p>
83 Constructor
84 </p><dl>
85 <dt><i>venvName</i> (str)</dt>
86 <dd>
87 name for the virtual environment
88 </dd><dt><i>venvDirectory</i> (str)</dt>
89 <dd>
90 directory of the virtual environment
91 </dd><dt><i>parent</i> (QWidget)</dt>
92 <dd>
93 reference to the parent widget
94 </dd>
95 </dl><a NAME="VirtualenvInterpreterSelectionDialog.__updateOK" ID="VirtualenvInterpreterSelectionDialog.__updateOK"></a>
96 <h4>VirtualenvInterpreterSelectionDialog.__updateOK</h4>
97 <b>__updateOK</b>(<i></i>)
98 <p>
99 Private method to update the enabled status of the OK button.
100 </p><a NAME="VirtualenvInterpreterSelectionDialog.getData" ID="VirtualenvInterpreterSelectionDialog.getData"></a>
101 <h4>VirtualenvInterpreterSelectionDialog.getData</h4>
102 <b>getData</b>(<i></i>)
103 <p>
104 Public method to get the entered data.
105 </p><dl>
106 <dt>Returns:</dt>
107 <dd>
108 path of the selected Python interpreter
109 </dd>
110 </dl><dl>
111 <dt>Return Type:</dt>
112 <dd>
113 str
114 </dd>
115 </dl><a NAME="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged" ID="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged"></a>
116 <h4>VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged</h4>
117 <b>on_pythonExecPicker_textChanged</b>(<i>txt</i>)
118 <p>
119 Private slot to handle changes of the entered Python interpreter path.
120 </p><dl>
121 <dt><i>txt</i> (str)</dt>
122 <dd>
123 entered Python interpreter path
124 </dd>
125 </dl>
126 <div align="right"><a href="#top">Up</a></div>
127 <hr />
128 </body></html>

eric ide

mercurial