65 <tr> |
65 <tr> |
66 <td><a href="#EricMapWidget.__setSliderColor">__setSliderColor</a></td> |
66 <td><a href="#EricMapWidget.__setSliderColor">__setSliderColor</a></td> |
67 <td>Private method to set the slider color depending upon the background color.</td> |
67 <td>Private method to set the slider color depending upon the background color.</td> |
68 </tr> |
68 </tr> |
69 <tr> |
69 <tr> |
70 <td><a href="#EricMapWidget.__updateMasterViewportWidth">__updateMasterViewportWidth</a></td> |
70 <td><a href="#EricMapWidget.__updateControllerViewportWidth">__updateControllerViewportWidth</a></td> |
71 <td>Private method to update the master's viewport width.</td> |
71 <td>Private method to update the controller's viewport width.</td> |
72 </tr> |
72 </tr> |
73 <tr> |
73 <tr> |
74 <td><a href="#EricMapWidget._paintIt">_paintIt</a></td> |
74 <td><a href="#EricMapWidget._paintIt">_paintIt</a></td> |
75 <td>Protected method for painting the widget's indicators.</td> |
75 <td>Protected method for painting the widget's indicators.</td> |
76 </tr> |
76 </tr> |
90 <td><a href="#EricMapWidget.isEnabled">isEnabled</a></td> |
90 <td><a href="#EricMapWidget.isEnabled">isEnabled</a></td> |
91 <td>Public method to check the enabled state.</td> |
91 <td>Public method to check the enabled state.</td> |
92 </tr> |
92 </tr> |
93 <tr> |
93 <tr> |
94 <td><a href="#EricMapWidget.isOnRightSide">isOnRightSide</a></td> |
94 <td><a href="#EricMapWidget.isOnRightSide">isOnRightSide</a></td> |
95 <td>Public method to test, if the map is shown on the right side of the master widget.</td> |
95 <td>Public method to test, if the map is shown on the right side of the controller widget.</td> |
96 </tr> |
96 </tr> |
97 <tr> |
97 <tr> |
98 <td><a href="#EricMapWidget.lineDimensions">lineDimensions</a></td> |
98 <td><a href="#EricMapWidget.lineDimensions">lineDimensions</a></td> |
99 <td>Public method to get the line (indicator) dimensions.</td> |
99 <td>Public method to get the line (indicator) dimensions.</td> |
100 </tr> |
100 </tr> |
121 <tr> |
121 <tr> |
122 <td><a href="#EricMapWidget.setBackgroundColor">setBackgroundColor</a></td> |
122 <td><a href="#EricMapWidget.setBackgroundColor">setBackgroundColor</a></td> |
123 <td>Public method to set the widget background color.</td> |
123 <td>Public method to set the widget background color.</td> |
124 </tr> |
124 </tr> |
125 <tr> |
125 <tr> |
|
126 <td><a href="#EricMapWidget.setController">setController</a></td> |
|
127 <td>Public method to set the map controller widget.</td> |
|
128 </tr> |
|
129 <tr> |
126 <td><a href="#EricMapWidget.setEnabled">setEnabled</a></td> |
130 <td><a href="#EricMapWidget.setEnabled">setEnabled</a></td> |
127 <td>Public method to set the enabled state.</td> |
131 <td>Public method to set the enabled state.</td> |
128 </tr> |
132 </tr> |
129 <tr> |
133 <tr> |
130 <td><a href="#EricMapWidget.setLineDimensions">setLineDimensions</a></td> |
134 <td><a href="#EricMapWidget.setLineDimensions">setLineDimensions</a></td> |
131 <td>Public method to set the line (indicator) dimensions.</td> |
135 <td>Public method to set the line (indicator) dimensions.</td> |
132 </tr> |
136 </tr> |
133 <tr> |
137 <tr> |
134 <td><a href="#EricMapWidget.setMapPosition">setMapPosition</a></td> |
138 <td><a href="#EricMapWidget.setMapPosition">setMapPosition</a></td> |
135 <td>Public method to set, whether the map should be shown to the right or left of the master widget.</td> |
139 <td>Public method to set, whether the map should be shown to the right or left of the controller widget.</td> |
136 </tr> |
|
137 <tr> |
|
138 <td><a href="#EricMapWidget.setMaster">setMaster</a></td> |
|
139 <td>Public method to set the map master widget.</td> |
|
140 </tr> |
140 </tr> |
141 <tr> |
141 <tr> |
142 <td><a href="#EricMapWidget.setWidth">setWidth</a></td> |
142 <td><a href="#EricMapWidget.setWidth">setWidth</a></td> |
143 <td>Public method to set the widget width.</td> |
143 <td>Public method to set the widget width.</td> |
144 </tr> |
144 </tr> |
205 |
205 |
206 <p> |
206 <p> |
207 Private method to set the slider color depending upon the background |
207 Private method to set the slider color depending upon the background |
208 color. |
208 color. |
209 </p> |
209 </p> |
210 <a NAME="EricMapWidget.__updateMasterViewportWidth" ID="EricMapWidget.__updateMasterViewportWidth"></a> |
210 <a NAME="EricMapWidget.__updateControllerViewportWidth" ID="EricMapWidget.__updateControllerViewportWidth"></a> |
211 <h4>EricMapWidget.__updateMasterViewportWidth</h4> |
211 <h4>EricMapWidget.__updateControllerViewportWidth</h4> |
212 <b>__updateMasterViewportWidth</b>(<i></i>) |
212 <b>__updateControllerViewportWidth</b>(<i></i>) |
213 |
213 |
214 <p> |
214 <p> |
215 Private method to update the master's viewport width. |
215 Private method to update the controller's viewport width. |
216 </p> |
216 </p> |
217 <a NAME="EricMapWidget._paintIt" ID="EricMapWidget._paintIt"></a> |
217 <a NAME="EricMapWidget._paintIt" ID="EricMapWidget._paintIt"></a> |
218 <h4>EricMapWidget._paintIt</h4> |
218 <h4>EricMapWidget._paintIt</h4> |
219 <b>_paintIt</b>(<i>painter</i>) |
219 <b>_paintIt</b>(<i>painter</i>) |
220 |
220 |
288 <h4>EricMapWidget.isOnRightSide</h4> |
288 <h4>EricMapWidget.isOnRightSide</h4> |
289 <b>isOnRightSide</b>(<i></i>) |
289 <b>isOnRightSide</b>(<i></i>) |
290 |
290 |
291 <p> |
291 <p> |
292 Public method to test, if the map is shown on the right side of the |
292 Public method to test, if the map is shown on the right side of the |
293 master widget. |
293 controller widget. |
294 </p> |
294 </p> |
295 <dl> |
295 <dl> |
296 <dt>Return:</dt> |
296 <dt>Return:</dt> |
297 <dd> |
297 <dd> |
298 flag indicating that the map is to the right of the master |
298 flag indicating that the map is to the right of the controller |
299 widget |
299 widget |
300 </dd> |
300 </dd> |
301 </dl> |
301 </dl> |
302 <dl> |
302 <dl> |
303 <dt>Return Type:</dt> |
303 <dt>Return Type:</dt> |
418 <dt><i>color</i></dt> |
418 <dt><i>color</i></dt> |
419 <dd> |
419 <dd> |
420 color for the background (QColor) |
420 color for the background (QColor) |
421 </dd> |
421 </dd> |
422 </dl> |
422 </dl> |
|
423 <a NAME="EricMapWidget.setController" ID="EricMapWidget.setController"></a> |
|
424 <h4>EricMapWidget.setController</h4> |
|
425 <b>setController</b>(<i>controller</i>) |
|
426 |
|
427 <p> |
|
428 Public method to set the map controller widget. |
|
429 </p> |
|
430 <dl> |
|
431 |
|
432 <dt><i>controller</i> (QAbstractScrollArea)</dt> |
|
433 <dd> |
|
434 map controller widget |
|
435 </dd> |
|
436 </dl> |
423 <a NAME="EricMapWidget.setEnabled" ID="EricMapWidget.setEnabled"></a> |
437 <a NAME="EricMapWidget.setEnabled" ID="EricMapWidget.setEnabled"></a> |
424 <h4>EricMapWidget.setEnabled</h4> |
438 <h4>EricMapWidget.setEnabled</h4> |
425 <b>setEnabled</b>(<i>enable</i>) |
439 <b>setEnabled</b>(<i>enable</i>) |
426 |
440 |
427 <p> |
441 <p> |
456 <h4>EricMapWidget.setMapPosition</h4> |
470 <h4>EricMapWidget.setMapPosition</h4> |
457 <b>setMapPosition</b>(<i>onRight</i>) |
471 <b>setMapPosition</b>(<i>onRight</i>) |
458 |
472 |
459 <p> |
473 <p> |
460 Public method to set, whether the map should be shown to the right or |
474 Public method to set, whether the map should be shown to the right or |
461 left of the master widget. |
475 left of the controller widget. |
462 </p> |
476 </p> |
463 <dl> |
477 <dl> |
464 |
478 |
465 <dt><i>onRight</i> (bool)</dt> |
479 <dt><i>onRight</i> (bool)</dt> |
466 <dd> |
480 <dd> |
467 flag indicating to show the map on the right side of |
481 flag indicating to show the map on the right side of |
468 the master widget |
482 the controller widget |
469 </dd> |
|
470 </dl> |
|
471 <a NAME="EricMapWidget.setMaster" ID="EricMapWidget.setMaster"></a> |
|
472 <h4>EricMapWidget.setMaster</h4> |
|
473 <b>setMaster</b>(<i>master</i>) |
|
474 |
|
475 <p> |
|
476 Public method to set the map master widget. |
|
477 </p> |
|
478 <dl> |
|
479 |
|
480 <dt><i>master</i></dt> |
|
481 <dd> |
|
482 map master widget (QAbstractScrollArea) |
|
483 </dd> |
483 </dd> |
484 </dl> |
484 </dl> |
485 <a NAME="EricMapWidget.setWidth" ID="EricMapWidget.setWidth"></a> |
485 <a NAME="EricMapWidget.setWidth" ID="EricMapWidget.setWidth"></a> |
486 <h4>EricMapWidget.setWidth</h4> |
486 <h4>EricMapWidget.setWidth</h4> |
487 <b>setWidth</b>(<i>width</i>) |
487 <b>setWidth</b>(<i>width</i>) |