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

eric ide

mercurial