GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Show map coordinates when mouse moves. More...
Public Member Functions | |
def | __init__ |
def | Show |
def | ReprojectENFromMap |
Reproject east, north to user defined projection. More... | |
Public Member Functions inherited from statusbar.SbTextItem | |
def | __init__ |
def | Show |
def | Hide |
def | SetValue |
def | GetValue |
def | GetWidget |
def | Update |
Public Member Functions inherited from statusbar.SbItem | |
def | __init__ |
def | Show |
Invokes showing of underlying widget. More... | |
def | Hide |
def | SetValue |
def | GetValue |
def | GetPosition |
def | GetWidget |
Returns underlaying winget. More... | |
def | Update |
Called when statusbar action is activated (e.g. More... | |
Data Fields | |
name | |
label | |
Data Fields inherited from statusbar.SbTextItem | |
text | |
Data Fields inherited from statusbar.SbItem | |
mapFrame | |
statusbar | |
position | |
Show map coordinates when mouse moves.
Requires MapWindow.GetLastEN method.
Definition at line 773 of file statusbar.py.
def statusbar.SbCoordinates.__init__ | ( | self, | |
mapframe, | |||
statusbar, | |||
position = 0 |
|||
) |
Definition at line 777 of file statusbar.py.
def statusbar.SbCoordinates.ReprojectENFromMap | ( | self, | |
e, | |||
n, | |||
useDefinedProjection, | |||
precision, | |||
format | |||
) |
Reproject east, north to user defined projection.
e,n | coordinate |
SbException | if useDefinedProjection is True and projection is not defined in UserSettings |
Definition at line 799 of file statusbar.py.
References utils.Deg2DMS(), and utils.ReprojectCoordinates().
Referenced by statusbar.SbCoordinates.Show().
def statusbar.SbCoordinates.Show | ( | self | ) |
Definition at line 782 of file statusbar.py.
References statusbar.SbCoordinates.ReprojectENFromMap(), widgets.FloatSlider.SetValue(), statusbar.SbItem.SetValue(), model.ModelData.SetValue(), and dialogs.TextEntryDialog.SetValue().
statusbar.SbCoordinates.label |
Definition at line 780 of file statusbar.py.
Referenced by python.task.grassTask.get_description().
statusbar.SbCoordinates.name |
Definition at line 779 of file statusbar.py.
Referenced by python.task.grassTask.get_cmd(), and python.task.grassTask.get_name().