Mercurial > pyarq-presupuestos
changeset 12:29a4044a95ff
svg to png
author | Miguel Ángel Bárcena Rodríguez <miguelangel@obraencurso.es> |
---|---|
date | Thu, 30 Dec 2010 12:28:33 +0100 |
parents | fe9c55f86698 |
children | ff04584f66e4 |
files | Generic/globalVars.py images/acumulatedline.png images/arrow.png images/budget.png images/calculate.png images/calculatedline.png images/chapter.png images/close.png images/connected.png images/decomposition.png images/description.png images/disconnected.png images/dxf.png images/image.png images/image.svg images/labourforce.png images/machinery.png images/material.png images/measure.png images/menu.png images/normalline.png images/parcialline.png images/sheet.png images/unit.png |
diffstat | 24 files changed, 54 insertions(+), 38 deletions(-) [+] |
line wrap: on
line diff
--- a/Generic/globalVars.py Wed Nov 24 22:56:02 2010 +0100 +++ b/Generic/globalVars.py Thu Dec 30 12:28:33 2010 +0100 @@ -21,40 +21,42 @@ # module for global variables import os -# path: Paths where find the program files needed +import sys version = "pyArq Presupuestos v0.0.0" changeset = 10 baseversion = 0 + +# path: Paths where find the program files needed path = { "HOME" : "", "APPDATA" : "", "DURUS-DATABASE": "/pyArq-Presupuestos/durus/", "BUDGET": "/pyArq-Presupuestos/budget/", - "ICON" : "/images/pyArq-Presupuestos.svg", - "CHAPTER-ICON" : "/images/chapter.svg", - "UNIT-ICON" : "/images/unit.svg", - "MATERIAL-ICON" : "/images/material.svg", - "MACHINERY-ICON" : "/images/machinery.svg", - "LABOURFORCE-ICON": "/images/labourforce.svg", - "MENU-ICON": "/images/menu.svg", - "CONNECTED-ICON": "/images/connected.svg", - "DISCONNECTED-ICON": "/images/disconnected.svg", - "CLOSE-ICON": "/images/close.svg", - "DESCRIPTION-ICON": "/images/description.svg", - "SHEET-ICON": "/images/sheet.svg", - "DECOMPOSITION-ICON" : "/images/decomposition.svg", - "MEASURE-ICON" : "/images/measure.svg", - "ACUMULATEDLINE-ICON" : "/images/acumulatedline.svg", - "PARCIALLINE-ICON" : "/images/parcialline.svg", - "NORMALLINE-ICON" : "/images/normalline.svg", - "CALCULATEDLINE-ICON" : "/images/calculatedline.svg", - "ARROW-ICON": "/images/arrow.svg", - "IMAGE-ICON": "/images/image.svg", - "DXF-ICON": "/images/dxf.svg", + "ICON" : "/images/pyArq-Presupuestos.png", + "CHAPTER-ICON" : "/images/chapter.png", + "UNIT-ICON" : "/images/unit.png", + "MATERIAL-ICON" : "/images/material.png", + "MACHINERY-ICON" : "/images/machinery.png", + "LABOURFORCE-ICON": "/images/labourforce.png", + "MENU-ICON": "/images/menu.png", + "CONNECTED-ICON": "/images/connected.png", + "DISCONNECTED-ICON": "/images/disconnected.png", + "CLOSE-ICON": "/images/close.png", + "DESCRIPTION-ICON": "/images/description.png", + "SHEET-ICON": "/images/sheet.png", + "DECOMPOSITION-ICON" : "/images/decomposition.png", + "MEASURE-ICON" : "/images/measure.png", + "ACUMULATEDLINE-ICON" : "/images/acumulatedline.png", + "PARCIALLINE-ICON" : "/images/parcialline.png", + "NORMALLINE-ICON" : "/images/normalline.png", + "CALCULATEDLINE-ICON" : "/images/calculatedline.png", + "ARROW-ICON": "/images/arrow.png", + "IMAGE-ICON": "/images/image.png", + "DXF-ICON": "/images/dxf.png", "THROBBER-ICON": "/images/throbber.png", "THROBBER-GIF": "/images/throbber.gif", - "BUDGET-ICON": "/images/budget.svg", + "BUDGET-ICON": "/images/budget.png", "PYARQ-ICON": "/images/pyArq.png", } @@ -71,6 +73,7 @@ "SUBTOTAL": "#FAC8C8", "SUBTOTAL-PARCIAL": "#ADD8E6", } + desktop = { "autodetect" : True, "desktop" : "", @@ -82,8 +85,10 @@ def getAppPath(key): return path["APPDATA"] + path[key] + def getHomePath(key): return path["HOME"] + path[key] + if os.name == 'posix': path["HOME"] = os.environ.get('HOME') elif sys.platform == 'win32':
--- a/images/image.svg Wed Nov 24 22:56:02 2010 +0100 +++ b/images/image.svg Thu Dec 30 12:28:33 2010 +0100 @@ -1,8 +1,9 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> + <svg xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://web.resource.org/cc/" + xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" @@ -12,11 +13,20 @@ height="64px" id="svg2164" sodipodi:version="0.32" - inkscape:version="0.45.1" + inkscape:version="0.47 r22583" sodipodi:docname="image.svg" - inkscape:output_extension="org.inkscape.output.svg.inkscape"> + inkscape:output_extension="org.inkscape.output.svg.inkscape" + version="1.1"> <defs - id="defs2166" /> + id="defs2166"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 32 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="64 : 32 : 1" + inkscape:persp3d-origin="32 : 21.333333 : 1" + id="perspective9" /> + </defs> <sodipodi:namedview id="base" pagecolor="#ffffff" @@ -26,15 +36,16 @@ inkscape:pageshadow="2" inkscape:zoom="5.5" inkscape:cx="32" - inkscape:cy="32.885771" + inkscape:cy="32.522135" inkscape:current-layer="layer1" showgrid="true" inkscape:document-units="px" inkscape:grid-bbox="true" - inkscape:window-width="810" - inkscape:window-height="596" - inkscape:window-x="172" - inkscape:window-y="180" /> + inkscape:window-width="1280" + inkscape:window-height="950" + inkscape:window-x="0" + inkscape:window-y="25" + inkscape:window-maximized="1" /> <metadata id="metadata2169"> <rdf:RDF> @@ -52,14 +63,14 @@ inkscape:groupmode="layer"> <text xml:space="preserve" - style="font-size:51.40524673px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Penguin Attack" - x="1.7524457" - y="33.194927" + style="font-size:45.59537888px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Penguin Attack" + x="0.036534742" + y="36.199612" id="text2181" - transform="scale(0.7948849,1.2580438)"><tspan + transform="scale(0.74853773,1.335938)"><tspan sodipodi:role="line" id="tspan2183" - x="1.7524457" - y="33.194927">img</tspan></text> + x="0.036534742" + y="36.199612">img</tspan></text> </g> </svg>