Parent Directory
|
Revision Log
New Extension: mouseposition Tool to collect mouse click positions (map coordinates) in a dialog. * Extensions/mouseposition/__init__.py: New, extension registration * Extensions/mouseposition/mouseposition.py: New, implements the dialog and adds a tool to Thuban mainwindow. * Extensions/mouseposition/position.xpm: New, icon for tool.
1 | frank | 2523 | # Copyright (C) 2005 by Intevation GmbH |
2 | # Authors: | ||
3 | # Frank Koormann <[email protected]> (2005) | ||
4 | # | ||
5 | # This program is free software under the GPL (>=v2) | ||
6 | # Read the file COPYING coming with Thuban for details. | ||
7 | |||
8 | # import the actual module | ||
9 | import mouseposition | ||
10 | |||
11 | # perform the registration of the extension | ||
12 | from Thuban import _ | ||
13 | from Thuban.UI.extensionregistry import ExtensionDesc, ext_registry | ||
14 | |||
15 | ext_registry.add(ExtensionDesc( | ||
16 | name = 'mouseposition', | ||
17 | version = '1.0.0', | ||
18 | authors= [ 'Frank Koormann' ], | ||
19 | copyright = '2005 Intevation GmbH', | ||
20 | desc = _("On mouse click display the current coordinates\n" \ | ||
21 | "in a dialog for easy further processing."))) |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Author Date Id Revision |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |