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