Code

Add icons to document properties grid table :-)
authorjohanengelen <johanengelen@users.sourceforge.net>
Sat, 29 Dec 2007 00:42:07 +0000 (00:42 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Sat, 29 Dec 2007 00:42:07 +0000 (00:42 +0000)
share/icons/icons.svg
src/ui/dialog/document-properties.cpp
src/ui/dialog/document-properties.h

index a528a82a026a4d312a5ed4c887d23c527b257a56..184d2a167f74bfb05c1a8a6c3e48e070c7d86b60 100644 (file)
    inkscape:output_extension="org.inkscape.output.svg.inkscape">
   <defs
      id="defs3">
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       id="perspective4714"
+       inkscape:vp_x="-50 : 600 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="700 : 600 : 1"
+       inkscape:persp3d-origin="300 : 400 : 1" />
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       id="perspective4704"
+       inkscape:vp_x="-50 : 600 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="700 : 600 : 1"
+       inkscape:persp3d-origin="300 : 400 : 1" />
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       id="perspective4702"
+       inkscape:vp_x="-50 : 600 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="700 : 600 : 1"
+       inkscape:persp3d-origin="300 : 400 : 1" />
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       id="perspective2343"
+       inkscape:vp_x="-50 : 600 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="700 : 600 : 1"
+       inkscape:persp3d-origin="300 : 400 : 1" />
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       id="perspective4672"
+       inkscape:vp_x="-50 : 600 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="700 : 600 : 1"
+       inkscape:persp3d-origin="300 : 400 : 1" />
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       id="perspective2320"
+       inkscape:vp_x="-50 : 600 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="700 : 600 : 1"
+       inkscape:persp3d-origin="300 : 400 : 1" />
     <inkscape:path-effect
        effect="skeletal"
        id="path-effect9860"
      inkscape:window-x="0"
      inkscape:window-height="1000"
      inkscape:window-width="1241"
-     inkscape:cy="1046.0601"
-     inkscape:cx="657.30672"
-     inkscape:zoom="0.42774315"
+     inkscape:cy="821.93472"
+     inkscape:cx="335.38325"
+     inkscape:zoom="19.357446"
      gridtolerance="6"
      snaptogrid="false"
-     showgrid="true"
+     showgrid="false"
      gridspacingx="0.5px"
      gridspacingy="0.5px"
      id="base"
      inkscape:grid-points="true"
      gridoriginy="0.0000000px"
      gridoriginx="0.0000000px"
-     guidetolerance="1"
+     guidetolerance="8"
      gridempspacing="2"
      fill="#8ab3de"
      stroke="#646464"
      inkscape:object-nodes="true"
-     objecttolerance="11">
+     objecttolerance="11"
+     inkscape:snap-bbox="true"
+     inkscape:snap-nodes="true"
+     inkscape:bbox-nodes="true"
+     inkscape:bbox-paths="true">
     <inkscape:grid
        type="xygrid"
        id="grid9252"
        originx="0px"
        originy="0px"
-       spacingx="0px"
-       spacingy="0px"
+       spacingx="0.5px"
+       spacingy="0.5px"
        empspacing="2" />
+    <sodipodi:guide
+       orientation="-0.5,0.8660254"
+       position="462.99911,893.99772"
+       id="guide4708" />
+    <sodipodi:guide
+       orientation="-0.5,0.8660254"
+       position="50.999997,662"
+       id="guide4710" />
+    <sodipodi:guide
+       orientation="-0.5,0.8660254"
+       position="70.4754,661.4991"
+       id="guide4712" />
+    <sodipodi:guide
+       orientation="0.5,0.8660254"
+       position="68.5,982.5"
+       id="guide4714" />
+    <sodipodi:guide
+       orientation="0.5,0.8660254"
+       position="56,984"
+       id="guide4716" />
+    <sodipodi:guide
+       orientation="0.5,0.8660254"
+       position="60.5,975.5"
+       id="guide4718" />
   </sodipodi:namedview>
   <metadata
      id="metadata1810">
@@ -13380,83 +13450,7 @@ http://www.inkscape.org/</dc:description>
        transform="scale(1.125) translate(4,-6.5)"
        id="g8862">
       <image
-         xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAYCAYAAAAVibZIAAANJWlDQ1BJQ0MgcHJvZmlsZQAAeNqt
-12k4lO/bB/DznhnGMmYYO2Fk36LshOyJyr6lZN+GmWypVEgKkSUULQgJoUQiUf3IkpAs2YqKLKUQ
-yTLPC6me33H8/8+b53x13uf94rqv+zg+3+u4AAhKLlQqGQUA/gHBgZbGeiR7B0cStg+YAQ9EkAGs
-i1sQVdfc3Az+Yy32AgIA0C3nQqWSE0NOLve+X3rVaX5fAaGkesJ/L3ygvYMjACILABxeG/0uAOBw
-3eitAYDjaDA1GADxBgAON28XdwAkHABkA60t9QGQQgDAe2301QCAd93omwEAH+rmFQyA9APQEwPc
-fQIAsDMA9NruHkFuAHhZAHB3D3LzB8AnAYCZvz/FHQA/BACSbtTAYAACBgDk7B0cSRuffCAOQIkX
-gMH0z+xoGkBlDoDk3j8zkQcAXC4AuQl/ZvOWgAAAwtUR5Km4AwAAEJweAN0IjTYvDoBNAVhLptFW
-cmm0tZsA6CGABrJbSGDor/+FIO0A/9fzxp5/FRoBQAEgokgB6jg6HBNOd4o+AhvFcIbRgLGR6Rzz
-eVwsywV8Fas3WzIxmT2F4xJnGlcadwZPIx+FP2tLlsA1wWZSiHDu1psiHWInxAskuqROSRfL9MpF
-bbsjP7D93I57im+VL6hUqY6qJ2rUaI5rpWo/1pnSTdd7qv/FMNOoyXjO5MaeVtPFvbn7Xu7vNO+0
-6LJctS6y6bHtteuz73fEHLjrNHRw+NCI89vD71xxbg/dP3h89Bz3mvD+5DPpx0l+4v854Atllvr1
-yLfAuaCF4IWQ76GLR5fCfhxbPv7zxGr46sm101IRPVHIGVQ0+iwmhu4c/XlsLEMcYzzTBeYEXCLL
-RXwSIZk1hS2VeIk9jSOdM4PrMvcVnkzeLL6r/Ne2XBe4I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ip)"
          style="filter:url(#cieblur)"
          width="36.60"
