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

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

eric ide

mercurial