1 |
|
2003-10-21 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
Popup menu for legend. Scheduled for the 1.2 release this was too |
4 |
|
simple to implement: The popup menu is bound to the legend tree, while |
5 |
|
the events are hanlded by its anchestor, the legend panel. This |
6 |
|
allows reuse of all the event handlers already implemented for the |
7 |
|
legend toolbar buttons. |
8 |
|
|
9 |
|
* Thuban/UI/legend.py (LegendPanel.__init__): EVT_MENU macros |
10 |
|
to add handlers for the events issued by the popup menu. |
11 |
|
(LegendPanel._OnToggleVisibility): Handler for toggling layer |
12 |
|
visibility event |
13 |
|
(LegendPanel._OnProjection): Handler for layer projection event. |
14 |
|
(LegendTree.__init__): Added EVT_TREE_ITEM_RIGHT_CLICK |
15 |
|
(LegendTree._OnRightClick): Event handler for right click, select item |
16 |
|
and pop up menu. |
17 |
|
(LegendTree.ToggleVisibility): Toggle layer visibility |
18 |
|
(LegendTree.LayerProjection): Raise layer projection dialog for |
19 |
|
current layer. |
20 |
|
|
21 |
2003-10-21 Bernhard Herzog <[email protected]> |
2003-10-21 Bernhard Herzog <[email protected]> |
22 |
|
|
23 |
* Resources/Projections/defaults.proj: Use correct DOCTYPE |
* Resources/Projections/defaults.proj: Use correct DOCTYPE |