As suggested in the issue #258 by @dmiller-nmap I added a topology "legend" button to the Toolbar. Also added an image
(legend.png) to the pixmaps folder
added topology legend button
added topology legend
@surajhande555 Thanks for contributing! I guess I should have been clearer with the requirements for this option. I don't think a static image will be sufficient, since we need it to look good in varying screen resolutions/sizes and to be easy to update when/if we change the images. Check back on #258 soon and I will put some notes there.
improved topology legend window
removed legend.png from /pixmaps
@dmiller-nmap I've written a LegendWindow class with all the shapes and labels drawn independently as you said.
Please review and let me know.
@srjhnd Thanks so much for doing this! I made a few changes to bring it in line with our code conventions, but overall this is your code and you get all the credit. Changes:
Add legend for Topography window. Closes #279, Fixes #258
git-svn-id: https://svn.nmap.org/nmap@35898 e0a8ed71-7df4-0310-8962-fdc924857419