5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.WizardPlugins.DotDesktopWizard.DotDesktopWizardDialog</h1> |
9 <h1>eric7.Plugins.WizardPlugins.DotDesktopWizard.DotDesktopWizardDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the .desktop wizard dialog. |
11 Module implementing the .desktop wizard dialog. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
15 <table> |
16 <table> |
16 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
17 </table> |
18 </table> |
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 <table> |
21 <table> |
|
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#DotDesktopWizardDialog">DotDesktopWizardDialog</a></td> |
22 <td><a href="#DotDesktopWizardDialog">DotDesktopWizardDialog</a></td> |
25 <td>Class implementing the .desktop wizard dialog.</td> |
23 <td>Class implementing the .desktop wizard dialog.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
28 <table> |
30 <table> |
29 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
30 </table> |
32 </table> |
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="DotDesktopWizardDialog" ID="DotDesktopWizardDialog"></a> |
34 <a NAME="DotDesktopWizardDialog" ID="DotDesktopWizardDialog"></a> |
36 <h2>DotDesktopWizardDialog</h2> |
35 <h2>DotDesktopWizardDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing the .desktop wizard dialog. |
37 Class implementing the .desktop wizard dialog. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_DotDesktopWizardDialog |
41 QDialog, Ui_DotDesktopWizardDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
43 <table> |
45 <table> |
44 <tr><td>None</td></tr> |
46 <tr><td>None</td></tr> |
45 </table> |
47 </table> |
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
48 <table> |
50 <table> |
49 <tr><td>None</td></tr> |
51 <tr><td>None</td></tr> |
50 </table> |
52 </table> |
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
53 <table> |
55 <table> |
|
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#DotDesktopWizardDialog.__init__">DotDesktopWizardDialog</a></td> |
55 <td><a href="#DotDesktopWizardDialog.__init__">DotDesktopWizardDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
101 <tr> |
98 <tr> |
102 <td><a href="#DotDesktopWizardDialog.on_typeEdit_textChanged">on_typeEdit_textChanged</a></td> |
99 <td><a href="#DotDesktopWizardDialog.on_typeEdit_textChanged">on_typeEdit_textChanged</a></td> |
103 <td>Private slot to check, if the typeEdit field is empty.</td> |
100 <td>Private slot to check, if the typeEdit field is empty.</td> |
104 </tr> |
101 </tr> |
105 </table> |
102 </table> |
|
103 |
106 <h3>Static Methods</h3> |
104 <h3>Static Methods</h3> |
107 |
105 <table> |
108 <table> |
106 <tr><td>None</td></tr> |
109 <tr><td>None</td></tr> |
107 </table> |
110 </table> |
108 |
111 |
109 |
112 <a NAME="DotDesktopWizardDialog.__init__" ID="DotDesktopWizardDialog.__init__"></a> |
110 <a NAME="DotDesktopWizardDialog.__init__" ID="DotDesktopWizardDialog.__init__"></a> |
113 <h4>DotDesktopWizardDialog (Constructor)</h4> |
111 <h4>DotDesktopWizardDialog (Constructor)</h4> |
114 <b>DotDesktopWizardDialog</b>(<i>parent=None</i>) |
112 <b>DotDesktopWizardDialog</b>(<i>parent=None</i>) |
115 |
|
116 <p> |
113 <p> |
117 Constructor |
114 Constructor |
118 </p> |
115 </p> |
|
116 |
119 <dl> |
117 <dl> |
120 |
118 |
121 <dt><i>parent</i> (QWidget)</dt> |
119 <dt><i>parent</i> (QWidget)</dt> |
122 <dd> |
120 <dd> |
123 reference to the parent widget |
121 reference to the parent widget |
124 </dd> |
122 </dd> |
125 </dl> |
123 </dl> |
126 <a NAME="DotDesktopWizardDialog.__checkOK" ID="DotDesktopWizardDialog.__checkOK"></a> |
124 <a NAME="DotDesktopWizardDialog.__checkOK" ID="DotDesktopWizardDialog.__checkOK"></a> |
127 <h4>DotDesktopWizardDialog.__checkOK</h4> |
125 <h4>DotDesktopWizardDialog.__checkOK</h4> |
128 <b>__checkOK</b>(<i></i>) |
126 <b>__checkOK</b>(<i></i>) |
129 |
|
130 <p> |
127 <p> |
131 Private slot to check, if the OK button should be enabled. |
128 Private slot to check, if the OK button should be enabled. |
132 </p> |
129 </p> |
|
130 |
133 <a NAME="DotDesktopWizardDialog.getCode" ID="DotDesktopWizardDialog.getCode"></a> |
131 <a NAME="DotDesktopWizardDialog.getCode" ID="DotDesktopWizardDialog.getCode"></a> |
134 <h4>DotDesktopWizardDialog.getCode</h4> |
132 <h4>DotDesktopWizardDialog.getCode</h4> |
135 <b>getCode</b>(<i></i>) |
133 <b>getCode</b>(<i></i>) |
136 |
|
137 <p> |
134 <p> |
138 Public method to get the source code. |
135 Public method to get the source code. |
139 </p> |
136 </p> |
|
137 |
140 <dl> |
138 <dl> |
141 <dt>Return:</dt> |
139 <dt>Return:</dt> |
142 <dd> |
140 <dd> |
143 generated code |
141 generated code |
144 </dd> |
142 </dd> |
150 </dd> |
148 </dd> |
151 </dl> |
149 </dl> |
152 <a NAME="DotDesktopWizardDialog.on_categoriesButton_clicked" ID="DotDesktopWizardDialog.on_categoriesButton_clicked"></a> |
150 <a NAME="DotDesktopWizardDialog.on_categoriesButton_clicked" ID="DotDesktopWizardDialog.on_categoriesButton_clicked"></a> |
153 <h4>DotDesktopWizardDialog.on_categoriesButton_clicked</h4> |
151 <h4>DotDesktopWizardDialog.on_categoriesButton_clicked</h4> |
154 <b>on_categoriesButton_clicked</b>(<i></i>) |
152 <b>on_categoriesButton_clicked</b>(<i></i>) |
155 |
|
156 <p> |
153 <p> |
157 Private slot to select the categories. |
154 Private slot to select the categories. |
158 </p> |
155 </p> |
|
156 |
159 <a NAME="DotDesktopWizardDialog.on_nameEdit_textChanged" ID="DotDesktopWizardDialog.on_nameEdit_textChanged"></a> |
157 <a NAME="DotDesktopWizardDialog.on_nameEdit_textChanged" ID="DotDesktopWizardDialog.on_nameEdit_textChanged"></a> |
160 <h4>DotDesktopWizardDialog.on_nameEdit_textChanged</h4> |
158 <h4>DotDesktopWizardDialog.on_nameEdit_textChanged</h4> |
161 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
159 <b>on_nameEdit_textChanged</b>(<i>txt</i>) |
162 |
|
163 <p> |
160 <p> |
164 Private slot to check, if the nameEdit field is empty. |
161 Private slot to check, if the nameEdit field is empty. |
165 </p> |
162 </p> |
|
163 |
166 <dl> |
164 <dl> |
167 |
165 |
168 <dt><i>txt</i> (str)</dt> |
166 <dt><i>txt</i> (str)</dt> |
169 <dd> |
167 <dd> |
170 text of the entry field |
168 text of the entry field |
171 </dd> |
169 </dd> |
172 </dl> |
170 </dl> |
173 <a NAME="DotDesktopWizardDialog.on_notShowButton_clicked" ID="DotDesktopWizardDialog.on_notShowButton_clicked"></a> |
171 <a NAME="DotDesktopWizardDialog.on_notShowButton_clicked" ID="DotDesktopWizardDialog.on_notShowButton_clicked"></a> |
174 <h4>DotDesktopWizardDialog.on_notShowButton_clicked</h4> |
172 <h4>DotDesktopWizardDialog.on_notShowButton_clicked</h4> |
175 <b>on_notShowButton_clicked</b>(<i></i>) |
173 <b>on_notShowButton_clicked</b>(<i></i>) |
176 |
|
177 <p> |
174 <p> |
178 Private slot to select the NotShowIn environments. |
175 Private slot to select the NotShowIn environments. |
179 </p> |
176 </p> |
|
177 |
180 <a NAME="DotDesktopWizardDialog.on_notShowEdit_textChanged" ID="DotDesktopWizardDialog.on_notShowEdit_textChanged"></a> |
178 <a NAME="DotDesktopWizardDialog.on_notShowEdit_textChanged" ID="DotDesktopWizardDialog.on_notShowEdit_textChanged"></a> |
181 <h4>DotDesktopWizardDialog.on_notShowEdit_textChanged</h4> |
179 <h4>DotDesktopWizardDialog.on_notShowEdit_textChanged</h4> |
182 <b>on_notShowEdit_textChanged</b>(<i>txt</i>) |
180 <b>on_notShowEdit_textChanged</b>(<i>txt</i>) |
183 |
|
184 <p> |
181 <p> |
185 Private slot to check the contents of the notShowEdit field. |
182 Private slot to check the contents of the notShowEdit field. |
186 </p> |
183 </p> |
|
184 |
187 <dl> |
185 <dl> |
188 |
186 |
189 <dt><i>txt</i> (str)</dt> |
187 <dt><i>txt</i> (str)</dt> |
190 <dd> |
188 <dd> |
191 text of the entry field |
189 text of the entry field |
192 </dd> |
190 </dd> |
193 </dl> |
191 </dl> |
194 <a NAME="DotDesktopWizardDialog.on_onlyShowButton_clicked" ID="DotDesktopWizardDialog.on_onlyShowButton_clicked"></a> |
192 <a NAME="DotDesktopWizardDialog.on_onlyShowButton_clicked" ID="DotDesktopWizardDialog.on_onlyShowButton_clicked"></a> |
195 <h4>DotDesktopWizardDialog.on_onlyShowButton_clicked</h4> |
193 <h4>DotDesktopWizardDialog.on_onlyShowButton_clicked</h4> |
196 <b>on_onlyShowButton_clicked</b>(<i></i>) |
194 <b>on_onlyShowButton_clicked</b>(<i></i>) |
197 |
|
198 <p> |
195 <p> |
199 Private slot to select the OnlyShowIn environments. |
196 Private slot to select the OnlyShowIn environments. |
200 </p> |
197 </p> |
|
198 |
201 <a NAME="DotDesktopWizardDialog.on_onlyShowEdit_textChanged" ID="DotDesktopWizardDialog.on_onlyShowEdit_textChanged"></a> |
199 <a NAME="DotDesktopWizardDialog.on_onlyShowEdit_textChanged" ID="DotDesktopWizardDialog.on_onlyShowEdit_textChanged"></a> |
202 <h4>DotDesktopWizardDialog.on_onlyShowEdit_textChanged</h4> |
200 <h4>DotDesktopWizardDialog.on_onlyShowEdit_textChanged</h4> |
203 <b>on_onlyShowEdit_textChanged</b>(<i>txt</i>) |
201 <b>on_onlyShowEdit_textChanged</b>(<i>txt</i>) |
204 |
|
205 <p> |
202 <p> |
206 Private slot to check the contents of the onlyShowEdit field. |
203 Private slot to check the contents of the onlyShowEdit field. |
207 </p> |
204 </p> |
|
205 |
208 <dl> |
206 <dl> |
209 |
207 |
210 <dt><i>txt</i> (str)</dt> |
208 <dt><i>txt</i> (str)</dt> |
211 <dd> |
209 <dd> |
212 text of the entry field |
210 text of the entry field |
213 </dd> |
211 </dd> |
214 </dl> |
212 </dl> |
215 <a NAME="DotDesktopWizardDialog.on_projectButton_clicked" ID="DotDesktopWizardDialog.on_projectButton_clicked"></a> |
213 <a NAME="DotDesktopWizardDialog.on_projectButton_clicked" ID="DotDesktopWizardDialog.on_projectButton_clicked"></a> |
216 <h4>DotDesktopWizardDialog.on_projectButton_clicked</h4> |
214 <h4>DotDesktopWizardDialog.on_projectButton_clicked</h4> |
217 <b>on_projectButton_clicked</b>(<i></i>) |
215 <b>on_projectButton_clicked</b>(<i></i>) |
218 |
|
219 <p> |
216 <p> |
220 Private slot to populate some fields with data retrieved from the |
217 Private slot to populate some fields with data retrieved from the |
221 current project. |
218 current project. |
222 </p> |
219 </p> |
|
220 |
223 <a NAME="DotDesktopWizardDialog.on_typeComboBox_currentIndexChanged" ID="DotDesktopWizardDialog.on_typeComboBox_currentIndexChanged"></a> |
221 <a NAME="DotDesktopWizardDialog.on_typeComboBox_currentIndexChanged" ID="DotDesktopWizardDialog.on_typeComboBox_currentIndexChanged"></a> |
224 <h4>DotDesktopWizardDialog.on_typeComboBox_currentIndexChanged</h4> |
222 <h4>DotDesktopWizardDialog.on_typeComboBox_currentIndexChanged</h4> |
225 <b>on_typeComboBox_currentIndexChanged</b>(<i>index</i>) |
223 <b>on_typeComboBox_currentIndexChanged</b>(<i>index</i>) |
226 |
|
227 <p> |
224 <p> |
228 Private slot to handle a change of the .desktop type. |
225 Private slot to handle a change of the .desktop type. |
229 </p> |
226 </p> |
|
227 |
230 <dl> |
228 <dl> |
231 |
229 |
232 <dt><i>index</i> (int)</dt> |
230 <dt><i>index</i> (int)</dt> |
233 <dd> |
231 <dd> |
234 index of the selected entry |
232 index of the selected entry |
235 </dd> |
233 </dd> |
236 </dl> |
234 </dl> |
237 <a NAME="DotDesktopWizardDialog.on_typeEdit_textChanged" ID="DotDesktopWizardDialog.on_typeEdit_textChanged"></a> |
235 <a NAME="DotDesktopWizardDialog.on_typeEdit_textChanged" ID="DotDesktopWizardDialog.on_typeEdit_textChanged"></a> |
238 <h4>DotDesktopWizardDialog.on_typeEdit_textChanged</h4> |
236 <h4>DotDesktopWizardDialog.on_typeEdit_textChanged</h4> |
239 <b>on_typeEdit_textChanged</b>(<i>txt</i>) |
237 <b>on_typeEdit_textChanged</b>(<i>txt</i>) |
240 |
|
241 <p> |
238 <p> |
242 Private slot to check, if the typeEdit field is empty. |
239 Private slot to check, if the typeEdit field is empty. |
243 </p> |
240 </p> |
|
241 |
244 <dl> |
242 <dl> |
245 |
243 |
246 <dt><i>txt</i> (str)</dt> |
244 <dt><i>txt</i> (str)</dt> |
247 <dd> |
245 <dd> |
248 text of the entry field |
246 text of the entry field |