mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 13:40:20 +00:00
b59cdcd4d3
This commit adds the .qml and qmldir files for the MobileComponents import. It contains low-level things like units and theme, and mid-level things like Heading, and high-level navigation in the form of an ApplicationWindow and Drawers that hold menues and provide swipe interactions between the pages. These components are a more full version of the "light" plasma components we have been using to make the UI scale well and appear more consistent (coloring, spacing, alignment, etc.). An interesting change is that Units and Theme are now singleton types, which is more efficient. It does mean a few changes to our current API usage: - units becomes Units - theme becomes Theme - 2 properties move out of each (we can't subclass singleton types) This change also means that we're using the vanilla upstream components, so it's very easy to get improvements to these rather young components in, and we don't have to do this work on our own. The mobilecomponents consist of just a bunch of qml files which we can deploy through the qrc file. In the next commits, we will gradually make the current UI use these new elements. Signed-off-by: Sebastian Kügler <sebas@kde.org>
463 lines
15 KiB
XML
463 lines
15 KiB
XML
<?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://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"
|
|
width="24"
|
|
height="24"
|
|
id="svg3869"
|
|
version="1.1"
|
|
inkscape:version="0.91 r13725"
|
|
sodipodi:docname="go-previous.svg">
|
|
<defs
|
|
id="defs3871">
|
|
<linearGradient
|
|
id="linearGradient3257">
|
|
<stop
|
|
offset="0"
|
|
style="stop-color:#a50000;stop-opacity:1"
|
|
id="stop3259" />
|
|
<stop
|
|
offset="1"
|
|
style="stop-color:#e73800;stop-opacity:1"
|
|
id="stop3261" />
|
|
</linearGradient>
|
|
<clipPath
|
|
clipPathUnits="userSpaceOnUse"
|
|
id="clipPath4210">
|
|
<rect
|
|
y="1024.3622"
|
|
x="-7"
|
|
height="34"
|
|
width="34"
|
|
id="rect4212"
|
|
style="opacity:1;fill:#0000ff;fill-opacity:0.51376145;stroke:none;stroke-opacity:1" />
|
|
</clipPath>
|
|
<clipPath
|
|
clipPathUnits="userSpaceOnUse"
|
|
id="clipPath4160">
|
|
<rect
|
|
style="opacity:1;fill:#aade87;fill-opacity:0.47247709;stroke:none;stroke-opacity:1"
|
|
id="rect4162"
|
|
width="32"
|
|
height="32.000015"
|
|
x="-6"
|
|
y="1028.3619" />
|
|
</clipPath>
|
|
<clipPath
|
|
id="clipPath4160-4"
|
|
clipPathUnits="userSpaceOnUse">
|
|
<rect
|
|
y="1023.3622"
|
|
x="7"
|
|
height="1"
|
|
width="1"
|
|
id="rect4162-5"
|
|
style="opacity:1;fill:#f2f2f2;fill-opacity:1;stroke:none;stroke-opacity:1" />
|
|
</clipPath>
|
|
<clipPath
|
|
clipPathUnits="userSpaceOnUse"
|
|
id="clipPath16">
|
|
<path
|
|
d="m 0,706.465 1490.926,0 L 1490.926,0 0,0 0,706.465 Z"
|
|
id="path18" />
|
|
</clipPath>
|
|
<clipPath
|
|
clipPathUnits="userSpaceOnUse"
|
|
id="clipPath24">
|
|
<path
|
|
d="m 22.1953,686.117 1447.7347,0 0,-667.1902 -1447.7347,0 L 22.1953,686.117 Z"
|
|
id="path26" />
|
|
</clipPath>
|
|
<inkscape:perspective
|
|
id="perspective4146-36"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-7" />
|
|
<inkscape:perspective
|
|
id="perspective4146-0"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-8" />
|
|
<inkscape:perspective
|
|
id="perspective4146-3"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146" />
|
|
<inkscape:perspective
|
|
id="perspective4146-36-7"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-7-6" />
|
|
<inkscape:perspective
|
|
id="perspective4146-0-6"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-8-7" />
|
|
<inkscape:perspective
|
|
id="perspective4146-3-9"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-2" />
|
|
<inkscape:perspective
|
|
id="perspective4146-36-4"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-7-7" />
|
|
<inkscape:perspective
|
|
id="perspective4146-0-0"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-8-6" />
|
|
<inkscape:perspective
|
|
id="perspective4146-3-81"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-6" />
|
|
<inkscape:perspective
|
|
id="perspective4146-36-7-2"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-7-6-3" />
|
|
<inkscape:perspective
|
|
id="perspective4146-0-6-4"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-8-7-6" />
|
|
<inkscape:perspective
|
|
id="perspective4146-3-9-0"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-2-1" />
|
|
<inkscape:perspective
|
|
id="perspective4146-36-8"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-7-0" />
|
|
<inkscape:perspective
|
|
id="perspective4146-0-3"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-8-78" />
|
|
<inkscape:perspective
|
|
id="perspective4146-3-1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-05" />
|
|
<inkscape:perspective
|
|
id="perspective4146-36-3"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-7-8" />
|
|
<inkscape:perspective
|
|
id="perspective4146-0-9"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-8-3" />
|
|
<inkscape:perspective
|
|
id="perspective4146-3-4"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-9" />
|
|
<inkscape:perspective
|
|
id="perspective4146-36-7-6"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-7-6-0" />
|
|
<inkscape:perspective
|
|
id="perspective4146-0-6-7"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-3-8-7-7" />
|
|
<inkscape:perspective
|
|
id="perspective4146-3-9-7"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
sodipodi:type="inkscape:persp3d" />
|
|
<inkscape:perspective
|
|
sodipodi:type="inkscape:persp3d"
|
|
inkscape:vp_x="0 : 12 : 1"
|
|
inkscape:vp_y="0 : 1000 : 0"
|
|
inkscape:vp_z="24 : 12 : 1"
|
|
inkscape:persp3d-origin="12 : 8 : 1"
|
|
id="perspective4146-2-13" />
|
|
</defs>
|
|
<sodipodi:namedview
|
|
id="base"
|
|
pagecolor="#ffffff"
|
|
bordercolor="#666666"
|
|
borderopacity="1.0"
|
|
inkscape:pageopacity="0.0"
|
|
inkscape:pageshadow="2"
|
|
inkscape:zoom="22.627416"
|
|
inkscape:cx="5.4926209"
|
|
inkscape:cy="10.264796"
|
|
inkscape:document-units="px"
|
|
inkscape:current-layer="layer1"
|
|
showgrid="true"
|
|
fit-margin-top="0"
|
|
fit-margin-left="0"
|
|
fit-margin-right="0"
|
|
fit-margin-bottom="0"
|
|
inkscape:window-width="1366"
|
|
inkscape:window-height="709"
|
|
inkscape:window-x="-4"
|
|
inkscape:window-y="0"
|
|
inkscape:window-maximized="1"
|
|
inkscape:showpageshadow="false"
|
|
inkscape:object-nodes="true"
|
|
inkscape:snap-bbox="true">
|
|
<inkscape:grid
|
|
type="xygrid"
|
|
id="grid4132" />
|
|
<sodipodi:guide
|
|
position="4,18"
|
|
orientation="18,0"
|
|
id="guide4138" />
|
|
<sodipodi:guide
|
|
position="5,3"
|
|
orientation="0,18"
|
|
id="guide4140" />
|
|
<sodipodi:guide
|
|
position="20,2.0000174"
|
|
orientation="-18,0"
|
|
id="guide4142" />
|
|
<sodipodi:guide
|
|
position="2,21"
|
|
orientation="0,-18"
|
|
id="guide4144" />
|
|
<sodipodi:guide
|
|
position="3,19.000017"
|
|
orientation="16,0"
|
|
id="guide4146" />
|
|
<sodipodi:guide
|
|
position="2,4"
|
|
orientation="0,16"
|
|
id="guide4148" />
|
|
<sodipodi:guide
|
|
position="21,20"
|
|
orientation="-16,0"
|
|
id="guide4150" />
|
|
<sodipodi:guide
|
|
position="2,20"
|
|
orientation="0,-16"
|
|
id="guide4152" />
|
|
</sodipodi:namedview>
|
|
<metadata
|
|
id="metadata3874">
|
|
<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>
|
|
<g
|
|
inkscape:label="Capa 1"
|
|
inkscape:groupmode="layer"
|
|
id="layer1"
|
|
transform="translate(-326,-532.3622)">
|
|
<g
|
|
transform="translate(326.70703,-497)"
|
|
id="layer1-2"
|
|
inkscape:label="Capa 1">
|
|
<path
|
|
id="rect4176"
|
|
transform="translate(-5e-7,1030.3622)"
|
|
d="m 14.292969,3 -6.1250002,6.125 -1.875,1.875 1.875,1.875 L 14.292969,19 15,18.292969 8.875,12.167969 7.7070312,11 8.875,9.8320312 15,3.7070312 14.292969,3 Z"
|
|
style="fill:#4d4d4d;fill-opacity:1;stroke:none"
|
|
inkscape:connector-curvature="0" />
|
|
</g>
|
|
</g>
|
|
</svg>
|