1 |
|
2003-03-04 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* setup.py (thuban_build_py.build): Add a comment about distutils in |
4 |
|
Python 2.3 containing some of the functionality we implement in |
5 |
|
setup.py ourselves. |
6 |
|
|
7 |
|
* Thuban/UI/classifier.py (ClassGrid.__init__): Set the table |
8 |
|
before the selection mode. Doing it the other way round triggers |
9 |
|
an assertion in wxWindows. |
10 |
|
|
11 |
|
* Thuban/Model/save.py (escape): Fix typo in doc-string |
12 |
|
|
13 |
|
* Thuban/Model/classification.py: Remove unnecessary wxPython |
14 |
|
import |
15 |
|
|
16 |
|
2003-03-04 Jonathan Coles <[email protected]> |
17 |
|
|
18 |
|
* Thuban/Model/classification.py (ClassGroupRange.GetProperties): |
19 |
|
Parameter 'value' should default to None. |
20 |
|
|
21 |
|
* Thuban/UI/mainwindow.py: Use Layer.GetClassification() since |
22 |
|
the class attribute __classification is now private. |
23 |
|
|
24 |
|
* Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from |
25 |
|
Classifier to ClassGrid. Added support for removing selected rows, |
26 |
|
which including code for keeping track of when cells are selected, |
27 |
|
and deselected. |
28 |
|
(ClassTable): Support for added/removing rows. Fixed a problem |
29 |
|
with __ParseInput whereby it would not allow strings (only numbers) |
30 |
|
to be entered. |
31 |
|
(Classifier): Added button and supporting code for removing |
32 |
|
selected rows. |
33 |
|
|
34 |
|
2003-02-27 Jonathan Coles <[email protected]> |
35 |
|
|
36 |
|
* Thuban/common.py: Moved color conversion functions into |
37 |
|
Thuban/UI/common.py. |
38 |
|
(Str2Num): Now converts the float (not the string) to a long/int |
39 |
|
so that an exception isn't thrown. |
40 |
|
|
41 |
|
* Thuban/UI/common.py: Common functions used in several UI modules |
42 |
|
|
43 |
|
* Thuban/Model/classification.py: Changed the class hierarchy |
44 |
|
so that a Classification consists of Groups which return |
45 |
|
Properties when a value matches a Group. |
46 |
|
|
47 |
|
* Thuban/Model/layer.py: Fixed name resolution problem. |
48 |
|
|
49 |
|
* Thuban/Model/load.py: Use new Classification and Group functions. |
50 |
|
|
51 |
|
* Thuban/Model/save.py (Saver.write_attribs): Fixes a test case |
52 |
|
failure. |
53 |
|
(Saver.write_classification): Use new Classification and Group |
54 |
|
functions. |
55 |
|
|
56 |
|
* Thuban/UI/classifier.py: Changes to use new Classification and Group |
57 |
|
functions. Fix to create a tuple with a single value instead of |
58 |
|
simply returning the value. |
59 |
|
|
60 |
|
* Thuban/UI/renderer.py: Use new Classification and Group functions. |
61 |
|
Use common.py functions. |
62 |
|
|
63 |
|
* Thuban/UI/tree.py: Use common.py functions. |
64 |
|
|
65 |
|
* test/test_classification.py: Use new Classification and Group |
66 |
|
classes. |
67 |
|
|
68 |
|
2003-02-24 Jonathan Coles <[email protected]> |
69 |
|
|
70 |
|
* Thuban/common.py (Color2wxColour, wxColour2Color): Conversion |
71 |
|
functions from Thuban color objects to wxWindow colour objects. |
72 |
|
|
73 |
|
* Thuban/Model/classification.py (Classification): Renamed |
74 |
|
GetProperties() to GetClassData(). Used the new iterator |
75 |
|
in TreeInfo(). |
76 |
|
(ClassIterator): Iterator implementation to iterate over the |
77 |
|
ClassData objects in a classification object. |
78 |
|
|
79 |
|
* Thuban/Model/save.py (Saver.write_classificaton): Uses |
80 |
|
the new iterator to save the classification information. |
81 |
|
|
82 |
|
* Thuban/UI/classifier.py (SelectPropertiesDialog): Support |
83 |
|
for changing the stroke and fill colors and previewing the |
84 |
|
changes. |
85 |
|
|
86 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenSession, |
87 |
|
MainWindow.SaveSessionAs): Text string changes so the dialogs |
88 |
|
have more meaningful titles. |
89 |
|
|
90 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Change |
91 |
|
Classification method name from GetProperties to GetClassData. |
92 |
|
|
93 |
|
* Thuban/UI/view.py (MapCanvas.find_shape_at): Use method calls |
94 |
|
instead of accessing now non-existent class variables. |
95 |
|
|
96 |
|
2003-02-24 Bernhard Herzog <[email protected]> |
97 |
|
|
98 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove |
99 |
|
unneeded Shape() call. Rendering is substantially faster without |
100 |
|
it and it avoids some problems with broken shape files. |
101 |
|
|
102 |
2003-02-20 Frank Koormann <[email protected]> |
2003-02-20 Frank Koormann <[email protected]> |
103 |
|
|
104 |
Force minimal size of identify and label dialogs. The autosizing |
Force minimal size of identify and label dialogs. The autosizing |