소스 검색

wxGUI: add r.colors.stddev and v.colors to the menu
(merge from devbr6, https://trac.osgeo.org/grass/changeset/34725)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34726 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 16 년 전
부모
커밋
8ccd7be195
1개의 변경된 파일18개의 추가작업 그리고 5개의 파일을 삭제
  1. 18 5
      gui/wxpython/gui_modules/menudata.py

+ 18 - 5
gui/wxpython/gui_modules/menudata.py

@@ -630,6 +630,11 @@ class Data:
                                  "self.OnMenuCmd",
                                  "r.colors"),
 
+                                (_("Color tables (stddev)"),
+                                 _("Set color rules based on stddev from a map's mean value."),
+                                 "self.OnMenuCmd",
+                                 "r.colors.stddev"),
+
                                 (_("Color rules"),
                                  _("Set colors interactively by entering color rules"),
                                  "self.RulesCmd",
@@ -1320,12 +1325,20 @@ class Data:
                                  "v.proj"),
                                 )
                          ),
-                        ("","","", ""),
+                        
+                        (_("Manage colors"), (
 
-                        (_("Manage colors"),
-                         _("Set colors interactively by entering color rules"),
-                         "self.RulesCmd",
-                         "vcolors"),
+                                (_("Color tables"),
+                                 _("Set color rules for features in a vector using a numeric attribute column."),
+                                 "self.OnMenuCmd",
+                                 "v.colors"),
+
+                                (_("Color rules"),
+                                 _("Set colors interactively by entering color rules"),
+                                 "self.RulesCmd",
+                                 "vcolors"),
+                                ),
+                         ),
                         ("","","", ""),
 
                         (_("Query with attributes"),