177 Private method to create the text items of the module item. |
177 Private method to create the text items of the module item. |
178 </p> |
178 </p> |
179 |
179 |
180 <a NAME="ModuleItem.paint" ID="ModuleItem.paint"></a> |
180 <a NAME="ModuleItem.paint" ID="ModuleItem.paint"></a> |
181 <h4>ModuleItem.paint</h4> |
181 <h4>ModuleItem.paint</h4> |
182 <b>paint</b>(<i>painter, option, widget=None</i>) |
182 <b>paint</b>(<i>painter, option, _widget=None</i>) |
183 <p> |
183 <p> |
184 Public method to paint the item in local coordinates. |
184 Public method to paint the item in local coordinates. |
185 </p> |
185 </p> |
186 |
186 |
187 <dl> |
187 <dl> |
192 </dd> |
192 </dd> |
193 <dt><i>option</i> (QStyleOptionGraphicsItem)</dt> |
193 <dt><i>option</i> (QStyleOptionGraphicsItem)</dt> |
194 <dd> |
194 <dd> |
195 style options |
195 style options |
196 </dd> |
196 </dd> |
197 <dt><i>widget</i> (QWidget)</dt> |
197 <dt><i>_widget</i> (QWidget)</dt> |
198 <dd> |
198 <dd> |
199 optional reference to the widget painted on |
199 optional reference to the widget painted on (unused) |
200 </dd> |
200 </dd> |
201 </dl> |
201 </dl> |
202 <a NAME="ModuleItem.parseItemDataString" ID="ModuleItem.parseItemDataString"></a> |
202 <a NAME="ModuleItem.parseItemDataString" ID="ModuleItem.parseItemDataString"></a> |
203 <h4>ModuleItem.parseItemDataString</h4> |
203 <h4>ModuleItem.parseItemDataString</h4> |
204 <b>parseItemDataString</b>(<i>version, data</i>) |
204 <b>parseItemDataString</b>(<i>_version, data</i>) |
205 <p> |
205 <p> |
206 Public method to parse the given persistence data. |
206 Public method to parse the given persistence data. |
207 </p> |
207 </p> |
208 |
208 |
209 <dl> |
209 <dl> |
210 |
210 |
211 <dt><i>version</i> (str)</dt> |
211 <dt><i>_version</i> (str)</dt> |
212 <dd> |
212 <dd> |
213 version of the data |
213 version of the data (unused) |
214 </dd> |
214 </dd> |
215 <dt><i>data</i> (str)</dt> |
215 <dt><i>data</i> (str)</dt> |
216 <dd> |
216 <dd> |
217 persisted data to be parsed |
217 persisted data to be parsed |
218 </dd> |
218 </dd> |