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