소스 검색

GCP Manager update

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43364 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 년 전
부모
커밋
130ff51900
4개의 변경된 파일217개의 추가작업 그리고 1381개의 파일을 삭제
  1. 7 5
      gui/wxpython/gui_modules/gcpmanager.py
  2. 210 1376
      gui/wxpython/gui_modules/gcpmapdisp.py
  3. BIN
      gui/wxpython/images/small_down_arrow.png
  4. BIN
      gui/wxpython/images/small_up_arrow.png

+ 7 - 5
gui/wxpython/gui_modules/gcpmanager.py

@@ -19,9 +19,9 @@ Classes:
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.
 
-@author Markus Metz
 @author Michael Barton
 @author Updated by Martin Landa <landa.martin gmail.com>
+@author Markus Metz redesign georectfier -> GCP Manager
 """
 
 import os
@@ -1519,6 +1519,9 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
             if os.path.exists(self.file['points_bak']):
                 os.unlink(self.file['points_bak'])
 
+            self.SrcMap.Clean()
+            self.TgtMap.Clean()
+
             self.grwiz.Cleanup()
 
             self.Destroy()
@@ -1746,10 +1749,9 @@ class GCP(MapFrame, wx.Frame, ColumnSorterMixin):
 
     def OnHelp(self, event):
         """!Show GCP Manager manual page"""
-        gcmd.RunCommand('g.manual',
-                        quiet = True,
-                        parent = None,
-                        entry = 'wxGUI.GCP_Manager')
+        cmdlist = ['g.manual', 'entry=wxGUI.GCP_Manager']
+        self.parent.goutput.RunCmd(cmdlist, compReg=False,
+                                       switchPage=False)
 
     def OnUpdateActive(self, event):
 

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 210 - 1376
gui/wxpython/gui_modules/gcpmapdisp.py


BIN
gui/wxpython/images/small_down_arrow.png


BIN
gui/wxpython/images/small_up_arrow.png