Beispiel #1
0
 def Show(self):
     """Shows the RMS errors."""
     self.SetValue(
         _("Forward: %(forw)s, Backward: %(back)s")
         % {"forw": self.mapFrame.GetFwdError(), "back": self.mapFrame.GetBkwError()}
     )
     SbTextItem.Show(self)
Beispiel #2
0
 def __init__(self, mapframe, statusbar, position=0):
     SbTextItem.__init__(self, mapframe, statusbar, position)
     self.name = 'RMSError'
     self.label = _("RMS error")
Beispiel #3
0
 def __init__(self, mapframe, statusbar, position=0):
     SbTextItem.__init__(self, mapframe, statusbar, position)
     self.name = "RMSError"
     self.label = _("RMS error")