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

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
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.VirtualenvNameDialog</h1> 23 <h1>eric6.VirtualEnv.VirtualenvNameDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to enter the logical name for a new virtual 26 Module implementing a dialog to enter the logical name for a new 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="#VirtualenvNameDialog">VirtualenvNameDialog</a></td> 39 <td><a href="#VirtualenvNameDialog">VirtualenvNameDialog</a></td>
35 <td>Class implementing a dialog to enter the logical name for a new virtual environment.</td> 40 <td>Class implementing a dialog to enter the logical name for a new 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="VirtualenvNameDialog" ID="VirtualenvNameDialog"></a> 50 <a NAME="VirtualenvNameDialog" ID="VirtualenvNameDialog"></a>
44 <h2>VirtualenvNameDialog</h2> 51 <h2>VirtualenvNameDialog</h2>
52
45 <p> 53 <p>
46 Class implementing a dialog to enter the logical name for a new virtual 54 Class implementing a dialog to enter the logical name for a new virtual
47 environment. 55 environment.
48 </p> 56 </p>
49 <h3>Derived from</h3> 57 <h3>Derived from</h3>
50 QDialog, Ui_VirtualenvNameDialog 58 QDialog, Ui_VirtualenvNameDialog
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="#VirtualenvNameDialog.__init__">VirtualenvNameDialog</a></td> 74 <td><a href="#VirtualenvNameDialog.__init__">VirtualenvNameDialog</a></td>
63 <td>Constructor</td> 75 <td>Constructor</td>
64 </tr><tr> 76 </tr>
77 <tr>
65 <td><a href="#VirtualenvNameDialog.getName">getName</a></td> 78 <td><a href="#VirtualenvNameDialog.getName">getName</a></td>
66 <td>Public method to get the entered name.</td> 79 <td>Public method to get the entered name.</td>
67 </tr><tr> 80 </tr>
81 <tr>
68 <td><a href="#VirtualenvNameDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> 82 <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> 83 <td>Private slot to handle a change of the environment name.</td>
70 </tr> 84 </tr>
71 </table> 85 </table>
72 <h3>Static Methods</h3> 86 <h3>Static Methods</h3>
87
73 <table> 88 <table>
74 <tr><td>None</td></tr> 89 <tr><td>None</td></tr>
75 </table> 90 </table>
91
76 <a NAME="VirtualenvNameDialog.__init__" ID="VirtualenvNameDialog.__init__"></a> 92 <a NAME="VirtualenvNameDialog.__init__" ID="VirtualenvNameDialog.__init__"></a>
77 <h4>VirtualenvNameDialog (Constructor)</h4> 93 <h4>VirtualenvNameDialog (Constructor)</h4>
78 <b>VirtualenvNameDialog</b>(<i>environments, currentName, parent=None</i>) 94 <b>VirtualenvNameDialog</b>(<i>environments, currentName, parent=None</i>)
95
79 <p> 96 <p>
80 Constructor 97 Constructor
81 </p><dl> 98 </p>
99 <dl>
100
82 <dt><i>environments</i> (list of str)</dt> 101 <dt><i>environments</i> (list of str)</dt>
83 <dd> 102 <dd>
84 list of environment names to be shown 103 list of environment names to be shown
85 </dd><dt><i>currentName</i> (str)</dt> 104 </dd>
105 <dt><i>currentName</i> (str)</dt>
86 <dd> 106 <dd>
87 name to be shown in the name edit 107 name to be shown in the name edit
88 </dd><dt><i>parent</i> (QWidget)</dt> 108 </dd>
109 <dt><i>parent</i> (QWidget)</dt>
89 <dd> 110 <dd>
90 reference to the parent widget 111 reference to the parent widget
91 </dd> 112 </dd>
92 </dl><a NAME="VirtualenvNameDialog.getName" ID="VirtualenvNameDialog.getName"></a> 113 </dl>
114 <a NAME="VirtualenvNameDialog.getName" ID="VirtualenvNameDialog.getName"></a>
93 <h4>VirtualenvNameDialog.getName</h4> 115 <h4>VirtualenvNameDialog.getName</h4>
94 <b>getName</b>(<i></i>) 116 <b>getName</b>(<i></i>)
117
95 <p> 118 <p>
96 Public method to get the entered name. 119 Public method to get the entered name.
97 </p><dl> 120 </p>
121 <dl>
98 <dt>Returns:</dt> 122 <dt>Returns:</dt>
99 <dd> 123 <dd>
100 name for the environment 124 name for the environment
101 </dd> 125 </dd>
102 </dl><dl> 126 </dl>
127 <dl>
103 <dt>Return Type:</dt> 128 <dt>Return Type:</dt>
104 <dd> 129 <dd>
105 str 130 str
106 </dd> 131 </dd>
107 </dl><a NAME="VirtualenvNameDialog.on_nameEdit_textChanged" ID="VirtualenvNameDialog.on_nameEdit_textChanged"></a> 132 </dl>
133 <a NAME="VirtualenvNameDialog.on_nameEdit_textChanged" ID="VirtualenvNameDialog.on_nameEdit_textChanged"></a>
108 <h4>VirtualenvNameDialog.on_nameEdit_textChanged</h4> 134 <h4>VirtualenvNameDialog.on_nameEdit_textChanged</h4>
109 <b>on_nameEdit_textChanged</b>(<i>txt</i>) 135 <b>on_nameEdit_textChanged</b>(<i>txt</i>)
136
110 <p> 137 <p>
111 Private slot to handle a change of the environment name. 138 Private slot to handle a change of the environment name.
112 </p><dl> 139 </p>
140 <dl>
141
113 <dt><i>txt</i> (str)</dt> 142 <dt><i>txt</i> (str)</dt>
114 <dd> 143 <dd>
115 contens of the name edit 144 contens of the name edit
116 </dd> 145 </dd>
117 </dl> 146 </dl>

eric ide

mercurial