Skip to content
Permalink
Browse files

[dbmanager] vectorize icons to fix toolbar in hidpi context

  • Loading branch information
nirvn committed Jul 2, 2018
1 parent 7cb80a2 commit 7e8ec00c9b92b50e2e73f08a2bba65de60ac5667
@@ -234,19 +234,22 @@
<file>themes/default/mActionConditionalFormatting.svg</file>
<file>themes/default/mActionContextHelp.png</file>
<file>themes/default/mActionCreateMemory.svg</file>
<file>themes/default/mActionCreateTable.svg</file>
<file>themes/default/mActionCustomProjection.svg</file>
<file>themes/default/mActionDecreaseBrightness.svg</file>
<file>themes/default/mActionDecreaseContrast.svg</file>
<file>themes/default/mActionDeleteAttribute.svg</file>
<file>themes/default/mActionDeletePart.svg</file>
<file>themes/default/mActionDeleteRing.svg</file>
<file>themes/default/mActionDeleteSelected.svg</file>
<file>themes/default/mActionDeleteTable.svg</file>
<file>themes/default/mActionDeselectAll.svg</file>
<file>themes/default/mActionDuplicateLayer.svg</file>
<file>themes/default/mActionDuplicateComposer.svg</file>
<file>themes/default/mActionEditCopy.svg</file>
<file>themes/default/mActionEditCut.svg</file>
<file>themes/default/mActionEditPaste.svg</file>
<file>themes/default/mActionEditTable.svg</file>
<file>themes/default/mActionExpandNewTree.svg</file>
<file>themes/default/mActionExpandTree.svg</file>
<file>themes/default/mActionFileExit.svg</file>
@@ -1,22 +1 @@
<svg height="24" width="24" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0 -8)">
<path d="m2.5 15.5h19v14h-19z" fill="#e6e6e6" stroke="#6e97c4"/>
<path d="m2.5 10.5h19v5h-19z" fill="#bad9ec" stroke="#6e97c4"/>
<path d="m5 13h4" fill="none" overflow="visible" stroke="#6e97c4" stroke-width="2"/>
<path d="m11 13h7.999999" fill="none" stroke="#6e97c4" stroke-width="2"/>
<path d="m5 17.5h4" fill="none" overflow="visible" stroke="#6e97c4"/>
<path d="m11 17.5h7.999999" fill="none" stroke="#6e97c4"/>
<path d="m5 20.5h4" fill="none" overflow="visible" stroke="#6e97c4"/>
<path d="m11 20.5h7.999999" fill="none" stroke="#6e97c4"/>
<path d="m5 23.5h4" fill="none" overflow="visible" stroke="#6e97c4"/>
<path d="m11 23.5h7.999999" fill="none" stroke="#6e97c4"/>
<path d="m5 26.5h4" fill="none" overflow="visible" stroke="#6e97c4"/>
<path d="m11 26.5h7.999999" fill="none" stroke="#6e97c4"/>
<g transform="matrix(.69230769 0 0 .69230769 1.8461539 9.8461539)">
<rect fill="#5a8c5a" height="13" rx="2.6149371" ry="2.6149368" width="13" x="19" y="19"/>
<path d="m21.6 25.499999l7.8 0" style="fill:#fff;fill-rule:evenodd;stroke:#fff;stroke-width:2.5999999;stroke-linecap:round;stroke-linejoin:round;overflow:visible"/>
<path d="m25.5 29.399999l0-7.799999" style="fill:#fff;fill-rule:evenodd;stroke:#fff;stroke-width:2.5999999;stroke-linecap:round;stroke-linejoin:round;overflow:visible"/>
<path d="m20.3 25.499999h10.4c0 0 0 0 0-2.6 0-2.599999-.65-2.599999-5.2-2.599999-4.55 0-5.2 0-5.2 2.599999 0 2.6 0 2.6 0 2.6z" fill="#fcffff" fill-rule="evenodd" opacity=".3"/>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24"><path d="M2.5 7.5h19v14h-19z" fill="#e6e6e6" stroke="#6e97c4"/><path d="M2.5 2.5h19v5h-19z" fill="#bad9ec" stroke="#6e97c4"/><path overflow="visible" d="M5 5h4" fill="none" stroke="#6e97c4" stroke-width="2"/><path d="M11 5h8" fill="none" stroke="#6e97c4" stroke-width="2"/><path overflow="visible" d="M5 9.5h4" fill="none" stroke="#6e97c4"/><path d="M11 9.5h8" fill="none" stroke="#6e97c4"/><path overflow="visible" d="M5 12.5h4" fill="none" stroke="#6e97c4"/><path d="M11 12.5h8" fill="none" stroke="#6e97c4"/><path overflow="visible" d="M5 15.5h4" fill="none" stroke="#6e97c4"/><path d="M11 15.5h8" fill="none" stroke="#6e97c4"/><path overflow="visible" d="M5 18.5h4" fill="none" stroke="#6e97c4"/><path d="M11 18.5h8" fill="none" stroke="#6e97c4"/><g transform="translate(-.615 -.615) scale(.76923)" stroke-width=".9"><rect y="19" x="19" width="13" ry="2.353" rx="2.353" height="13" fill="#5a8c5a"/><path d="M21.6 25.5h7.8M25.5 29.4v-7.8" overflow="visible" fill="#fff" fill-rule="evenodd" stroke="#fff" stroke-width="2.34" stroke-linecap="round" stroke-linejoin="round"/><path d="M20.3 25.5h10.4v-2.6c0-2.6-.65-2.6-5.2-2.6s-5.2 0-5.2 2.6v2.6z" opacity=".3" fill="#fcffff" fill-rule="evenodd"/></g></svg>
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24"><path d="M2.5 7.5h19v14h-19z" fill="#e6e6e6" stroke="#6e97c4"/><path d="M2.5 2.5h19v5h-19z" fill="#bad9ec" stroke="#6e97c4"/><path overflow="visible" d="M5 5h4" fill="none" stroke="#6e97c4" stroke-width="2"/><path d="M11 5h8" fill="none" stroke="#6e97c4" stroke-width="2"/><path overflow="visible" d="M5 9.5h4" fill="none" stroke="#6e97c4"/><path d="M11 9.5h8" fill="none" stroke="#6e97c4"/><path overflow="visible" d="M5 12.5h4" fill="none" stroke="#6e97c4"/><path d="M11 12.5h8" fill="none" stroke="#6e97c4"/><path overflow="visible" d="M5 15.5h4" fill="none" stroke="#6e97c4"/><path d="M11 15.5h8" fill="none" stroke="#6e97c4"/><path overflow="visible" d="M5 18.5h4" fill="none" stroke="#6e97c4"/><path d="M11 18.5h8" fill="none" stroke="#6e97c4"/><g transform="matrix(.9091 0 0 .9091 32.182 2.182)" stroke-width="1.1"><rect height="11" rx="2.213" width="11" x="-20" y="13" ry="2.213" fill="#c4a000"/><path d="M-15 14v2.063a2.501 2.501 0 0 0-1.375.78l-1.781-1.03-.5.874 1.781 1.032A2.46 2.46 0 0 0-17 18.5c0 .275.043.534.125.781l-1.781 1.032.5.875 1.781-1.032c.353.4.833.67 1.375.782V23h1v-2.063a2.501 2.501 0 0 0 1.375-.78l1.781 1.03.5-.875-1.781-1.03A2.46 2.46 0 0 0-12 18.5a2.46 2.46 0 0 0-.125-.781l1.781-1.032-.5-.875-1.781 1.032c-.353-.4-.833-.67-1.375-.782V14zm.5 3.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" fill="#fcffff"/><path d="M-19 19l9-.01v-2C-10 14-11 14-14.5 14s-4.5 0-4.5 3v2z" opacity=".3" fill="#fcffff" fill-rule="evenodd"/></g></svg>
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24"><path d="M2.5 7.5h19v14h-19z" fill="#e6e6e6" stroke="#6e97c4"/><path d="M2.5 2.5h19v5h-19z" fill="#bad9ec" stroke="#6e97c4"/><path overflow="visible" d="M5 5h4" fill="none" stroke="#6e97c4" stroke-width="2"/><path d="M11 5h8" fill="none" stroke="#6e97c4" stroke-width="2"/><path overflow="visible" d="M5 9.5h4" fill="none" stroke="#6e97c4"/><path d="M11 9.5h8" fill="none" stroke="#6e97c4"/><path overflow="visible" d="M5 12.5h4" fill="none" stroke="#6e97c4"/><path d="M11 12.5h8" fill="none" stroke="#6e97c4"/><path overflow="visible" d="M5 15.5h4" fill="none" stroke="#6e97c4"/><path d="M11 15.5h8" fill="none" stroke="#6e97c4"/><path overflow="visible" d="M5 18.5h4" fill="none" stroke="#6e97c4"/><path d="M11 18.5h8" fill="none" stroke="#6e97c4"/><g transform="translate(30.287 .805)"><rect y="13.195" x="-16.287" width="10" rx="2.011" height="10" ry="2.011" fill="#d26464"/><path d="M-15.287 18.195h8v-2c0-2-.5-2-4-2s-4 0-4 2v2z" opacity=".3" fill="#fcffff" fill-rule="evenodd"/><path d="M-13.409 20.316l4.243-4.242M-13.409 16.074l4.243 4.242" overflow="visible" fill="#fff" fill-rule="evenodd" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24"><path d="M2.5 7.5h19v14h-19z" fill="#e6e6e6" stroke="#6e97c4"/><path d="M2.5 2.5h19v5h-19z" fill="#bad9ec" stroke="#6e97c4"/><path overflow="visible" d="M5 5h4" fill="none" stroke="#6e97c4" stroke-width="2"/><path d="M11 5h8" fill="none" stroke="#6e97c4" stroke-width="2"/><path overflow="visible" d="M5 9.5h4" fill="none" stroke="#6e97c4"/><path d="M11 9.5h8" fill="none" stroke="#6e97c4"/><path overflow="visible" d="M5 12.5h4" fill="none" stroke="#6e97c4"/><path d="M11 12.5h8" fill="none" stroke="#6e97c4"/><path overflow="visible" d="M5 15.5h4" fill="none" stroke="#6e97c4"/><path d="M11 15.5h8" fill="none" stroke="#6e97c4"/><path overflow="visible" d="M5 18.5h4" fill="none" stroke="#6e97c4"/><path d="M11 18.5h8" fill="none" stroke="#6e97c4"/><g stroke-width="1.002" stroke-linejoin="round" stroke-dashoffset=".5"><path d="M-23.498 8.015l4.993 2.895-5.96 4.333z" overflow="visible" fill="#505050" stroke="#2a2a2a" stroke-width=".752" stroke-linecap="round" transform="matrix(1 0 0 .99552 29.84 7.45)"/><path d="M-15.33-6.189l4.993 2.895-8.168 14.204-4.993-2.895 8.168-14.204" overflow="visible" fill="#fb7123" stroke="#474747" stroke-width=".752" stroke-linecap="round" transform="matrix(1 0 0 .99552 29.84 7.45)"/><path d="M-13.73-4.147l-7.207 12.533" overflow="visible" opacity=".5" fill="none" stroke="#fcffff" stroke-width="2.004" transform="matrix(1 0 0 .99552 29.84 7.45)"/><path d="M-12.066-3.183l-7.207 12.534" overflow="visible" opacity=".363" fill-opacity=".706" stroke="#000" stroke-width="2.004" transform="matrix(1 0 0 .99552 29.84 7.45)"/><path d="M-23.195 13.985l4.038-3.168-1.662-.963-2.376 4.13z" overflow="visible" fill="#969696" stroke="#969696" stroke-width=".501" stroke-linecap="square" transform="matrix(1 0 0 .99552 29.84 7.45)"/><path d="M-14.986-7.232l5.377 3.117-1.047 1.82-5.377-3.117z" overflow="visible" fill="#e6e6e6" stroke="#969696" stroke-width=".501" stroke-linecap="round" transform="matrix(1 0 0 .99552 29.84 7.45)"/><path d="M-23.882 13.763l.79-5.226 1.662.963z" overflow="visible" fill="#e6e6e6" stroke="#e6e6e6" stroke-width=".501" stroke-linecap="square" transform="matrix(1 0 0 .99552 29.84 7.45)"/></g></svg>
@@ -1,47 +1 @@
<svg height="24" width="24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<linearGradient id="a">
<stop offset="0" stop-color="#fff"/>
<stop offset="1" stop-color="#fff" stop-opacity="0"/>
</linearGradient>
<linearGradient id="b">
<stop offset="0" stop-color="#3465a4"/>
<stop offset="1" stop-color="#3465a4"/>
</linearGradient>
<linearGradient id="c" gradientUnits="userSpaceOnUse" x1="16.43117654" x2="18.8648894" y1="17.16936102" y2="13.9581506">
<stop offset="0" stop-color="#c4d7eb"/>
<stop offset="1" stop-color="#c4d7eb" stop-opacity="0"/>
</linearGradient>
<linearGradient id="d" gradientUnits="userSpaceOnUse" x1="18.64164678" x2="18.8648894" y1="17.55379011" y2="13.9581506">
<stop offset="0" stop-color="#2b5b95"/>
<stop offset="1" stop-color="#5c8fce" stop-opacity="0"/>
</linearGradient>
<linearGradient id="e" gradientUnits="userSpaceOnUse" x1="6.26245546" x2="7.31763557" y1="5.29538208" y2="9.91812356">
<stop offset="0" stop-color="#264976"/>
<stop offset=".33333334" stop-color="#3f689d"/>
<stop offset="1" stop-color="#5689ca" stop-opacity="0"/>
</linearGradient>
<linearGradient id="f" gradientTransform="matrix(-.54366543 0 0 -.54366543 24.520886 24.602464)" gradientUnits="userSpaceOnUse" x1="37.128052" x2="37.065414" y1="29.729605" y2="26.194071">
<stop offset="0" stop-color="#3465a4"/>
<stop offset="1" stop-color="#3465a4" stop-opacity="0"/>
</linearGradient>
<linearGradient id="g" gradientTransform="matrix(-.31481001 -.26597636 -.26597636 .31481001 29.624784 6.9463618)" gradientUnits="userSpaceOnUse" x1="62.513836" x2="15.984863" y1="36.061237" y2="20.60858">
<stop offset="0" stop-color="#8cb0d8"/>
<stop offset="1" stop-color="#4580bf"/>
</linearGradient>
<linearGradient id="h" gradientTransform="matrix(-.31481001 -.26597636 -.26597636 .31481001 29.624784 6.9463618)" gradientUnits="userSpaceOnUse" x1="46.834816" x2="45.380436" xlink:href="#b" y1="45.264122" y2="50.939667"/>
<linearGradient id="i" gradientTransform="matrix(-.27647345 -.2335864 -.2335864 .27647345 27.52251 6.9431596)" gradientUnits="userSpaceOnUse" x1="5.9649176" x2="52.854097" xlink:href="#a" y1="26.048164" y2="26.048164"/>
<linearGradient id="j" gradientTransform="matrix(.31481001 .26597636 .26597636 -.31481001 -5.6247834 17.053638)" gradientUnits="userSpaceOnUse" x1="18.935766" x2="53.588622" y1="23.667896" y2="26.649362">
<stop offset="0" stop-color="#4580bf"/>
<stop offset="1" stop-color="#376da5"/>
</linearGradient>
<linearGradient id="k" gradientTransform="matrix(.31481001 .26597636 .26597636 -.31481001 -5.6247834 17.053638)" gradientUnits="userSpaceOnUse" x1="46.834816" x2="45.380436" xlink:href="#b" y1="45.264122" y2="50.939667"/>
<linearGradient id="l" gradientUnits="userSpaceOnUse" x1="5.9649176" x2="52.854097" xlink:href="#a" y1="26.048164" y2="26.048164"/>
<path d="m9.6380447 5.3363153c0 0-4.859009-.339791-3.363929 5.3686967l-4.1794288 0c0 0 .2718334-6.4560275 7.5433578-5.3686967z" display="block" fill="url(#e)" overflow="visible" stroke="url(#f)" stroke-width=".54366523"/>
<path d="m2.3166536 10.974618c-1.99567604-9.4611533 8.1060254-13.0157232 16.9126604-6.068341l2.595573-2.8495355-.05203 9.3142575-8.134281-.0083c0 0 2.707476-3.0437044 2.707476-3.0437044-6.19351-4.6938594-14.1257019-4.3424882-14.0293984 2.6556234z" display="block" fill="url(#g)" overflow="visible" stroke="url(#h)" stroke-width=".54366541"/>
<path d="m14.10811 18.63109c0 0 4.85901.339792 3.363928-5.368696l4.227482 0c0 .816912-.319885 6.456028-7.59141 5.368696z" display="block" fill="url(#c)" overflow="visible" stroke="url(#d)" stroke-width=".54366523"/>
<path d="m21.683347 13.025385c1.995675 9.461151-8.106025 13.01572-16.9126591 6.068337l-2.5276165 2.951473.018059-9.348232 7.9643866-.05958c0 0-2.5715603 3.043703-2.5715603 3.043703 6.1935013 4.693784 14.1256933 4.342411 14.0293903-2.655699z" display="block" fill="url(#j)" overflow="visible" stroke="url(#k)" stroke-width=".54366541"/>
<path d="m2.5212404 21.213501l.033973-8.087024 7.03367-.203875-2.386079 2.815545 2.102478 1.290226c-1.630995 1.223248-2.47343 1.316827-3.017097 2.709971l-1.5314284-1.147283-2.235522 2.62244z" fill="#e6e6e6" opacity=".27222224" overflow="visible"/>
<path d="m51.090265 45.943705c9.1202-15.21975-4.458651-33.742575-31.605207-33.995126l.028406-8.2452956-12.9792661 15.5933556 12.8334631 10.972121c0 0 .05562-9.006878.05562-9.006878 17.527815-.223909 35.195185 10.103372 31.666984 24.681823z" style="fill:none;stroke-width:1.50208926;display:block;overflow:visible;stroke:url(#l);opacity:.5" transform="matrix(.27647344 .23358641 .23358641 -.27647344 -3.4784818 17.056466)"/>
<path d="m2.4514039 7.7968307c1.0336334-6.3382114 9.1587901-8.40687246 16.8250221-2.1016507l1.952114-2.1503244.01401 7.2749714-6.382883.0018c0 0 2.258403-2.5711148 2.258403-2.5711148-5.133489-4.1561643-12.1688339-5.1045013-14.6666661-.4536815z" style="opacity:.5;fill:none;stroke-width:.54366535;display:block;overflow:visible;stroke:url(#i)"/>
<path d="m2.3853236 8.6472915c1.9536258-5.6765606 8.9399164-3.3406119 10.9752464-2.446496 2.26997.1149715 3.085159-1.5412937 4.89299-1.6309962-7.638358-5.32248256-15.6643619-3.5338254-15.8682364 4.0774922z" fill="#fff" opacity=".27222224" overflow="visible"/>
</svg>
<svg height="24" width="24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="b"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="a"><stop offset="0" stop-color="#3465a4"/><stop offset="1" stop-color="#3465a4"/></linearGradient><linearGradient id="g" gradientUnits="userSpaceOnUse" x1="16.431" x2="18.865" y1="17.169" y2="13.958"><stop offset="0" stop-color="#c4d7eb"/><stop offset="1" stop-color="#c4d7eb" stop-opacity="0"/></linearGradient><linearGradient id="h" gradientUnits="userSpaceOnUse" x1="18.642" x2="18.865" y1="17.554" y2="13.958"><stop offset="0" stop-color="#2b5b95"/><stop offset="1" stop-color="#5c8fce" stop-opacity="0"/></linearGradient><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="6.262" x2="7.318" y1="5.295" y2="9.918"><stop offset="0" stop-color="#264976"/><stop offset=".333" stop-color="#3f689d"/><stop offset="1" stop-color="#5689ca" stop-opacity="0"/></linearGradient><linearGradient id="d" gradientTransform="matrix(-.54367 0 0 -.54367 24.52 24.602)" gradientUnits="userSpaceOnUse" x1="37.128" x2="37.065" y1="29.73" y2="26.194"><stop offset="0" stop-color="#3465a4"/><stop offset="1" stop-color="#3465a4" stop-opacity="0"/></linearGradient><linearGradient id="e" gradientTransform="matrix(-.31481 -.26598 -.26598 .31481 29.625 6.946)" gradientUnits="userSpaceOnUse" x1="62.514" x2="15.985" y1="36.061" y2="20.609"><stop offset="0" stop-color="#8cb0d8"/><stop offset="1" stop-color="#4580bf"/></linearGradient><linearGradient id="f" gradientTransform="matrix(-.31481 -.26598 -.26598 .31481 29.625 6.946)" gradientUnits="userSpaceOnUse" x1="46.835" x2="45.38" xlink:href="#a" y1="45.264" y2="50.94"/><linearGradient id="l" gradientTransform="matrix(-.27647 -.23359 -.23359 .27647 27.523 6.943)" gradientUnits="userSpaceOnUse" x1="5.965" x2="52.854" xlink:href="#b" y1="26.048" y2="26.048"/><linearGradient id="i" gradientTransform="matrix(.31481 .26598 .26598 -.31481 -5.625 17.054)" gradientUnits="userSpaceOnUse" x1="18.936" x2="53.589" y1="23.668" y2="26.649"><stop offset="0" stop-color="#4580bf"/><stop offset="1" stop-color="#376da5"/></linearGradient><linearGradient id="j" gradientTransform="matrix(.31481 .26598 .26598 -.31481 -5.625 17.054)" gradientUnits="userSpaceOnUse" x1="46.835" x2="45.38" xlink:href="#a" y1="45.264" y2="50.94"/><linearGradient id="k" gradientUnits="userSpaceOnUse" x1="5.965" x2="52.854" xlink:href="#b" y1="26.048" y2="26.048"/><path d="M9.638 5.336s-4.859-.34-3.364 5.369h-4.18s.273-6.456 7.544-5.369z" display="block" fill="url(#c)" overflow="visible" stroke="url(#d)" stroke-width=".544"/><path d="M2.317 10.975C.32 1.513 10.423-2.041 19.229 4.906l2.596-2.85-.052 9.315-8.134-.008 2.707-3.044C10.153 3.625 2.22 3.977 2.316 10.975z" display="block" fill="url(#e)" overflow="visible" stroke="url(#f)" stroke-width=".544"/><path d="M14.108 18.631s4.86.34 3.364-5.369H21.7c0 .817-.32 6.456-7.592 5.37z" display="block" fill="url(#g)" overflow="visible" stroke="url(#h)" stroke-width=".544"/><path d="M21.683 13.025c1.996 9.462-8.106 13.016-16.912 6.069l-2.528 2.951.018-9.348 7.965-.06-2.572 3.044c6.193 4.694 14.126 4.342 14.03-2.656z" display="block" fill="url(#i)" overflow="visible" stroke="url(#j)" stroke-width=".544"/><path d="M2.521 21.214l.034-8.088 7.034-.203-2.386 2.815 2.102 1.29c-1.63 1.224-2.473 1.317-3.017 2.71l-1.531-1.147-2.236 2.623z" fill="#e6e6e6" opacity=".272" overflow="visible"/><path d="M51.09 45.944c9.12-15.22-4.458-33.743-31.605-33.995l.028-8.246L6.534 19.297l12.834 10.972.055-9.007c17.528-.224 35.195 10.103 31.667 24.682z" transform="matrix(.27647 .23359 .23359 -.27647 -3.478 17.056)" fill="none" stroke-width="1.502" display="block" overflow="visible" stroke="url(#k)" opacity=".5"/><path d="M2.451 7.797c1.034-6.338 9.16-8.407 16.825-2.102l1.953-2.15.014 7.275-6.383.002 2.258-2.571C11.985 4.094 4.95 3.146 2.451 7.797z" opacity=".5" fill="none" stroke-width=".544" display="block" overflow="visible" stroke="url(#l)"/><path d="M2.385 8.647c1.954-5.676 8.94-3.34 10.976-2.446 2.27.115 3.085-1.541 4.893-1.631C10.615-.753 2.589 1.036 2.385 8.647z" fill="#fff" opacity=".272" overflow="visible"/></svg>
@@ -29,7 +29,7 @@
from qgis.PyQt.QtGui import QIcon, QKeySequence

