1 |
|
2002-09-12 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Center the |
4 |
|
message box on the main window. |
5 |
|
|
6 |
|
2002-09-11 Bernhard Herzog <[email protected]> |
7 |
|
|
8 |
|
* Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of |
9 |
|
the 'E' because it's less likely to interfere with other menu |
10 |
|
entries. |
11 |
|
(MainWindow.build_menu): remove an incorrect comment. |
12 |
|
|
13 |
|
2002-09-10 Bernhard Herzog <[email protected]> |
14 |
|
|
15 |
|
* Thuban/UI/mainwindow.py (MainWindow.Map): New. |
16 |
|
(_tool_command): Add sensitive parameter |
17 |
|
(_has_visible_map): Sensitivity callback to tools and other |
18 |
|
commands that require a visible map. Use it in map_zoom_in_tool, |
19 |
|
map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool |
20 |
|
and map_full_extent |
21 |
|
|
22 |
|
2002-09-06 Bernhard Herzog <[email protected]> |
23 |
|
|
24 |
|
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
25 |
|
VIEW_POSITION |
26 |
|
|
27 |
|
2002-09-04 Frank Koormann <[email protected]> |
28 |
|
|
29 |
|
* Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe") |
30 |
|
|
31 |
|
2002-09-02 Bernhard Herzog <[email protected]> |
32 |
|
|
33 |
|
* Thuban/UI/view.py: Get rid of the idle redraw. This is done by |
34 |
|
wxWindows already and our implementation doesn't work correctly |
35 |
|
with wxGTK 2.3: |
36 |
|
(MapCanvas.__init__): Remove the instance variable |
37 |
|
(MapCanvas.OnPaint): Always call do_redraw when there's a map to |
38 |
|
be drawin |
39 |
|
(MapCanvas.OnIdle): Removed. |
40 |
|
|
41 |
|
* Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add |
42 |
|
a parameter to determine the size of the rectangle. |
43 |
|
(MapCanvas.find_shape_at): Create the box around the point on a |
44 |
|
layer by layer basis and make the size depend on the shape type. |
45 |
|
This solves a problem with the selection of point shapes at the |
46 |
|
border of the layer's bounding box |
47 |
|
|
48 |
|
2002-08-30 Bernhard Herzog <[email protected]> |
49 |
|
|
50 |
|
* Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method |
51 |
|
for the sensitivity of remove layer. |
52 |
|
(_can_remove_layer): New. Sensitivity callback for remove layer |
53 |
|
(Command layer_remove): Use _can_remove_layer |
54 |
|
|
55 |
|
* Thuban/Model/map.py (Map.CanRemoveLayer): New method to |
56 |
|
determine whether a given layer can be deleted. |
57 |
|
|
58 |
|
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
59 |
|
(MapCanvas.do_redraw): Get rid of the unused update_region |
60 |
|
instance variable |
61 |
|
|
62 |
|
* Thuban/UI/view.py: Add/update some doc-strings. |
63 |
|
|
64 |
|
* test/: new subdirectory with a bunch of unit tests. |
65 |
|
|
66 |
|
* test/README, test/test_table.py, test/test_save.py, |
67 |
|
test/test_menu.py, test/test_load.py: Initial set of tests and |
68 |
|
brief instructions on how to run them |
69 |
|
|
70 |
2002-08-29 Bernhard Herzog <[email protected]> |
2002-08-29 Bernhard Herzog <[email protected]> |
71 |
|
|
72 |
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle |
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle |