68 <td>Private method to calculate the size of the module item.</td> |
68 <td>Private method to calculate the size of the module item.</td> |
69 </tr><tr> |
69 </tr><tr> |
70 <td><a href="#ModuleItem.__createTexts">__createTexts</a></td> |
70 <td><a href="#ModuleItem.__createTexts">__createTexts</a></td> |
71 <td>Private method to create the text items of the module item.</td> |
71 <td>Private method to create the text items of the module item.</td> |
72 </tr><tr> |
72 </tr><tr> |
|
73 <td><a href="#ModuleItem.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="#ModuleItem.paint">paint</a></td> |
76 <td><a href="#ModuleItem.paint">paint</a></td> |
74 <td>Public method to paint the item in local coordinates.</td> |
77 <td>Public method to paint the item in local coordinates.</td> |
|
78 </tr><tr> |
|
79 <td><a href="#ModuleItem.parseItemDataString">parseItemDataString</a></td> |
|
80 <td>Public method to parse the given persistence data.</td> |
75 </tr><tr> |
81 </tr><tr> |
76 <td><a href="#ModuleItem.setModel">setModel</a></td> |
82 <td><a href="#ModuleItem.setModel">setModel</a></td> |
77 <td>Method to set the module model.</td> |
83 <td>Method to set the module model.</td> |
78 </tr> |
84 </tr> |
79 </table> |
85 </table> |
114 </p><a NAME="ModuleItem.__createTexts" ID="ModuleItem.__createTexts"></a> |
120 </p><a NAME="ModuleItem.__createTexts" ID="ModuleItem.__createTexts"></a> |
115 <h4>ModuleItem.__createTexts</h4> |
121 <h4>ModuleItem.__createTexts</h4> |
116 <b>__createTexts</b>(<i></i>) |
122 <b>__createTexts</b>(<i></i>) |
117 <p> |
123 <p> |
118 Private method to create the text items of the module item. |
124 Private method to create the text items of the module item. |
119 </p><a NAME="ModuleItem.paint" ID="ModuleItem.paint"></a> |
125 </p><a NAME="ModuleItem.buildItemDataString" ID="ModuleItem.buildItemDataString"></a> |
|
126 <h4>ModuleItem.buildItemDataString</h4> |
|
127 <b>buildItemDataString</b>(<i></i>) |
|
128 <p> |
|
129 Public method to build a string to persist the specific item data. |
|
130 </p><p> |
|
131 This string must start with ", " and should be built like |
|
132 "attribute=value" with pairs separated by ", ". value must not contain ", " |
|
133 or newlines. |
|
134 </p><dl> |
|
135 <dt>Returns:</dt> |
|
136 <dd> |
|
137 persistence data (string) |
|
138 </dd> |
|
139 </dl><a NAME="ModuleItem.paint" ID="ModuleItem.paint"></a> |
120 <h4>ModuleItem.paint</h4> |
140 <h4>ModuleItem.paint</h4> |
121 <b>paint</b>(<i>painter, option, widget=None</i>) |
141 <b>paint</b>(<i>painter, option, widget=None</i>) |
122 <p> |
142 <p> |
123 Public method to paint the item in local coordinates. |
143 Public method to paint the item in local coordinates. |
124 </p><dl> |
144 </p><dl> |
129 <dd> |
149 <dd> |
130 style options (QStyleOptionGraphicsItem) |
150 style options (QStyleOptionGraphicsItem) |
131 </dd><dt><i>widget</i></dt> |
151 </dd><dt><i>widget</i></dt> |
132 <dd> |
152 <dd> |
133 optional reference to the widget painted on (QWidget) |
153 optional reference to the widget painted on (QWidget) |
|
154 </dd> |
|
155 </dl><a NAME="ModuleItem.parseItemDataString" ID="ModuleItem.parseItemDataString"></a> |
|
156 <h4>ModuleItem.parseItemDataString</h4> |
|
157 <b>parseItemDataString</b>(<i>data</i>) |
|
158 <p> |
|
159 Public method to parse the given persistence data. |
|
160 </p><dl> |
|
161 <dt><i>data</i></dt> |
|
162 <dd> |
|
163 persisted data to be parsed (string) |
134 </dd> |
164 </dd> |
135 </dl><a NAME="ModuleItem.setModel" ID="ModuleItem.setModel"></a> |
165 </dl><a NAME="ModuleItem.setModel" ID="ModuleItem.setModel"></a> |
136 <h4>ModuleItem.setModel</h4> |
166 <h4>ModuleItem.setModel</h4> |
137 <b>setModel</b>(<i>model</i>) |
167 <b>setModel</b>(<i>model</i>) |
138 <p> |
168 <p> |