1 |
2004-10-03 Jan-Oliver Wagner <[email protected]> |
2004-10-03 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
First elements for sizeable point objects. |
4 |
|
|
5 |
|
* Resources/XML/thuban-1.1.dtd: Added size attribute to cldata. |
6 |
|
|
7 |
|
* Data/iceland_sample_size.thuban: New. Sample for sized point objects. |
8 |
|
|
9 |
|
* test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case |
10 |
|
of a corresponding argument is given. |
11 |
|
(TestSymbolSize): New. Test the size attribute of cldata. |
12 |
|
|
13 |
|
* Thuban/Model/classification.py: Removed some trailing whitespaces. |
14 |
|
(ClassGroupProperties.__init__): Set default size. |
15 |
|
(ClassGroupProperties.SetProperties): Set the size. |
16 |
|
(ClassGroupProperties.GetSize): New. Return the size. |
17 |
|
(ClassGroupProperties.SetSize): New. Set the size. |
18 |
|
(ClassGroupProperties__eq__): Compare also size. |
19 |
|
(ClassGroupProperties__repr__): Print also size. |
20 |
|
|
21 |
|
* Thuban/Model/load.py (SessionLoader.start_cldata): Also parse |
22 |
|
the size attribute. |
23 |
|
|
24 |
|
* Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string. |
25 |
|
Also, now there is a return value that indicates whether the drawing |
26 |
|
size exceeded the given rect extent and if so the new extent. |
27 |
|
Finally, point objects are drawn depending on the size. If either |
28 |
|
the width or height is exceeded, the new extent is returned. |
29 |
|
(ClassRenderer.Draw): Now when calling the previewer drawing function, |
30 |
|
evaluate the return value and, if not None, adapt the grid widget size |
31 |
|
accordingly and redraw again. |
32 |
|
|
33 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally): |
34 |
|
If the draw function is for points, call it with the size as additional |
35 |
|
parameter. |
36 |
|
(BaseRenderer.draw_point_shape): Added additional, optional parameter for |
37 |
|
the size. Compute the radius using the size. |
38 |
|
|
39 |
|
* Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now |
40 |
|
that Thuban supports size, apply this correctly. |
41 |
|
|
42 |
|
* Extensions/importAPR/importAPR.py: Bumped version to 0.1.1. |
43 |
|
|
44 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
45 |
|
|
46 |
* Doc/manual/thuban-manual-de.xml: Started translation of |
* Doc/manual/thuban-manual-de.xml: Started translation of |
47 |
Map chapter. |
Map chapter. |
48 |
|
|