Documentation/Source/eric4.Project.CreateDialogCodeDialog.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric4.Project.CreateDialogCodeDialog</title>
6 <style>
7 body {
8 background:white;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #4FA4FF; }
14 h2 { color: white; background: #4FA4FF; }
15 h3 { color: white; background: #00557F; }
16 h4 { color: white; background: #00557F; }
17
18 a { color: #AA5500; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric4.Project.CreateDialogCodeDialog</h1>
24 <p>
25 Module implementing a dialog to generate code for a Qt4 dialog.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>pyqtSignatureRole</td></tr><tr><td>pythonSignatureRole</td></tr><tr><td>rubySignatureRole</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#CreateDialogCodeDialog">CreateDialogCodeDialog</a></td>
35 <td>Class implementing a dialog to generate code for a Qt4 dialog.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="CreateDialogCodeDialog" ID="CreateDialogCodeDialog"></a>
44 <h2>CreateDialogCodeDialog</h2>
45 <p>
46 Class implementing a dialog to generate code for a Qt4 dialog.
47 </p>
48 <h3>Derived from</h3>
49 QDialog, Ui_CreateDialogCodeDialog
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Methods</h3>
55 <table>
56 <tr>
57 <td><a href="#CreateDialogCodeDialog.__init__">CreateDialogCodeDialog</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#CreateDialogCodeDialog.__className">__className</a></td>
61 <td>Private method to get the class name of the dialog.</td>
62 </tr><tr>
63 <td><a href="#CreateDialogCodeDialog.__generateCode">__generateCode</a></td>
64 <td>Private slot to generate the code as requested by the user.</td>
65 </tr><tr>
66 <td><a href="#CreateDialogCodeDialog.__generatePythonCode">__generatePythonCode</a></td>
67 <td>Private slot to generate Python code as requested by the user.</td>
68 </tr><tr>
69 <td><a href="#CreateDialogCodeDialog.__objectName">__objectName</a></td>
70 <td>Private method to get the object name of the dialog.</td>
71 </tr><tr>
72 <td><a href="#CreateDialogCodeDialog.__signatures">__signatures</a></td>
73 <td>Private slot to get the signatures.</td>
74 </tr><tr>
75 <td><a href="#CreateDialogCodeDialog.__updateSlotsModel">__updateSlotsModel</a></td>
76 <td>Private slot to update the slots tree display.</td>
77 </tr><tr>
78 <td><a href="#CreateDialogCodeDialog.initError">initError</a></td>
79 <td>Public method to determine, if there was an initialzation error.</td>
80 </tr><tr>
81 <td><a href="#CreateDialogCodeDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
82 <td>Private slot to handle the buttonBox clicked signal.</td>
83 </tr><tr>
84 <td><a href="#CreateDialogCodeDialog.on_classNameCombo_activated">on_classNameCombo_activated</a></td>
85 <td>Private slot to handle the activated signal of the classname combo.</td>
86 </tr><tr>
87 <td><a href="#CreateDialogCodeDialog.on_clearFilterButton_clicked">on_clearFilterButton_clicked</a></td>
88 <td>Private slot called by a click of the clear filter button.</td>
89 </tr><tr>
90 <td><a href="#CreateDialogCodeDialog.on_filterEdit_textChanged">on_filterEdit_textChanged</a></td>
91 <td>Private slot called, when thext of the filter edit has changed.</td>
92 </tr><tr>
93 <td><a href="#CreateDialogCodeDialog.on_newButton_clicked">on_newButton_clicked</a></td>
94 <td>Private slot called to enter the data for a new dialog class.</td>
95 </tr>
96 </table>
97 <a NAME="CreateDialogCodeDialog.__init__" ID="CreateDialogCodeDialog.__init__"></a>
98 <h4>CreateDialogCodeDialog (Constructor)</h4>
99 <b>CreateDialogCodeDialog</b>(<i>formName, project, parent = None</i>)
100 <p>
101 Constructor
102 </p><dl>
103 <dt><i>formName</i></dt>
104 <dd>
105 name of the file containing the form (string)
106 </dd><dt><i>project</i></dt>
107 <dd>
108 reference to the project object
109 </dd><dt><i>parent</i></dt>
110 <dd>
111 parent widget if the dialog (QWidget)
112 </dd>
113 </dl><a NAME="CreateDialogCodeDialog.__className" ID="CreateDialogCodeDialog.__className"></a>
114 <h4>CreateDialogCodeDialog.__className</h4>
115 <b>__className</b>(<i></i>)
116 <p>
117 Private method to get the class name of the dialog.
118 </p><dl>
119 <dt>Returns:</dt>
120 <dd>
121 class name (sting)
122 </dd>
123 </dl><a NAME="CreateDialogCodeDialog.__generateCode" ID="CreateDialogCodeDialog.__generateCode"></a>
124 <h4>CreateDialogCodeDialog.__generateCode</h4>
125 <b>__generateCode</b>(<i></i>)
126 <p>
127 Private slot to generate the code as requested by the user.
128 </p><a NAME="CreateDialogCodeDialog.__generatePythonCode" ID="CreateDialogCodeDialog.__generatePythonCode"></a>
129 <h4>CreateDialogCodeDialog.__generatePythonCode</h4>
130 <b>__generatePythonCode</b>(<i></i>)
131 <p>
132 Private slot to generate Python code as requested by the user.
133 </p><a NAME="CreateDialogCodeDialog.__objectName" ID="CreateDialogCodeDialog.__objectName"></a>
134 <h4>CreateDialogCodeDialog.__objectName</h4>
135 <b>__objectName</b>(<i></i>)
136 <p>
137 Private method to get the object name of the dialog.
138 </p><dl>
139 <dt>Returns:</dt>
140 <dd>
141 object name (string)
142 </dd>
143 </dl><a NAME="CreateDialogCodeDialog.__signatures" ID="CreateDialogCodeDialog.__signatures"></a>
144 <h4>CreateDialogCodeDialog.__signatures</h4>
145 <b>__signatures</b>(<i></i>)
146 <p>
147 Private slot to get the signatures.
148 </p><dl>
149 <dt>Returns:</dt>
150 <dd>
151 list of signatures (list of strings)
152 </dd>
153 </dl><a NAME="CreateDialogCodeDialog.__updateSlotsModel" ID="CreateDialogCodeDialog.__updateSlotsModel"></a>
154 <h4>CreateDialogCodeDialog.__updateSlotsModel</h4>
155 <b>__updateSlotsModel</b>(<i></i>)
156 <p>
157 Private slot to update the slots tree display.
158 </p><a NAME="CreateDialogCodeDialog.initError" ID="CreateDialogCodeDialog.initError"></a>
159 <h4>CreateDialogCodeDialog.initError</h4>
160 <b>initError</b>(<i></i>)
161 <p>
162 Public method to determine, if there was an initialzation error.
163 </p><dl>
164 <dt>Returns:</dt>
165 <dd>
166 flag indicating an initialzation error (boolean)
167 </dd>
168 </dl><a NAME="CreateDialogCodeDialog.on_buttonBox_clicked" ID="CreateDialogCodeDialog.on_buttonBox_clicked"></a>
169 <h4>CreateDialogCodeDialog.on_buttonBox_clicked</h4>
170 <b>on_buttonBox_clicked</b>(<i>button</i>)
171 <p>
172 Private slot to handle the buttonBox clicked signal.
173 </p><dl>
174 <dt><i>button</i></dt>
175 <dd>
176 reference to the button that was clicked (QAbstractButton)
177 </dd>
178 </dl><a NAME="CreateDialogCodeDialog.on_classNameCombo_activated" ID="CreateDialogCodeDialog.on_classNameCombo_activated"></a>
179 <h4>CreateDialogCodeDialog.on_classNameCombo_activated</h4>
180 <b>on_classNameCombo_activated</b>(<i>index</i>)
181 <p>
182 Private slot to handle the activated signal of the classname combo.
183 </p><dl>
184 <dt><i>index</i></dt>
185 <dd>
186 index of the activated item (integer)
187 </dd>
188 </dl><a NAME="CreateDialogCodeDialog.on_clearFilterButton_clicked" ID="CreateDialogCodeDialog.on_clearFilterButton_clicked"></a>
189 <h4>CreateDialogCodeDialog.on_clearFilterButton_clicked</h4>
190 <b>on_clearFilterButton_clicked</b>(<i></i>)
191 <p>
192 Private slot called by a click of the clear filter button.
193 </p><a NAME="CreateDialogCodeDialog.on_filterEdit_textChanged" ID="CreateDialogCodeDialog.on_filterEdit_textChanged"></a>
194 <h4>CreateDialogCodeDialog.on_filterEdit_textChanged</h4>
195 <b>on_filterEdit_textChanged</b>(<i>text</i>)
196 <p>
197 Private slot called, when thext of the filter edit has changed.
198 </p><dl>
199 <dt><i>text</i></dt>
200 <dd>
201 changed text (string)
202 </dd>
203 </dl><a NAME="CreateDialogCodeDialog.on_newButton_clicked" ID="CreateDialogCodeDialog.on_newButton_clicked"></a>
204 <h4>CreateDialogCodeDialog.on_newButton_clicked</h4>
205 <b>on_newButton_clicked</b>(<i></i>)
206 <p>
207 Private slot called to enter the data for a new dialog class.
208 </p>
209 <div align="right"><a href="#top">Up</a></div>
210 <hr />
211 </body></html>

eric ide

mercurial