@@ -15919,4 +15913,120 @@ HMfpXQMffuRJXok8jsipdCSfv+XLrWvB7u+oLhrHsQRBJO+82ZKP3/Xk1nLQm+++W61W78ft83+d
        width="1250"
        height="1250" />
   </g>
+  <g
+     id="grid_xy">
+    <path
+       sodipodi:nodetypes="cc"
+       id="path5235"
+       d="M 305.5,421.5 L 305.5,436.5"
+       style="fill:none;fill-rule:evenodd;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+    <use
+       style="stroke-linecap:round"
+       height="1250"
+       width="1250"
+       transform="translate(4,0)"
+       id="use5238"
+       xlink:href="#path5235"
+       y="0"
+       x="0" />
+    <use
+       style="stroke-linecap:round"
+       x="0"
+       y="0"
+       xlink:href="#path5235"
+       id="use5244"
+       transform="translate(8,0)"
+       width="1250"
+       height="1250" />
+    <use
+       style="stroke-linecap:round"
+       height="1250"
+       width="1250"
+       transform="translate(12,0)"
+       id="use5246"
+       xlink:href="#path5235"
+       y="0"
+       x="0" />
+    <path
+       style="fill:none;fill-rule:evenodd;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="M 319.5,423.5 L 304.5,423.5"
+       id="path5252"
+       sodipodi:nodetypes="cc" />
+    <use
+       style="stroke-linecap:round"
+       height="1250"
+       width="1250"
+       transform="translate(0,4)"
+       id="use5254"
+       xlink:href="#path5252"
+       y="0"
+       x="0" />
+    <use
+       style="stroke-linecap:round"
+       x="0"
+       y="0"
+       xlink:href="#path5252"
+       id="use5257"
+       transform="translate(0,8)"
+       width="1250"
+       height="1250" />
+    <use
+       style="stroke-linecap:round"
+       height="1250"
+       width="1250"
+       transform="translate(0,12)"
+       id="use5259"
+       xlink:href="#path5252"
+       y="0"
+       x="0" />
+  </g>
+  <g
+     id="grid_axonom"
+     inkscape:label="#grid_axonom">
+    <path
+       style="fill:none;fill-rule:evenodd;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="M 332.5,421.5 L 332.5,436.5"
+       id="path4674"
+       sodipodi:nodetypes="cc" />
+    <path
+       sodipodi:nodetypes="cc"
+       id="path5266"
+       d="M 342.5,421.5 L 342.5,436.5"
+       style="fill:none;fill-rule:evenodd;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+    <path
+       style="fill:none;fill-rule:evenodd;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="M 337.5,421.5 L 337.5,436.5"
+       id="path5268"
+       sodipodi:nodetypes="cc" />
+    <path
+       sodipodi:nodetypes="cc"
+       id="path4720"
+       d="M 330.48514,424.47407 L 345.50084,433.14339"
+       style="fill:none;fill-rule:evenodd;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
+    <path
+       style="fill:none;fill-rule:evenodd;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="M 330.43214,430.34539 L 341.06573,436.4847"
+       id="path5309"
+       sodipodi:nodetypes="cc" />
+    <path
+       sodipodi:nodetypes="cc"
+       id="path5311"
+       d="M 335.15282,421.45208 L 345.46054,427.40324"
+       style="fill:none;fill-rule:evenodd;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+    <path
+       sodipodi:nodetypes="cc"
+       id="path5313"
+       d="M 330.43316,426.66919 L 339.44775,421.46461"
+       style="fill:none;fill-rule:evenodd;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+    <path
+       style="fill:none;fill-rule:evenodd;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="M 330.46961,432.51822 L 345.47135,423.85696"
+       id="path5315"
+       sodipodi:nodetypes="cc" />
+    <path
+       sodipodi:nodetypes="cc"
+       id="path5317"
+       d="M 333.63656,436.56474 L 345.53668,429.6942"
+       style="fill:none;fill-rule:evenodd;stroke:#0000ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+  </g>
 </svg>
