Skip to content
Permalink
Browse files

[ui] Follow up tweaks to browser feature list toolbar feature:

- use tool button autoRaise=true look consistently
- rework first/previous/next/last arrow svg (and compress)
- uppercase tooltip
- pan icon -> pan action, zoom icon -> zoom action ;)
  • Loading branch information
nirvn committed May 16, 2019
1 parent 3017c7a commit 92fe9bc26003e02e57c7427c129b8fa2ba119b22
@@ -1 +1 @@
<svg height="16" viewBox="0 0 4.2333332 4.2333335" width="16" xmlns="http://www.w3.org/2000/svg"><g fill-rule="evenodd" transform="matrix(0 1 -1 0 296.99998 .00000019)"><path d="m2.1166581 296.07395l-1.71979424-2.64584h3.43960704z" fill="#6d97c4" stroke="#415a75" stroke-linecap="round" stroke-linejoin="round" stroke-width=".26458332"/><path d="m2.1127601 295.83164l-1.4731694-2.27117.23030714-.00007 1.35909406 2.0991z" fill="#fff" fill-opacity=".52906979"/></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 4.233 4.233" width="16"><g fill-rule="evenodd"><path d="M.926 2.117L3.307.397v3.44z" fill="#6d97c4" stroke="#415a75" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round"/><path d="M1.15 2.119L3.176.659v.239L1.323 2.243z" fill="#fff" fill-opacity=".529"/></g></svg>
@@ -1 +1 @@
<svg height="16" viewBox="0 0 4.2333332 4.2333335" width="16" xmlns="http://www.w3.org/2000/svg"><g fill-rule="evenodd" transform="matrix(0 -1 1 0 -292.76665 4.2333332)"><path d="m2.1166581 296.07395l-1.71979424-2.64584h3.43960704z" fill="#6d97c4" stroke="#415a75" stroke-linecap="round" stroke-linejoin="round" stroke-width=".26458332"/><path d="m2.1127601 295.83164l-1.4731694-2.27117.23030714-.00007 1.35909406 2.0991z" fill="#fff" fill-opacity=".52906979"/></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 4.233 4.233" width="16"><g fill-rule="evenodd"><path d="M3.307 2.117L.926.397v3.44z" fill="#6d97c4" stroke="#415a75" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.083 2.119L1.058.659v.239L2.91 2.243z" fill="#fff" fill-opacity=".529"/></g></svg>
@@ -1,81 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
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"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="16"
viewBox="0 0 4.2333332 4.2333335"
width="16"
version="1.1"
id="svg8"
sodipodi:docname="mActionDoubleArrowLeft.svg"
inkscape:version="0.92.2 5c3e80d, 2017-08-06">
<metadata
id="metadata14">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs12" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1280"
inkscape:window-height="938"
id="namedview10"
showgrid="false"
inkscape:zoom="20.85965"
inkscape:cx="8.5803974"
inkscape:cy="4.1339743"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg8" />
<g
style="fill-rule:evenodd"
transform="rotate(90,148.63229,148.63229)"
id="g6-7">
<path
style="fill:#6d97c4;stroke:#415a75;stroke-width:0.26458332;stroke-linecap:round;stroke-linejoin:round"
inkscape:connector-curvature="0"
d="M 2.1166581,296.07395 0.39686386,293.42811 H 3.8364709 Z"
id="path2-9" />
<path
style="fill:#ffffff;fill-opacity:0.52906979"
inkscape:connector-curvature="0"
d="m 2.1127601,295.83164 -1.4731694,-2.27117 0.23030714,-7e-5 1.35909406,2.0991 z"
id="path4-3" />
</g>
<g
transform="rotate(90,148.23542,148.23542)"
id="g6"
style="fill-rule:evenodd">
<path
d="M 2.1166581,296.07395 0.39686386,293.42811 H 3.8364709 Z"
id="path2"
inkscape:connector-curvature="0"
style="fill:#6d97c4;stroke:#415a75;stroke-width:0.26458332;stroke-linecap:round;stroke-linejoin:round" />
<path
d="m 2.1127601,295.83164 -1.4731694,-2.27117 0.23030714,-7e-5 1.35909406,2.0991 z"
id="path4"
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-opacity:0.52906979" />
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 4.233 4.233" width="16"><g fill-rule="evenodd"><path d="M1.455 2.117L3.836.397v3.44z" fill="#6d97c4" stroke="#415a75" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round"/><path d="M1.68 2.119L3.704.659v.239L1.852 2.243z" fill="#fff" fill-opacity=".529"/></g><g fill-rule="evenodd"><path d="M.397 2.117L2.778.397v3.44z" fill="#6d97c4" stroke="#415a75" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round"/><path d="M.622 2.119L2.646.659v.239L.794 2.243z" fill="#fff" fill-opacity=".529"/></g></svg>
@@ -1,81 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
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"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="16"
viewBox="0 0 4.2333332 4.2333335"
width="16"
version="1.1"
id="svg8"
sodipodi:docname="mActionDoubleArrowRight.svg"
inkscape:version="0.92.2 5c3e80d, 2017-08-06">
<metadata
id="metadata14">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs12" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1280"
inkscape:window-height="938"
id="namedview10"
showgrid="false"
inkscape:zoom="20.85965"
inkscape:cx="8.5803974"
inkscape:cy="4.1339743"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg8" />
<g
transform="rotate(-90,-144.39894,148.63228)"
id="g6"
style="fill-rule:evenodd">
<path
d="M 2.1166581,296.07395 0.39686386,293.42811 H 3.8364709 Z"
id="path2"
inkscape:connector-curvature="0"
style="fill:#6d97c4;stroke:#415a75;stroke-width:0.26458332;stroke-linecap:round;stroke-linejoin:round" />
<path
d="m 2.1127601,295.83164 -1.4731694,-2.27117 0.23030714,-7e-5 1.35909406,2.0991 z"
id="path4"
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-opacity:0.52906979" />
</g>
<g
style="fill-rule:evenodd"
transform="rotate(-90,-144.00207,148.23541)"
id="g6-7">
<path
style="fill:#6d97c4;stroke:#415a75;stroke-width:0.26458332;stroke-linecap:round;stroke-linejoin:round"
inkscape:connector-curvature="0"
d="M 2.1166581,296.07395 0.39686386,293.42811 H 3.8364709 Z"
id="path2-9" />
<path
style="fill:#ffffff;fill-opacity:0.52906979"
inkscape:connector-curvature="0"
d="m 2.1127601,295.83164 -1.4731694,-2.27117 0.23030714,-7e-5 1.35909406,2.0991 z"
id="path4-3" />
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 4.233 4.233" width="16"><g fill-rule="evenodd"><path d="M2.778 2.117L.397.397v3.44z" fill="#6d97c4" stroke="#415a75" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round"/><path d="M2.553 2.119L.53.659v.239l1.852 1.345z" fill="#fff" fill-opacity=".529"/></g><g fill-rule="evenodd"><path d="M3.836 2.117L1.456.397v3.44z" fill="#6d97c4" stroke="#415a75" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.612 2.119L1.587.659v.239L3.44 2.243z" fill="#fff" fill-opacity=".529"/></g></svg>
@@ -145,7 +145,7 @@
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="mFirstFeatureButton">
<widget class="QToolButton" name="mFirstFeatureButton">
<property name="maximumSize">
<size>
<width>24</width>
@@ -159,13 +159,13 @@
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionDoubleArrowLeft.svg</normaloff>:/images/themes/default/mActionDoubleArrowLeft.svg</iconset>
</property>
<property name="flat">
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mPreviousFeatureButton">
<widget class="QToolButton" name="mPreviousFeatureButton">
<property name="maximumSize">
<size>
<width>24</width>
@@ -179,13 +179,13 @@
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionArrowLeft.svg</normaloff>:/images/themes/default/mActionArrowLeft.svg</iconset>
</property>
<property name="flat">
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mNextFeatureButton">
<widget class="QToolButton" name="mNextFeatureButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
@@ -205,13 +205,13 @@
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionArrowRight.svg</normaloff>:/images/themes/default/mActionArrowRight.svg</iconset>
</property>
<property name="flat">
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mLastFeatureButton">
<widget class="QToolButton" name="mLastFeatureButton">
<property name="maximumSize">
<size>
<width>24</width>
@@ -225,7 +225,7 @@
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionDoubleArrowRight.svg</normaloff>:/images/themes/default/mActionDoubleArrowRight.svg</iconset>
</property>
<property name="flat">
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
@@ -275,12 +275,15 @@
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="mAutoZoomButton">
<widget class="QToolButton" name="mAutoPanButton">
<property name="toolTip">
<string>automatically zoom to currently edited feature</string>
<string>Automatically pan to currently edited feature</string>
</property>
<property name="text">
<string/>
@@ -292,12 +295,15 @@
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="mAutoPanButton">
<widget class="QToolButton" name="mAutoZoomButton">
<property name="toolTip">
<string>automatically pan to currently edited feature</string>
<string>Automatically zoom to currently edited feature</string>
</property>
<property name="text">
<string/>
@@ -309,6 +315,9 @@
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
</layout>

0 comments on commit 92fe9bc

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