944:1b59c4ba121e | 945:8cd4d08fa9f6 |
---|---|
76 <td>Method to set the class model.</td> | 76 <td>Method to set the class model.</td> |
77 </tr> | 77 </tr> |
78 </table> | 78 </table> |
79 <a NAME="ClassItem.__init__" ID="ClassItem.__init__"></a> | 79 <a NAME="ClassItem.__init__" ID="ClassItem.__init__"></a> |
80 <h4>ClassItem (Constructor)</h4> | 80 <h4>ClassItem (Constructor)</h4> |
81 <b>ClassItem</b>(<i>model = None, external = False, x = 0, y = 0, rounded = False, noAttrs = False, parent = None, scene = None</i>) | 81 <b>ClassItem</b>(<i>model=None, external=False, x=0, y=0, rounded=False, noAttrs=False, parent=None, scene=None</i>) |
82 <p> | 82 <p> |
83 Constructor | 83 Constructor |
84 </p><dl> | 84 </p><dl> |
85 <dt><i>model</i></dt> | 85 <dt><i>model</i></dt> |
86 <dd> | 86 <dd> |
127 <dd> | 127 <dd> |
128 external state (boolean) | 128 external state (boolean) |
129 </dd> | 129 </dd> |
130 </dl><a NAME="ClassItem.paint" ID="ClassItem.paint"></a> | 130 </dl><a NAME="ClassItem.paint" ID="ClassItem.paint"></a> |
131 <h4>ClassItem.paint</h4> | 131 <h4>ClassItem.paint</h4> |
132 <b>paint</b>(<i>painter, option, widget = None</i>) | 132 <b>paint</b>(<i>painter, option, widget=None</i>) |
133 <p> | 133 <p> |
134 Public method to paint the item in local coordinates. | 134 Public method to paint the item in local coordinates. |
135 </p><dl> | 135 </p><dl> |
136 <dt><i>painter</i></dt> | 136 <dt><i>painter</i></dt> |
137 <dd> | 137 <dd> |
189 <td>Method to retrieve the class name.</td> | 189 <td>Method to retrieve the class name.</td> |
190 </tr> | 190 </tr> |
191 </table> | 191 </table> |
192 <a NAME="ClassModel.__init__" ID="ClassModel.__init__"></a> | 192 <a NAME="ClassModel.__init__" ID="ClassModel.__init__"></a> |
193 <h4>ClassModel (Constructor)</h4> | 193 <h4>ClassModel (Constructor)</h4> |
194 <b>ClassModel</b>(<i>name, methods = [], attributes = []</i>) | 194 <b>ClassModel</b>(<i>name, methods=[], attributes=[]</i>) |
195 <p> | 195 <p> |
196 Constructor | 196 Constructor |
197 </p><dl> | 197 </p><dl> |
198 <dt><i>name</i></dt> | 198 <dt><i>name</i></dt> |
199 <dd> | 199 <dd> |