index 5ffe3dcb89bccf3b3d72e5254caac96cc932c41f..7bbafcea0271678551286670555865b2f789dd48 100644 (file)
@@ -35,7 +35,7 @@
 #include "desktop-handles.h"
 #include "desktop.h"
 #include "sp-namedview.h"
-
+#include "widgets/icon.h"
 #include "document-properties.h"
 
 #include "display/canvas-grid.h"
@@ -49,6 +49,10 @@ namespace Dialog {
 #define SPACE_SIZE_X 15
 #define SPACE_SIZE_Y 10
 
+#define INKSCAPE_ICON_GRID_XY     "grid_xy"
+#define INKSCAPE_ICON_GRID_AXONOM "grid_axonom"
+
+
 //===================================================
 
 //---------------------------------------------------
@@ -407,7 +411,19 @@ DocumentProperties::update_gridspage()
     for (GSList const * l = nv->grids; l != NULL; l = l->next) {
         Inkscape::CanvasGrid * grid = (Inkscape::CanvasGrid*) l->data;
         if (!grid->repr->attribute("id")) continue; // update_gridspage is called again when "id" is added
-        _grids_notebook.append_page(grid->getWidget(), grid->repr->attribute("id"));
+        Glib::ustring name(grid->repr->attribute("id"));
+        const char *icon = NULL;
+        switch (grid->getGridType()) {
+            case GRID_RECTANGULAR:
+                icon = INKSCAPE_ICON_GRID_XY;
+                break;
+            case GRID_AXONOMETRIC:
+                icon = INKSCAPE_ICON_GRID_AXONOM;
+                break;
+            default:
+                break;
+        }
+        _grids_notebook.append_page(grid->getWidget(), _createPageTabLabel(name, icon));
         grids_present = true;
     }
     _grids_notebook.show_all();
@@ -519,6 +535,22 @@ DocumentProperties::update()
     _wr.setUpdating (false);
 }
 
+// TODO: copied from fill-and-stroke.cpp factor out into new ui/widget file?
+Gtk::HBox&
+DocumentProperties::_createPageTabLabel(const Glib::ustring& label, const char *label_image)
+{
+    Gtk::HBox *_tab_label_box = manage(new Gtk::HBox(false, 0));
+    _tab_label_box->set_spacing(4);
+    _tab_label_box->pack_start(*Glib::wrap(sp_icon_new(Inkscape::ICON_SIZE_DECORATION,
+                                                       label_image)));
+
+    Gtk::Label *_tab_label = manage(new Gtk::Label(label, true));
+    _tab_label_box->pack_start(*_tab_label);
+    _tab_label_box->show_all();
+
+    return *_tab_label_box;
+}
+
 //--------------------------------------------------------------------
 
 void
index b4076fbe743d094bf32fc80feb49b3e82ba45ff2..cee1533c521b492e4cb9f46c044aacd232df73a9 100644 (file)
@@ -99,6 +99,8 @@ protected:
     gchar const *_prefs_path;
     Registry _wr;
 
+    Gtk::HBox& _createPageTabLabel(const Glib::ustring& label, const char *label_image);
+
 private:
     DocumentProperties();
     virtual ~DocumentProperties();