[Thuban-devel] popup menu
Jan-Oliver Wagner
jan at intevation.de
Sun Apr 18 22:48:41 CEST 2004
On Sat, Apr 17, 2004 at 10:15:34PM +0200, Jan-Oliver Wagner wrote:
> For HEAD, I think it is better to use a Menu like
> defined for the main menu.
> This has the consequence that I added the Top/Bottom/ToggleVisibility Layer
> function to the mainwindow.py module though not actively used there.
> The functionality of e.g. raising/lowering layer is now
> redundant since it is part of mainwindow as well as part
> of of legend (there still used through the toolbar).
> So, eventually we should decide whether such functions should
> be part of the legend or of the mainwindow.
>
> However, though not the final solution my changes will clean
> up stuff a little bit. Will polish my patch and then commit.
I've commited this now. I did not remove the functions from
LegendTree which are not called anymore since we might
decide to move this functionality from the mainwindow
to the LegendTree.
This finally fixes also the bug that now the popup
menu item "Show Table" is greyed out when the layer has
no table to show.
Jan
--
Jan-Oliver Wagner http://intevation.de/~jan/
Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)