Selaa lähdekoodia

wxGUI: define some icons for ps.map GUI

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45494 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 vuotta sitten
vanhempi
commit
165132e87c
1 muutettua tiedostoa jossa 22 lisäystä ja 4 poistoa
  1. 22 4
      gui/wxpython/icons/icon.py

+ 22 - 4
gui/wxpython/icons/icon.py

@@ -391,10 +391,28 @@ Icons = {
                                 label = _('Quit Graphical Modeler')),
         },
     'psMap' : {
-        'script' : MetaIcon(img = iconSet['ps-script'],
-                            label = _('Generate instruction file')),
-        'export' : MetaIcon(img = iconSet['ps-export'],
-                            label = _('Generate PostScript output')),
+        'script'     : MetaIcon(img = iconSet['ps-script'],
+                                label = _('Generate instruction file')),
+        'export'     : MetaIcon(img = iconSet['ps-export'],
+                                label = _('Generate PostScript output')),
+        'pageSetup'  : MetaIcon(img = iconSet['settings'],
+                                label = _('Page setup'),
+                                desc = _('Specify paper size, margins and orientation')),
+        'fullExtent' : MetaIcon(img = iconSet['zoom-extent'],
+                                label = _("Full extent"),
+                                desc = _("Zoom to full extent")),
+        'addRast'    : MetaIcon(img = iconSet['layer-raster-add'],
+                                label = _("Raster map"),
+                                desc = _("Click and drag to place raster map")),
+        'addVect'   : MetaIcon(img = iconSet['layer-vector-add'],
+                               label = _("Vector map"),
+                               desc = _("Add vector map")),
+        'deleteObj' : MetaIcon(img = iconSet['layer-remove'],
+                               label = _("Delete selected object")),
+        'preview'   : MetaIcon(img = iconSet['execute'],
+                               label = _("Show preview")),
+        'quit'      : MetaIcon(img = iconSet['quit'],
+                               label = _('Quit Hardcopy Map Utility')),
         },
     'misc' : {
         'font' : MetaIcon(img = iconSet['font'],