68 <td>Private method to calculate the size of the class item.</td> |
68 <td>Private method to calculate the size of the class item.</td> |
69 </tr><tr> |
69 </tr><tr> |
70 <td><a href="#ClassItem.__createTexts">__createTexts</a></td> |
70 <td><a href="#ClassItem.__createTexts">__createTexts</a></td> |
71 <td>Private method to create the text items of the class item.</td> |
71 <td>Private method to create the text items of the class item.</td> |
72 </tr><tr> |
72 </tr><tr> |
|
73 <td><a href="#ClassItem.buildItemDataString">buildItemDataString</a></td> |
|
74 <td>Public method to build a string to persist the specific item data.</td> |
|
75 </tr><tr> |
73 <td><a href="#ClassItem.isExternal">isExternal</a></td> |
76 <td><a href="#ClassItem.isExternal">isExternal</a></td> |
74 <td>Method returning the external state.</td> |
77 <td>Method returning the external state.</td> |
75 </tr><tr> |
78 </tr><tr> |
76 <td><a href="#ClassItem.paint">paint</a></td> |
79 <td><a href="#ClassItem.paint">paint</a></td> |
77 <td>Public method to paint the item in local coordinates.</td> |
80 <td>Public method to paint the item in local coordinates.</td> |
|
81 </tr><tr> |
|
82 <td><a href="#ClassItem.parseItemDataString">parseItemDataString</a></td> |
|
83 <td>Public method to parse the given persistence data.</td> |
78 </tr><tr> |
84 </tr><tr> |
79 <td><a href="#ClassItem.setModel">setModel</a></td> |
85 <td><a href="#ClassItem.setModel">setModel</a></td> |
80 <td>Method to set the class model.</td> |
86 <td>Method to set the class model.</td> |
81 </tr> |
87 </tr> |
82 </table> |
88 </table> |
123 </p><a NAME="ClassItem.__createTexts" ID="ClassItem.__createTexts"></a> |
129 </p><a NAME="ClassItem.__createTexts" ID="ClassItem.__createTexts"></a> |
124 <h4>ClassItem.__createTexts</h4> |
130 <h4>ClassItem.__createTexts</h4> |
125 <b>__createTexts</b>(<i></i>) |
131 <b>__createTexts</b>(<i></i>) |
126 <p> |
132 <p> |
127 Private method to create the text items of the class item. |
133 Private method to create the text items of the class item. |
128 </p><a NAME="ClassItem.isExternal" ID="ClassItem.isExternal"></a> |
134 </p><a NAME="ClassItem.buildItemDataString" ID="ClassItem.buildItemDataString"></a> |
|
135 <h4>ClassItem.buildItemDataString</h4> |
|
136 <b>buildItemDataString</b>(<i></i>) |
|
137 <p> |
|
138 Public method to build a string to persist the specific item data. |
|
139 </p><p> |
|
140 This string must start with ", " and should be built like |
|
141 "attribute=value" with pairs separated by ", ". value must not contain ", " |
|
142 or newlines. |
|
143 </p><dl> |
|
144 <dt>Returns:</dt> |
|
145 <dd> |
|
146 persistence data (string) |
|
147 </dd> |
|
148 </dl><a NAME="ClassItem.isExternal" ID="ClassItem.isExternal"></a> |
129 <h4>ClassItem.isExternal</h4> |
149 <h4>ClassItem.isExternal</h4> |
130 <b>isExternal</b>(<i></i>) |
150 <b>isExternal</b>(<i></i>) |
131 <p> |
151 <p> |
132 Method returning the external state. |
152 Method returning the external state. |
133 </p><dl> |
153 </p><dl> |
148 <dd> |
168 <dd> |
149 style options (QStyleOptionGraphicsItem) |
169 style options (QStyleOptionGraphicsItem) |
150 </dd><dt><i>widget</i></dt> |
170 </dd><dt><i>widget</i></dt> |
151 <dd> |
171 <dd> |
152 optional reference to the widget painted on (QWidget) |
172 optional reference to the widget painted on (QWidget) |
|
173 </dd> |
|
174 </dl><a NAME="ClassItem.parseItemDataString" ID="ClassItem.parseItemDataString"></a> |
|
175 <h4>ClassItem.parseItemDataString</h4> |
|
176 <b>parseItemDataString</b>(<i>data</i>) |
|
177 <p> |
|
178 Public method to parse the given persistence data. |
|
179 </p><dl> |
|
180 <dt><i>data</i></dt> |
|
181 <dd> |
|
182 persisted data to be parsed (string) |
153 </dd> |
183 </dd> |
154 </dl><a NAME="ClassItem.setModel" ID="ClassItem.setModel"></a> |
184 </dl><a NAME="ClassItem.setModel" ID="ClassItem.setModel"></a> |
155 <h4>ClassItem.setModel</h4> |
185 <h4>ClassItem.setModel</h4> |
156 <b>setModel</b>(<i>model</i>) |
186 <b>setModel</b>(<i>model</i>) |
157 <p> |
187 <p> |