62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#PixmapDiagram.__adjustScrollBar">__adjustScrollBar</a></td> |
63 <td><a href="#PixmapDiagram.__adjustScrollBar">__adjustScrollBar</a></td> |
64 <td>Private method to adjust a scrollbar by a certain factor.</td> |
64 <td>Private method to adjust a scrollbar by a certain factor.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#PixmapDiagram.__doZoom">__doZoom</a></td> |
66 <td><a href="#PixmapDiagram.__doZoom">__doZoom</a></td> |
67 <td>Public method to set the zoom value in percent.</td> |
67 <td>Private method to set the zoom value in percent.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#PixmapDiagram.__initActions">__initActions</a></td> |
69 <td><a href="#PixmapDiagram.__initActions">__initActions</a></td> |
70 <td>Private method to initialize the view actions.</td> |
70 <td>Private method to initialize the view actions.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#PixmapDiagram.__initContextMenu">__initContextMenu</a></td> |
72 <td><a href="#PixmapDiagram.__initContextMenu">__initContextMenu</a></td> |
92 </tr><tr> |
92 </tr><tr> |
93 <td><a href="#PixmapDiagram.__showPixmap">__showPixmap</a></td> |
93 <td><a href="#PixmapDiagram.__showPixmap">__showPixmap</a></td> |
94 <td>Private method to show a file.</td> |
94 <td>Private method to show a file.</td> |
95 </tr><tr> |
95 </tr><tr> |
96 <td><a href="#PixmapDiagram.__zoom">__zoom</a></td> |
96 <td><a href="#PixmapDiagram.__zoom">__zoom</a></td> |
97 <td>Public method to get the current zoom factor in percent.</td> |
97 <td>Private method to get the current zoom factor in percent.</td> |
98 </tr><tr> |
98 </tr><tr> |
99 <td><a href="#PixmapDiagram.__zoomIn">__zoomIn</a></td> |
99 <td><a href="#PixmapDiagram.__zoomIn">__zoomIn</a></td> |
100 <td>Private method to zoom into the pixmap.</td> |
100 <td>Private method to zoom into the pixmap.</td> |
101 </tr><tr> |
101 </tr><tr> |
102 <td><a href="#PixmapDiagram.__zoomOut">__zoomOut</a></td> |
102 <td><a href="#PixmapDiagram.__zoomOut">__zoomOut</a></td> |
104 </tr><tr> |
104 </tr><tr> |
105 <td><a href="#PixmapDiagram.__zoomReset">__zoomReset</a></td> |
105 <td><a href="#PixmapDiagram.__zoomReset">__zoomReset</a></td> |
106 <td>Private method to reset the zoom value.</td> |
106 <td>Private method to reset the zoom value.</td> |
107 </tr><tr> |
107 </tr><tr> |
108 <td><a href="#PixmapDiagram.event">event</a></td> |
108 <td><a href="#PixmapDiagram.event">event</a></td> |
109 <td>Protected method handling events.</td> |
109 <td>Public method handling events.</td> |
110 </tr><tr> |
110 </tr><tr> |
111 <td><a href="#PixmapDiagram.gestureEvent">gestureEvent</a></td> |
111 <td><a href="#PixmapDiagram.gestureEvent">gestureEvent</a></td> |
112 <td>Protected method handling gesture events.</td> |
112 <td>Protected method handling gesture events.</td> |
113 </tr><tr> |
113 </tr><tr> |
114 <td><a href="#PixmapDiagram.getDiagramName">getDiagramName</a></td> |
114 <td><a href="#PixmapDiagram.getDiagramName">getDiagramName</a></td> |
115 <td>Method to retrieve a name for the diagram.</td> |
115 <td>Public method to retrieve a name for the diagram.</td> |
116 </tr><tr> |
116 </tr><tr> |
117 <td><a href="#PixmapDiagram.getStatus">getStatus</a></td> |
117 <td><a href="#PixmapDiagram.getStatus">getStatus</a></td> |
118 <td>Method to retrieve the status of the canvas.</td> |
118 <td>Public method to retrieve the status of the canvas.</td> |
119 </tr><tr> |
119 </tr><tr> |
120 <td><a href="#PixmapDiagram.wheelEvent">wheelEvent</a></td> |
120 <td><a href="#PixmapDiagram.wheelEvent">wheelEvent</a></td> |
121 <td>Protected method to handle wheel events.</td> |
121 <td>Protected method to handle wheel events.</td> |
122 </tr> |
122 </tr> |
123 </table> |
123 </table> |
156 </dd> |
156 </dd> |
157 </dl><a NAME="PixmapDiagram.__doZoom" ID="PixmapDiagram.__doZoom"></a> |
157 </dl><a NAME="PixmapDiagram.__doZoom" ID="PixmapDiagram.__doZoom"></a> |
158 <h4>PixmapDiagram.__doZoom</h4> |
158 <h4>PixmapDiagram.__doZoom</h4> |
159 <b>__doZoom</b>(<i>value</i>) |
159 <b>__doZoom</b>(<i>value</i>) |
160 <p> |
160 <p> |
161 Public method to set the zoom value in percent. |
161 Private method to set the zoom value in percent. |
162 </p><dl> |
162 </p><dl> |
163 <dt><i>value</i></dt> |
163 <dt><i>value</i></dt> |
164 <dd> |
164 <dd> |
165 zoom value in percent (integer) |
165 zoom value in percent (integer) |
166 </dd> |
166 </dd> |
241 </dd> |
241 </dd> |
242 </dl><a NAME="PixmapDiagram.__zoom" ID="PixmapDiagram.__zoom"></a> |
242 </dl><a NAME="PixmapDiagram.__zoom" ID="PixmapDiagram.__zoom"></a> |
243 <h4>PixmapDiagram.__zoom</h4> |
243 <h4>PixmapDiagram.__zoom</h4> |
244 <b>__zoom</b>(<i></i>) |
244 <b>__zoom</b>(<i></i>) |
245 <p> |
245 <p> |
246 Public method to get the current zoom factor in percent. |
246 Private method to get the current zoom factor in percent. |
247 </p><dl> |
247 </p><dl> |
248 <dt>Returns:</dt> |
248 <dt>Returns:</dt> |
249 <dd> |
249 <dd> |
250 current zoom factor in percent (integer) |
250 current zoom factor in percent (integer) |
251 </dd> |
251 </dd> |
266 Private method to reset the zoom value. |
266 Private method to reset the zoom value. |
267 </p><a NAME="PixmapDiagram.event" ID="PixmapDiagram.event"></a> |
267 </p><a NAME="PixmapDiagram.event" ID="PixmapDiagram.event"></a> |
268 <h4>PixmapDiagram.event</h4> |
268 <h4>PixmapDiagram.event</h4> |
269 <b>event</b>(<i>evt</i>) |
269 <b>event</b>(<i>evt</i>) |
270 <p> |
270 <p> |
271 Protected method handling events. |
271 Public method handling events. |
272 </p><dl> |
272 </p><dl> |
273 <dt><i>evt</i></dt> |
273 <dt><i>evt</i></dt> |
274 <dd> |
274 <dd> |
275 reference to the event (QEvent) |
275 reference to the event (QEvent) |
276 </dd> |
276 </dd> |
291 </dd> |
291 </dd> |
292 </dl><a NAME="PixmapDiagram.getDiagramName" ID="PixmapDiagram.getDiagramName"></a> |
292 </dl><a NAME="PixmapDiagram.getDiagramName" ID="PixmapDiagram.getDiagramName"></a> |
293 <h4>PixmapDiagram.getDiagramName</h4> |
293 <h4>PixmapDiagram.getDiagramName</h4> |
294 <b>getDiagramName</b>(<i></i>) |
294 <b>getDiagramName</b>(<i></i>) |
295 <p> |
295 <p> |
296 Method to retrieve a name for the diagram. |
296 Public method to retrieve a name for the diagram. |
297 </p><dl> |
297 </p><dl> |
298 <dt>Returns:</dt> |
298 <dt>Returns:</dt> |
299 <dd> |
299 <dd> |
300 name for the diagram |
300 name for the diagram |
301 </dd> |
301 </dd> |
302 </dl><a NAME="PixmapDiagram.getStatus" ID="PixmapDiagram.getStatus"></a> |
302 </dl><a NAME="PixmapDiagram.getStatus" ID="PixmapDiagram.getStatus"></a> |
303 <h4>PixmapDiagram.getStatus</h4> |
303 <h4>PixmapDiagram.getStatus</h4> |
304 <b>getStatus</b>(<i></i>) |
304 <b>getStatus</b>(<i></i>) |
305 <p> |
305 <p> |
306 Method to retrieve the status of the canvas. |
306 Public method to retrieve the status of the canvas. |
307 </p><dl> |
307 </p><dl> |
308 <dt>Returns:</dt> |
308 <dt>Returns:</dt> |
309 <dd> |
309 <dd> |
310 flag indicating a successful pixmap loading (boolean) |
310 flag indicating a successful pixmap loading (boolean) |
311 </dd> |
311 </dd> |