mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 05:30:41 +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>
144 lines
3.9 KiB
XML
144 lines
3.9 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-next.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>
|
|
</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,-497)"
|
|
id="layer1-9"
|
|
inkscape:label="Capa 1">
|
|
<path
|
|
id="rect4176"
|
|
transform="translate(-5e-7,1030.3622)"
|
|
d="M 7.7070312,3 7,3.7070312 l 6.125,6.125 L 14.292969,11 13.125,12.167969 7,18.292969 7.7070312,19 13.832031,12.875 15.707031,11 13.832031,9.125 7.7070312,3 Z"
|
|
style="fill:#4d4d4d;fill-opacity:1;stroke:none"
|
|
inkscape:connector-curvature="0" />
|
|
</g>
|
|
</g>
|
|
</svg>
|