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

changeset 6017
dab01678626d
equal deleted inserted replaced
6016:3d594f66a7f7 6017:dab01678626d
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.WizardPlugins.DotDesktopWizard.DotDesktopWizardDialog</h1>
23 <p>
24 Module implementing the .desktop wizard dialog.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#DotDesktopWizardDialog">DotDesktopWizardDialog</a></td>
34 <td>Class implementing the .desktop wizard dialog.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="DotDesktopWizardDialog" ID="DotDesktopWizardDialog"></a>
43 <h2>DotDesktopWizardDialog</h2>
44 <p>
45 Class implementing the .desktop wizard dialog.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_DotDesktopWizardDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#DotDesktopWizardDialog.__init__">DotDesktopWizardDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#DotDesktopWizardDialog.__checkOK">__checkOK</a></td>
64 <td>Private slot to check, if the OK button should be enabled.</td>
65 </tr><tr>
66 <td><a href="#DotDesktopWizardDialog.getCode">getCode</a></td>
67 <td>Public method to get the source code.</td>
68 </tr><tr>
69 <td><a href="#DotDesktopWizardDialog.on_categoriesButton_clicked">on_categoriesButton_clicked</a></td>
70 <td>Private slot to select the categories.</td>
71 </tr><tr>
72 <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>
74 </tr><tr>
75 <td><a href="#DotDesktopWizardDialog.on_notShowButton_clicked">on_notShowButton_clicked</a></td>
76 <td>Private slot to select the NotShowIn environments.</td>
77 </tr><tr>
78 <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>
80 </tr><tr>
81 <td><a href="#DotDesktopWizardDialog.on_onlyShowButton_clicked">on_onlyShowButton_clicked</a></td>
82 <td>Private slot to select the OnlyShowIn environments.</td>
83 </tr><tr>
84 <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>
86 </tr><tr>
87 <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>
89 </tr><tr>
90 <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>
92 </tr><tr>
93 <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>
95 </tr>
96 </table>
97 <h3>Static Methods</h3>
98 <table>
99 <tr><td>None</td></tr>
100 </table>
101 <a NAME="DotDesktopWizardDialog.__init__" ID="DotDesktopWizardDialog.__init__"></a>
102 <h4>DotDesktopWizardDialog (Constructor)</h4>
103 <b>DotDesktopWizardDialog</b>(<i>parent=None</i>)
104 <p>
105 Constructor
106 </p><dl>
107 <dt><i>parent</i></dt>
108 <dd>
109 reference to the parent widget (QWidget)
110 </dd>
111 </dl><a NAME="DotDesktopWizardDialog.__checkOK" ID="DotDesktopWizardDialog.__checkOK"></a>
112 <h4>DotDesktopWizardDialog.__checkOK</h4>
113 <b>__checkOK</b>(<i></i>)
114 <p>
115 Private slot to check, if the OK button should be enabled.
116 </p><a NAME="DotDesktopWizardDialog.getCode" ID="DotDesktopWizardDialog.getCode"></a>
117 <h4>DotDesktopWizardDialog.getCode</h4>
118 <b>getCode</b>(<i></i>)
119 <p>
120 Public method to get the source code.
121 </p><dl>
122 <dt>Returns:</dt>
123 <dd>
124 generated code (string)
125 </dd>
126 </dl><a NAME="DotDesktopWizardDialog.on_categoriesButton_clicked" ID="DotDesktopWizardDialog.on_categoriesButton_clicked"></a>
127 <h4>DotDesktopWizardDialog.on_categoriesButton_clicked</h4>
128 <b>on_categoriesButton_clicked</b>(<i></i>)
129 <p>
130 Private slot to select the categories.
131 </p><a NAME="DotDesktopWizardDialog.on_nameEdit_textChanged" ID="DotDesktopWizardDialog.on_nameEdit_textChanged"></a>
132 <h4>DotDesktopWizardDialog.on_nameEdit_textChanged</h4>
133 <b>on_nameEdit_textChanged</b>(<i>txt</i>)
134 <p>
135 Private slot to check, if the nameEdit field is empty.
136 </p><dl>
137 <dt><i>txt</i></dt>
138 <dd>
139 text of the entry field (string)
140 </dd>
141 </dl><a NAME="DotDesktopWizardDialog.on_notShowButton_clicked" ID="DotDesktopWizardDialog.on_notShowButton_clicked"></a>
142 <h4>DotDesktopWizardDialog.on_notShowButton_clicked</h4>
143 <b>on_notShowButton_clicked</b>(<i></i>)
144 <p>
145 Private slot to select the NotShowIn environments.
146 </p><a NAME="DotDesktopWizardDialog.on_notShowEdit_textChanged" ID="DotDesktopWizardDialog.on_notShowEdit_textChanged"></a>
147 <h4>DotDesktopWizardDialog.on_notShowEdit_textChanged</h4>
148 <b>on_notShowEdit_textChanged</b>(<i>txt</i>)
149 <p>
150 Private slot to check the contents of the notShowEdit field.
151 </p><dl>
152 <dt><i>txt</i></dt>
153 <dd>
154 text of the entry field (string)
155 </dd>
156 </dl><a NAME="DotDesktopWizardDialog.on_onlyShowButton_clicked" ID="DotDesktopWizardDialog.on_onlyShowButton_clicked"></a>
157 <h4>DotDesktopWizardDialog.on_onlyShowButton_clicked</h4>
158 <b>on_onlyShowButton_clicked</b>(<i></i>)
159 <p>
160 Private slot to select the OnlyShowIn environments.
161 </p><a NAME="DotDesktopWizardDialog.on_onlyShowEdit_textChanged" ID="DotDesktopWizardDialog.on_onlyShowEdit_textChanged"></a>
162 <h4>DotDesktopWizardDialog.on_onlyShowEdit_textChanged</h4>
163 <b>on_onlyShowEdit_textChanged</b>(<i>txt</i>)
164 <p>
165 Private slot to check the contents of the onlyShowEdit field.
166 </p><dl>
167 <dt><i>txt</i></dt>
168 <dd>
169 text of the entry field (string)
170 </dd>
171 </dl><a NAME="DotDesktopWizardDialog.on_projectButton_clicked" ID="DotDesktopWizardDialog.on_projectButton_clicked"></a>
172 <h4>DotDesktopWizardDialog.on_projectButton_clicked</h4>
173 <b>on_projectButton_clicked</b>(<i></i>)
174 <p>
175 Private slot to populate some fields with data retrieved from the
176 current project.
177 </p><a NAME="DotDesktopWizardDialog.on_typeComboBox_currentIndexChanged" ID="DotDesktopWizardDialog.on_typeComboBox_currentIndexChanged"></a>
178 <h4>DotDesktopWizardDialog.on_typeComboBox_currentIndexChanged</h4>
179 <b>on_typeComboBox_currentIndexChanged</b>(<i>index</i>)
180 <p>
181 Private slot to handle a change of the .desktop type.
182 </p><dl>
183 <dt><i>index</i></dt>
184 <dd>
185 index of the selected entry (integer)
186 </dd>
187 </dl><a NAME="DotDesktopWizardDialog.on_typeEdit_textChanged" ID="DotDesktopWizardDialog.on_typeEdit_textChanged"></a>
188 <h4>DotDesktopWizardDialog.on_typeEdit_textChanged</h4>
189 <b>on_typeEdit_textChanged</b>(<i>txt</i>)
190 <p>
191 Private slot to check, if the typeEdit field is empty.
192 </p><dl>
193 <dt><i>txt</i></dt>
194 <dd>
195 text of the entry field (string)
196 </dd>
197 </dl>
198 <div align="right"><a href="#top">Up</a></div>
199 <hr />
200 </body></html>

eric ide

mercurial