eric7/Documentation/Source/eric7.Plugins.WizardPlugins.DotDesktopWizard.DotDesktopWizardDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.WizardPlugins.DotDesktopWizard.DotDesktopWizardDialog</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>
22 <a NAME="top" ID="top"></a>
23 <h1>eric7.Plugins.WizardPlugins.DotDesktopWizard.DotDesktopWizardDialog</h1>
24
25 <p>
26 Module implementing the .desktop wizard dialog.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#DotDesktopWizardDialog">DotDesktopWizardDialog</a></td>
39 <td>Class implementing the .desktop wizard dialog.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="DotDesktopWizardDialog" ID="DotDesktopWizardDialog"></a>
50 <h2>DotDesktopWizardDialog</h2>
51
52 <p>
53 Class implementing the .desktop wizard dialog.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_DotDesktopWizardDialog
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#DotDesktopWizardDialog.__init__">DotDesktopWizardDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#DotDesktopWizardDialog.__checkOK">__checkOK</a></td>
77 <td>Private slot to check, if the OK button should be enabled.</td>
78 </tr>
79 <tr>
80 <td><a href="#DotDesktopWizardDialog.getCode">getCode</a></td>
81 <td>Public method to get the source code.</td>
82 </tr>
83 <tr>
84 <td><a href="#DotDesktopWizardDialog.on_categoriesButton_clicked">on_categoriesButton_clicked</a></td>
85 <td>Private slot to select the categories.</td>
86 </tr>
87 <tr>
88 <td><a href="#DotDesktopWizardDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
89 <td>Private slot to check, if the nameEdit field is empty.</td>
90 </tr>
91 <tr>
92 <td><a href="#DotDesktopWizardDialog.on_notShowButton_clicked">on_notShowButton_clicked</a></td>
93 <td>Private slot to select the NotShowIn environments.</td>
94 </tr>
95 <tr>
96 <td><a href="#DotDesktopWizardDialog.on_notShowEdit_textChanged">on_notShowEdit_textChanged</a></td>
97 <td>Private slot to check the contents of the notShowEdit field.</td>
98 </tr>
99 <tr>
100 <td><a href="#DotDesktopWizardDialog.on_onlyShowButton_clicked">on_onlyShowButton_clicked</a></td>
101 <td>Private slot to select the OnlyShowIn environments.</td>
102 </tr>
103 <tr>
104 <td><a href="#DotDesktopWizardDialog.on_onlyShowEdit_textChanged">on_onlyShowEdit_textChanged</a></td>
105 <td>Private slot to check the contents of the onlyShowEdit field.</td>
106 </tr>
107 <tr>
108 <td><a href="#DotDesktopWizardDialog.on_projectButton_clicked">on_projectButton_clicked</a></td>
109 <td>Private slot to populate some fields with data retrieved from the current project.</td>
110 </tr>
111 <tr>
112 <td><a href="#DotDesktopWizardDialog.on_typeComboBox_currentIndexChanged">on_typeComboBox_currentIndexChanged</a></td>
113 <td>Private slot to handle a change of the .desktop type.</td>
114 </tr>
115 <tr>
116 <td><a href="#DotDesktopWizardDialog.on_typeEdit_textChanged">on_typeEdit_textChanged</a></td>
117 <td>Private slot to check, if the typeEdit field is empty.</td>
118 </tr>
119 </table>
120 <h3>Static Methods</h3>
121
122 <table>
123 <tr><td>None</td></tr>
124 </table>
125
126 <a NAME="DotDesktopWizardDialog.__init__" ID="DotDesktopWizardDialog.__init__"></a>
127 <h4>DotDesktopWizardDialog (Constructor)</h4>
128 <b>DotDesktopWizardDialog</b>(<i>parent=None</i>)
129
130 <p>
131 Constructor
132 </p>
133 <dl>
134
135 <dt><i>parent</i></dt>
136 <dd>
137 reference to the parent widget (QWidget)
138 </dd>
139 </dl>
140 <a NAME="DotDesktopWizardDialog.__checkOK" ID="DotDesktopWizardDialog.__checkOK"></a>
141 <h4>DotDesktopWizardDialog.__checkOK</h4>
142 <b>__checkOK</b>(<i></i>)
143
144 <p>
145 Private slot to check, if the OK button should be enabled.
146 </p>
147 <a NAME="DotDesktopWizardDialog.getCode" ID="DotDesktopWizardDialog.getCode"></a>
148 <h4>DotDesktopWizardDialog.getCode</h4>
149 <b>getCode</b>(<i></i>)
150
151 <p>
152 Public method to get the source code.
153 </p>
154 <dl>
155 <dt>Return:</dt>
156 <dd>
157 generated code (string)
158 </dd>
159 </dl>
160 <a NAME="DotDesktopWizardDialog.on_categoriesButton_clicked" ID="DotDesktopWizardDialog.on_categoriesButton_clicked"></a>
161 <h4>DotDesktopWizardDialog.on_categoriesButton_clicked</h4>
162 <b>on_categoriesButton_clicked</b>(<i></i>)
163
164 <p>
165 Private slot to select the categories.
166 </p>
167 <a NAME="DotDesktopWizardDialog.on_nameEdit_textChanged" ID="DotDesktopWizardDialog.on_nameEdit_textChanged"></a>
168 <h4>DotDesktopWizardDialog.on_nameEdit_textChanged</h4>
169 <b>on_nameEdit_textChanged</b>(<i>txt</i>)
170
171 <p>
172 Private slot to check, if the nameEdit field is empty.
173 </p>
174 <dl>
175
176 <dt><i>txt</i></dt>
177 <dd>
178 text of the entry field (string)
179 </dd>
180 </dl>
181 <a NAME="DotDesktopWizardDialog.on_notShowButton_clicked" ID="DotDesktopWizardDialog.on_notShowButton_clicked"></a>
182 <h4>DotDesktopWizardDialog.on_notShowButton_clicked</h4>
183 <b>on_notShowButton_clicked</b>(<i></i>)
184
185 <p>
186 Private slot to select the NotShowIn environments.
187 </p>
188 <a NAME="DotDesktopWizardDialog.on_notShowEdit_textChanged" ID="DotDesktopWizardDialog.on_notShowEdit_textChanged"></a>
189 <h4>DotDesktopWizardDialog.on_notShowEdit_textChanged</h4>
190 <b>on_notShowEdit_textChanged</b>(<i>txt</i>)
191
192 <p>
193 Private slot to check the contents of the notShowEdit field.
194 </p>
195 <dl>
196
197 <dt><i>txt</i></dt>
198 <dd>
199 text of the entry field (string)
200 </dd>
201 </dl>
202 <a NAME="DotDesktopWizardDialog.on_onlyShowButton_clicked" ID="DotDesktopWizardDialog.on_onlyShowButton_clicked"></a>
203 <h4>DotDesktopWizardDialog.on_onlyShowButton_clicked</h4>
204 <b>on_onlyShowButton_clicked</b>(<i></i>)
205
206 <p>
207 Private slot to select the OnlyShowIn environments.
208 </p>
209 <a NAME="DotDesktopWizardDialog.on_onlyShowEdit_textChanged" ID="DotDesktopWizardDialog.on_onlyShowEdit_textChanged"></a>
210 <h4>DotDesktopWizardDialog.on_onlyShowEdit_textChanged</h4>
211 <b>on_onlyShowEdit_textChanged</b>(<i>txt</i>)
212
213 <p>
214 Private slot to check the contents of the onlyShowEdit field.
215 </p>
216 <dl>
217
218 <dt><i>txt</i></dt>
219 <dd>
220 text of the entry field (string)
221 </dd>
222 </dl>
223 <a NAME="DotDesktopWizardDialog.on_projectButton_clicked" ID="DotDesktopWizardDialog.on_projectButton_clicked"></a>
224 <h4>DotDesktopWizardDialog.on_projectButton_clicked</h4>
225 <b>on_projectButton_clicked</b>(<i></i>)
226
227 <p>
228 Private slot to populate some fields with data retrieved from the
229 current project.
230 </p>
231 <a NAME="DotDesktopWizardDialog.on_typeComboBox_currentIndexChanged" ID="DotDesktopWizardDialog.on_typeComboBox_currentIndexChanged"></a>
232 <h4>DotDesktopWizardDialog.on_typeComboBox_currentIndexChanged</h4>
233 <b>on_typeComboBox_currentIndexChanged</b>(<i>index</i>)
234
235 <p>
236 Private slot to handle a change of the .desktop type.
237 </p>
238 <dl>
239
240 <dt><i>index</i></dt>
241 <dd>
242 index of the selected entry (integer)
243 </dd>
244 </dl>
245 <a NAME="DotDesktopWizardDialog.on_typeEdit_textChanged" ID="DotDesktopWizardDialog.on_typeEdit_textChanged"></a>
246 <h4>DotDesktopWizardDialog.on_typeEdit_textChanged</h4>
247 <b>on_typeEdit_textChanged</b>(<i>txt</i>)
248
249 <p>
250 Private slot to check, if the typeEdit field is empty.
251 </p>
252 <dl>
253
254 <dt><i>txt</i></dt>
255 <dd>
256 text of the entry field (string)
257 </dd>
258 </dl>
259 <div align="right"><a href="#top">Up</a></div>
260 <hr />
261 </body></html>

eric ide

mercurial