1 |
|
2004-04-18 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
Changing popup menu of legend from direct building |
4 |
|
to using the Menu construction as used for the mainwindow. |
5 |
|
|
6 |
|
* Thuban/UI/mainwindow.py: New method commands: layer_to_top, |
7 |
|
layer_to_bottom, layer_visibility |
8 |
|
(MainWindow.LayerToTop): New. Put current layer to the top. |
9 |
|
(MainWindow.LayerToBottom): New. Put current layer to bottom. |
10 |
|
(MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map): |
11 |
|
Replace 1,0 by True, False. |
12 |
|
(MainWindow.ToggleLayerVisibility): New. Toggle visibility of |
13 |
|
current layer. |
14 |
|
(MainWindow.LayerShowTable): Removed raising of dialog. |
15 |
|
(_has_selected_layer_visible): New. Support function. |
16 |
|
|
17 |
|
* Thuban/UI/legend.py: ID_POP_xxx: removed. |
18 |
|
(LegendPanel.__init__): Removed EVT_MENU bindings. |
19 |
|
(LegendTree._OnRightClick): Replace direct creation of |
20 |
|
menu via wx Classes by applying the menu definition |
21 |
|
as of Menu class of menu.py. |
22 |
|
|
23 |
2004-04-16 Jan-Oliver Wagner <[email protected]> |
2004-04-16 Jan-Oliver Wagner <[email protected]> |
24 |
|
|
25 |
* Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved |
* Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved |