1 |
|
2001-09-11 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* setup.py (InnoIconItem): fix typo |
4 |
|
|
5 |
|
(thuban_bdist_inno.run): |
6 |
|
(bdist_inno.run): Move the decision not to create symlinks on |
7 |
|
non-nt platforms to thuban_bdist_inno and do it unconditinally |
8 |
|
since we never want to create the symlinks here |
9 |
|
|
10 |
|
2001-09-10 Bernhard Herzog <[email protected]> |
11 |
|
|
12 |
|
* Thuban/UI/mainwindow.py (MainWindow.IdentifyTool): Popup the |
13 |
|
identify view immediately |
14 |
|
|
15 |
|
* Thuban/UI/controls.py: New file with two classes RecordListCtrl |
16 |
|
and SelectableRecordListCtrl that implement the code shared by the |
17 |
|
identify view and the label dialog |
18 |
|
|
19 |
|
* Thuban/UI/identifyview.py (IdentifyListCtrl): Derive from the |
20 |
|
new class RecordListCtrl |
21 |
|
|
22 |
|
* Thuban/UI/labeldialog.py (LabelDialog.OnOK): Check whether the |
23 |
|
return value of GetValue is None instead of using it as a boolean |
24 |
|
directly so that Zero numbers are handled properly. |
25 |
|
(LabelListCtrl): Derive from the new class |
26 |
|
SelectableRecordListCtrl |
27 |
|
|
28 |
|
* Thuban/UI/proj4dialog.py (Proj4Dialog.__init__): |
29 |
|
(Proj4Dialog.dialogLayout): Make the window resizable and set the |
30 |
|
size of the text control explicitly to make the sizers work on |
31 |
|
both Windows and X. |
32 |
|
|
33 |
|
2001-09-07 Bernhard Herzog <[email protected]> |
34 |
|
|
35 |
|
* Thuban/UI/view.py (MapCanvas.find_shape_at):Add a new parameter |
36 |
|
that can limit the search to the currently selected layer. |
37 |
|
(MapCanvas.SelectShapeAt): Make sure that the currently selected |
38 |
|
layer stays selected even when no shape is found |
39 |
|
(MapCanvas.FitRectToWindow): If the rect has zero with or zero |
40 |
|
height do nothing (avoids zero division errors) |
41 |
|
|
42 |
2001-09-06 Bernhard Herzog <[email protected]> |
2001-09-06 Bernhard Herzog <[email protected]> |
43 |
|
|
44 |
|
* Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__): |
45 |
|
Correct the spelling of SessionTreeCtrl. dabbrev is too damn |
46 |
|
convenient :-) |
47 |
|
(SessionTreeCtrl.__init__, SessionTreeCtrl.update_tree): Introduce |
48 |
|
a new instvar layer_to_item to map layers to tree items |
49 |
|
(SessionTreeCtrl.layer_selected): Select the appropriate tree item |
50 |
|
to match the current selection in the interactor |
51 |
|
|
52 |
|
* Thuban/UI/interactor.py (Interactor.SelectedLayer): |
53 |
|
(Interactor.HasSelectedLayer): New methods to query the current |
54 |
|
selection |
55 |
|
|
56 |
|
* Thuban/UI/mainwindow.py (MainWindow.current_layer): |
57 |
|
(MainWindow.has_selected_layer): Simply call the appropriate |
58 |
|
interactor method |
59 |
|
|
60 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): |
61 |
|
(MainWindow.LayerShowTable): |
62 |
|
(MainWindow.identify_view_on_demand): Store the interactor in an |
63 |
|
instvar and use that reference instead of going through main.app |
64 |
|
|
65 |
|
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
66 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
67 |
|
* Thuban/UI/main.py (main): Create the session tree view in main |
68 |
|
with the new mainwindow method ShowSessionTree and not directly |
69 |
|
the application's OnInit method |
70 |
|
|
71 |
|
* Thuban/UI/tree.py (myTreeCtrlPanel): |
72 |
|
(SessioinTreeCtrl): Rename to SessioinTreeCtrl and turn it into a |
73 |
|
TreeCtrl isntead of a panel. This affects most method since we now |
74 |
|
refer to self instead of self.tree |
75 |
|
(SessionTreeView): New class implementing a non-modal dialog |
76 |
|
showing the session tree. |
77 |
|
|
78 |
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the |
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the |
79 |
layer to the tableview dialog. |
layer to the tableview dialog. |
80 |
|
|