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): |
* Thuban/UI/interactor.py (Interactor.SelectedLayer): |
44 |
(Interactor.HasSelectedLayer): New methods to query the current |
(Interactor.HasSelectedLayer): New methods to query the current |
45 |
selection |
selection |