eric6/Documentation/Source/eric6.VirtualEnv.VirtualenvNameDialog.html

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7273
391d6b7b1eff
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.VirtualEnv.VirtualenvNameDialog</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.VirtualenvNameDialog</h1>
23 <p>
24 Module implementing a dialog to enter the logical name for a new 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="#VirtualenvNameDialog">VirtualenvNameDialog</a></td>
35 <td>Class implementing a dialog to enter the logical name for a new 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="VirtualenvNameDialog" ID="VirtualenvNameDialog"></a>
44 <h2>VirtualenvNameDialog</h2>
45 <p>
46 Class implementing a dialog to enter the logical name for a new virtual
47 environment.
48 </p>
49 <h3>Derived from</h3>
50 QDialog, Ui_VirtualenvNameDialog
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="#VirtualenvNameDialog.__init__">VirtualenvNameDialog</a></td>
63 <td>Constructor</td>
64 </tr><tr>
65 <td><a href="#VirtualenvNameDialog.getName">getName</a></td>
66 <td>Public method to get the entered name.</td>
67 </tr><tr>
68 <td><a href="#VirtualenvNameDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
69 <td>Private slot to handle a change of the environment name.</td>
70 </tr>
71 </table>
72 <h3>Static Methods</h3>
73 <table>
74 <tr><td>None</td></tr>
75 </table>
76 <a NAME="VirtualenvNameDialog.__init__" ID="VirtualenvNameDialog.__init__"></a>
77 <h4>VirtualenvNameDialog (Constructor)</h4>
78 <b>VirtualenvNameDialog</b>(<i>environments, currentName, parent=None</i>)
79 <p>
80 Constructor
81 </p><dl>
82 <dt><i>environments</i> (list of str)</dt>
83 <dd>
84 list of environment names to be shown
85 </dd><dt><i>currentName</i> (str)</dt>
86 <dd>
87 name to be shown in the name edit
88 </dd><dt><i>parent</i> (QWidget)</dt>
89 <dd>
90 reference to the parent widget
91 </dd>
92 </dl><a NAME="VirtualenvNameDialog.getName" ID="VirtualenvNameDialog.getName"></a>
93 <h4>VirtualenvNameDialog.getName</h4>
94 <b>getName</b>(<i></i>)
95 <p>
96 Public method to get the entered name.
97 </p><dl>
98 <dt>Returns:</dt>
99 <dd>
100 name for the environment
101 </dd>
102 </dl><dl>
103 <dt>Return Type:</dt>
104 <dd>
105 str
106 </dd>
107 </dl><a NAME="VirtualenvNameDialog.on_nameEdit_textChanged" ID="VirtualenvNameDialog.on_nameEdit_textChanged"></a>
108 <h4>VirtualenvNameDialog.on_nameEdit_textChanged</h4>
109 <b>on_nameEdit_textChanged</b>(<i>txt</i>)
110 <p>
111 Private slot to handle a change of the environment name.
112 </p><dl>
113 <dt><i>txt</i> (str)</dt>
114 <dd>
115 contens of the name edit
116 </dd>
117 </dl>
118 <div align="right"><a href="#top">Up</a></div>
119 <hr />
120 </body></html>

eric ide

mercurial