from qgis.gui import QgsMessageBar
from qgis.core import Qgis, QgsSettings, QgsMapLayer
from qgis.core import Qgis, QgsApplication, QgsSettings, QgsMapLayer
from qgis.utils import OverrideCursor

from .info_viewer import InfoViewer
@@ -429,7 +429,7 @@ def setupUi(self):
sep.setObjectName("DB_Manager_DbMenu_placeholder")
sep.setVisible(False)

self.actionRefresh = self.menuDb.addAction(QIcon(":/db_manager/actions/refresh"), self.tr("&Refresh"),
self.actionRefresh = self.menuDb.addAction(QgsApplication.getThemeIcon("/mActionRefresh.svg"), self.tr("&Refresh"),
self.refreshActionSlot, QKeySequence("F5"))
self.actionSqlWindow = self.menuDb.addAction(QIcon(":/db_manager/actions/sql_window"), self.tr("&SQL Window"),
self.runSqlWindow, QKeySequence("F2"))
@@ -463,5 +463,11 @@ def setupUi(self):
# add actions to the toolbar
self.toolBar.addAction(self.actionRefresh)
self.toolBar.addAction(self.actionSqlWindow)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionImport)
self.toolBar.addAction(self.actionExport)

widget = self.toolBar.widgetForAction(self.actionImport)
widget.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
widget = self.toolBar.widgetForAction(self.actionExport)
widget.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)

0 comments on commit 7e8ec00

Please sign in to comment.
You can’t perform that action at this time.