1 |
|
2001-09-10 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/proj4dialog.py (Proj4Dialog.__init__): |
4 |
|
(Proj4Dialog.dialogLayout): Make the window resizable and set the |
5 |
|
size of the text control explicitly to make the sizers work on |
6 |
|
both Windows and X. |
7 |
|
|
8 |
|
2001-09-07 Bernhard Herzog <[email protected]> |
9 |
|
|
10 |
|
* Thuban/UI/view.py (MapCanvas.find_shape_at):Add a new parameter |
11 |
|
that can limit the search to the currently selected layer. |
12 |
|
(MapCanvas.SelectShapeAt): Make sure that the currently selected |
13 |
|
layer stays selected even when no shape is found |
14 |
|
(MapCanvas.FitRectToWindow): If the rect has zero with or zero |
15 |
|
height do nothing (avoids zero division errors) |
16 |
|
|
17 |
2001-09-06 Bernhard Herzog <[email protected]> |
2001-09-06 Bernhard Herzog <[email protected]> |
18 |
|
|
19 |
|
* Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__): |
20 |
|
Correct the spelling of SessionTreeCtrl. dabbrev is too damn |
21 |
|
convenient :-) |
22 |
|
(SessionTreeCtrl.__init__, SessionTreeCtrl.update_tree): Introduce |
23 |
|
a new instvar layer_to_item to map layers to tree items |
24 |
|
(SessionTreeCtrl.layer_selected): Select the appropriate tree item |
25 |
|
to match the current selection in the interactor |
26 |
|
|
27 |
|
* Thuban/UI/interactor.py (Interactor.SelectedLayer): |
28 |
|
(Interactor.HasSelectedLayer): New methods to query the current |
29 |
|
selection |
30 |
|
|
31 |
|
* Thuban/UI/mainwindow.py (MainWindow.current_layer): |
32 |
|
(MainWindow.has_selected_layer): Simply call the appropriate |
33 |
|
interactor method |
34 |
|
|
35 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): |
36 |
|
(MainWindow.LayerShowTable): |
37 |
|
(MainWindow.identify_view_on_demand): Store the interactor in an |
38 |
|
instvar and use that reference instead of going through main.app |
39 |
|
|
40 |
|
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
41 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
42 |
|
* Thuban/UI/main.py (main): Create the session tree view in main |
43 |
|
with the new mainwindow method ShowSessionTree and not directly |
44 |
|
the application's OnInit method |
45 |
|
|
46 |
|
* Thuban/UI/tree.py (myTreeCtrlPanel): |
47 |
|
(SessioinTreeCtrl): Rename to SessioinTreeCtrl and turn it into a |
48 |
|
TreeCtrl isntead of a panel. This affects most method since we now |
49 |
|
refer to self instead of self.tree |
50 |
|
(SessionTreeView): New class implementing a non-modal dialog |
51 |
|
showing the session tree. |
52 |
|
|
53 |
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the |
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the |
54 |
layer to the tableview dialog. |
layer to the tableview dialog. |
55 |
|
|