208 bool |
208 bool |
209 </dd> |
209 </dd> |
210 </dl> |
210 </dl> |
211 <a NAME="ClassItem.paint" ID="ClassItem.paint"></a> |
211 <a NAME="ClassItem.paint" ID="ClassItem.paint"></a> |
212 <h4>ClassItem.paint</h4> |
212 <h4>ClassItem.paint</h4> |
213 <b>paint</b>(<i>painter, option, widget=None</i>) |
213 <b>paint</b>(<i>painter, option, _widget=None</i>) |
214 <p> |
214 <p> |
215 Public method to paint the item in local coordinates. |
215 Public method to paint the item in local coordinates. |
216 </p> |
216 </p> |
217 |
217 |
218 <dl> |
218 <dl> |
223 </dd> |
223 </dd> |
224 <dt><i>option</i> (QStyleOptionGraphicsItem)</dt> |
224 <dt><i>option</i> (QStyleOptionGraphicsItem)</dt> |
225 <dd> |
225 <dd> |
226 style options |
226 style options |
227 </dd> |
227 </dd> |
228 <dt><i>widget</i> (QWidget)</dt> |
228 <dt><i>_widget</i> (QWidget)</dt> |
229 <dd> |
229 <dd> |
230 optional reference to the widget painted on |
230 optional reference to the widget painted on (unused) |
231 </dd> |
231 </dd> |
232 </dl> |
232 </dl> |
233 <a NAME="ClassItem.parseItemDataString" ID="ClassItem.parseItemDataString"></a> |
233 <a NAME="ClassItem.parseItemDataString" ID="ClassItem.parseItemDataString"></a> |
234 <h4>ClassItem.parseItemDataString</h4> |
234 <h4>ClassItem.parseItemDataString</h4> |
235 <b>parseItemDataString</b>(<i>version, data</i>) |
235 <b>parseItemDataString</b>(<i>_version, data</i>) |
236 <p> |
236 <p> |
237 Public method to parse the given persistence data. |
237 Public method to parse the given persistence data. |
238 </p> |
238 </p> |
239 |
239 |
240 <dl> |
240 <dl> |
241 |
241 |
242 <dt><i>version</i> (str)</dt> |
242 <dt><i>_version</i> (str)</dt> |
243 <dd> |
243 <dd> |
244 version of the data |
244 version of the data (unused) |
245 </dd> |
245 </dd> |
246 <dt><i>data</i> (str)</dt> |
246 <dt><i>data</i> (str)</dt> |
247 <dd> |
247 <dd> |
248 persisted data to be parsed |
248 persisted data to be parsed |
249 </dd> |
249 </dd> |