eric6/Documentation/Source/eric6.VirtualEnv.VirtualenvInterpreterSelectionDialog.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7635
0cdead130a81
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.VirtualEnv.VirtualenvInterpreterSelectionDialog</h1> 23 <h1>eric6.VirtualEnv.VirtualenvInterpreterSelectionDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to enter the interpreter for a virtual 26 Module implementing a dialog to enter the interpreter for a virtual
25 environment. 27 environment.
26 </p> 28 </p>
27 <h3>Global Attributes</h3> 29 <h3>Global Attributes</h3>
30
28 <table> 31 <table>
29 <tr><td>None</td></tr> 32 <tr><td>None</td></tr>
30 </table> 33 </table>
31 <h3>Classes</h3> 34 <h3>Classes</h3>
35
32 <table> 36 <table>
37
33 <tr> 38 <tr>
34 <td><a href="#VirtualenvInterpreterSelectionDialog">VirtualenvInterpreterSelectionDialog</a></td> 39 <td><a href="#VirtualenvInterpreterSelectionDialog">VirtualenvInterpreterSelectionDialog</a></td>
35 <td>Class implementing a dialog to enter the interpreter for a virtual environment.</td> 40 <td>Class implementing a dialog to enter the interpreter for a virtual environment.</td>
36 </tr> 41 </tr>
37 </table> 42 </table>
38 <h3>Functions</h3> 43 <h3>Functions</h3>
44
39 <table> 45 <table>
40 <tr><td>None</td></tr> 46 <tr><td>None</td></tr>
41 </table> 47 </table>
42 <hr /><hr /> 48 <hr />
49 <hr />
43 <a NAME="VirtualenvInterpreterSelectionDialog" ID="VirtualenvInterpreterSelectionDialog"></a> 50 <a NAME="VirtualenvInterpreterSelectionDialog" ID="VirtualenvInterpreterSelectionDialog"></a>
44 <h2>VirtualenvInterpreterSelectionDialog</h2> 51 <h2>VirtualenvInterpreterSelectionDialog</h2>
52
45 <p> 53 <p>
46 Class implementing a dialog to enter the interpreter for a virtual 54 Class implementing a dialog to enter the interpreter for a virtual
47 environment. 55 environment.
48 </p> 56 </p>
49 <h3>Derived from</h3> 57 <h3>Derived from</h3>
50 QDialog, Ui_VirtualenvInterpreterSelectionDialog 58 QDialog, Ui_VirtualenvInterpreterSelectionDialog
51 <h3>Class Attributes</h3> 59 <h3>Class Attributes</h3>
60
52 <table> 61 <table>
53 <tr><td>None</td></tr> 62 <tr><td>None</td></tr>
54 </table> 63 </table>
55 <h3>Class Methods</h3> 64 <h3>Class Methods</h3>
65
56 <table> 66 <table>
57 <tr><td>None</td></tr> 67 <tr><td>None</td></tr>
58 </table> 68 </table>
59 <h3>Methods</h3> 69 <h3>Methods</h3>
70
60 <table> 71 <table>
72
61 <tr> 73 <tr>
62 <td><a href="#VirtualenvInterpreterSelectionDialog.__init__">VirtualenvInterpreterSelectionDialog</a></td> 74 <td><a href="#VirtualenvInterpreterSelectionDialog.__init__">VirtualenvInterpreterSelectionDialog</a></td>
63 <td>Constructor</td> 75 <td>Constructor</td>
64 </tr><tr> 76 </tr>
77 <tr>
65 <td><a href="#VirtualenvInterpreterSelectionDialog.__updateOK">__updateOK</a></td> 78 <td><a href="#VirtualenvInterpreterSelectionDialog.__updateOK">__updateOK</a></td>
66 <td>Private method to update the enabled status of the OK button.</td> 79 <td>Private method to update the enabled status of the OK button.</td>
67 </tr><tr> 80 </tr>
81 <tr>
68 <td><a href="#VirtualenvInterpreterSelectionDialog.getData">getData</a></td> 82 <td><a href="#VirtualenvInterpreterSelectionDialog.getData">getData</a></td>
69 <td>Public method to get the entered data.</td> 83 <td>Public method to get the entered data.</td>
70 </tr><tr> 84 </tr>
85 <tr>
71 <td><a href="#VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged">on_pythonExecPicker_textChanged</a></td> 86 <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> 87 <td>Private slot to handle changes of the entered Python interpreter path.</td>
73 </tr> 88 </tr>
74 </table> 89 </table>
75 <h3>Static Methods</h3> 90 <h3>Static Methods</h3>
91
76 <table> 92 <table>
77 <tr><td>None</td></tr> 93 <tr><td>None</td></tr>
78 </table> 94 </table>
95
79 <a NAME="VirtualenvInterpreterSelectionDialog.__init__" ID="VirtualenvInterpreterSelectionDialog.__init__"></a> 96 <a NAME="VirtualenvInterpreterSelectionDialog.__init__" ID="VirtualenvInterpreterSelectionDialog.__init__"></a>
80 <h4>VirtualenvInterpreterSelectionDialog (Constructor)</h4> 97 <h4>VirtualenvInterpreterSelectionDialog (Constructor)</h4>
81 <b>VirtualenvInterpreterSelectionDialog</b>(<i>venvName, venvDirectory, parent=None</i>) 98 <b>VirtualenvInterpreterSelectionDialog</b>(<i>venvName, venvDirectory, parent=None</i>)
99
82 <p> 100 <p>
83 Constructor 101 Constructor
84 </p><dl> 102 </p>
103 <dl>
104
85 <dt><i>venvName</i> (str)</dt> 105 <dt><i>venvName</i> (str)</dt>
86 <dd> 106 <dd>
87 name for the virtual environment 107 name for the virtual environment
88 </dd><dt><i>venvDirectory</i> (str)</dt> 108 </dd>
109 <dt><i>venvDirectory</i> (str)</dt>
89 <dd> 110 <dd>
90 directory of the virtual environment 111 directory of the virtual environment
91 </dd><dt><i>parent</i> (QWidget)</dt> 112 </dd>
113 <dt><i>parent</i> (QWidget)</dt>
92 <dd> 114 <dd>
93 reference to the parent widget 115 reference to the parent widget
94 </dd> 116 </dd>
95 </dl><a NAME="VirtualenvInterpreterSelectionDialog.__updateOK" ID="VirtualenvInterpreterSelectionDialog.__updateOK"></a> 117 </dl>
118 <a NAME="VirtualenvInterpreterSelectionDialog.__updateOK" ID="VirtualenvInterpreterSelectionDialog.__updateOK"></a>
96 <h4>VirtualenvInterpreterSelectionDialog.__updateOK</h4> 119 <h4>VirtualenvInterpreterSelectionDialog.__updateOK</h4>
97 <b>__updateOK</b>(<i></i>) 120 <b>__updateOK</b>(<i></i>)
121
98 <p> 122 <p>
99 Private method to update the enabled status of the OK button. 123 Private method to update the enabled status of the OK button.
100 </p><a NAME="VirtualenvInterpreterSelectionDialog.getData" ID="VirtualenvInterpreterSelectionDialog.getData"></a> 124 </p>
125 <a NAME="VirtualenvInterpreterSelectionDialog.getData" ID="VirtualenvInterpreterSelectionDialog.getData"></a>
101 <h4>VirtualenvInterpreterSelectionDialog.getData</h4> 126 <h4>VirtualenvInterpreterSelectionDialog.getData</h4>
102 <b>getData</b>(<i></i>) 127 <b>getData</b>(<i></i>)
128
103 <p> 129 <p>
104 Public method to get the entered data. 130 Public method to get the entered data.
105 </p><dl> 131 </p>
132 <dl>
106 <dt>Returns:</dt> 133 <dt>Returns:</dt>
107 <dd> 134 <dd>
108 tuple containing the path of the selected Python interpreter 135 tuple containing the path of the selected Python interpreter
109 and the Python variant 136 and the Python variant
110 </dd> 137 </dd>
111 </dl><dl> 138 </dl>
139 <dl>
112 <dt>Return Type:</dt> 140 <dt>Return Type:</dt>
113 <dd> 141 <dd>
114 tuple of (str, int) 142 tuple of (str, int)
115 </dd> 143 </dd>
116 </dl><a NAME="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged" ID="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged"></a> 144 </dl>
145 <a NAME="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged" ID="VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged"></a>
117 <h4>VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged</h4> 146 <h4>VirtualenvInterpreterSelectionDialog.on_pythonExecPicker_textChanged</h4>
118 <b>on_pythonExecPicker_textChanged</b>(<i>txt</i>) 147 <b>on_pythonExecPicker_textChanged</b>(<i>txt</i>)
148
119 <p> 149 <p>
120 Private slot to handle changes of the entered Python interpreter path. 150 Private slot to handle changes of the entered Python interpreter path.
121 </p><dl> 151 </p>
152 <dl>
153
122 <dt><i>txt</i> (str)</dt> 154 <dt><i>txt</i> (str)</dt>
123 <dd> 155 <dd>
124 entered Python interpreter path 156 entered Python interpreter path
125 </dd> 157 </dd>
126 </dl> 158 </dl>

eric ide

mercurial