mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-04 09:42:45 +00:00
Deserialized a list! Restructured project!
I finally got deserializing lists working. Exposing them to QML was not a trivial task either. Note that I didn't do it the clean way. Nested lists are not supported. But it works! Because I got so frustarted at one point trying to implement things the right way, I restructured the project to seperate the Sailfish code from the Qt code and created a new, empty desktop project. The Qt code has been transformed into a happy little library, to which the Sailfish OS application links. Note that QMake doesn't seem to strip the library for some reason.
This commit is contained in:
parent
4e3395c4e5
commit
1e80ceb697
77 changed files with 507 additions and 213 deletions
154
sailfish/icon.svg
Normal file
154
sailfish/icon.svg
Normal file
|
@ -0,0 +1,154 @@
|
|||
<?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:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="512"
|
||||
height="512"
|
||||
viewBox="0 0 512 512"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
|
||||
sodipodi:docname="icon.svg"
|
||||
inkscape:export-filename="/home/chris/Programmeren/Sailfish/harbour-sailfin/qml/icon.png"
|
||||
inkscape:export-xdpi="48"
|
||||
inkscape:export-ydpi="48">
|
||||
<defs
|
||||
id="defs2">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="background">
|
||||
<stop
|
||||
style="stop-color:#aa5cc3;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop837" />
|
||||
<stop
|
||||
style="stop-color:#00a4dc;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop839" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#background"
|
||||
id="linearGradient843"
|
||||
x1="96"
|
||||
y1="224"
|
||||
x2="448"
|
||||
y2="480"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#background"
|
||||
id="linearGradient868"
|
||||
x1="212.15311"
|
||||
y1="490.2868"
|
||||
x2="436.6492"
|
||||
y2="94.220024"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0,1.1403316,-0.88873901,0,531.73701,-17.924891)" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.49497475"
|
||||
inkscape:cx="-21.524675"
|
||||
inkscape:cy="373.96874"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:document-rotation="0"
|
||||
showgrid="true"
|
||||
inkscape:pagecheckerboard="true"
|
||||
units="px"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1015"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid833"
|
||||
empspacing="32" />
|
||||
<sodipodi:guide
|
||||
position="191.07872,242"
|
||||
orientation="0,-1"
|
||||
id="guide839" />
|
||||
<sodipodi:guide
|
||||
position="191.07872,232"
|
||||
orientation="1,0"
|
||||
id="guide841" />
|
||||
<sodipodi:guide
|
||||
position="149,202"
|
||||
orientation="1,0"
|
||||
id="guide843" />
|
||||
<sodipodi:guide
|
||||
position="149,202"
|
||||
orientation="0,-1"
|
||||
id="guide845" />
|
||||
<sodipodi:guide
|
||||
position="149,274"
|
||||
orientation="0,-1"
|
||||
id="guide847" />
|
||||
<sodipodi:guide
|
||||
position="366.05196,238.06065"
|
||||
orientation="0,-1"
|
||||
id="guide849" />
|
||||
<sodipodi:guide
|
||||
position="191.07872,234"
|
||||
orientation="0,-1"
|
||||
id="guide851" />
|
||||
<sodipodi:guide
|
||||
position="174.44599,202"
|
||||
orientation="1,0"
|
||||
id="guide853" />
|
||||
<sodipodi:guide
|
||||
position="256,0"
|
||||
orientation="1,0"
|
||||
id="guide898" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<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>
|
||||
<g
|
||||
inkscape:label="Laag 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:url(#linearGradient843);fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 0,512 V 256 C 0,128 128,0 256,0 384,0 512,128 512,256 v 256 z"
|
||||
id="path835"
|
||||
sodipodi:nodetypes="cccccc"
|
||||
inkscape:label="background" />
|
||||
<path
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.75px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 64,448 V 256 c 0,-95.99999 96.00001,-192 192,-192 95.99999,0 192,96.00001 192,192 v 192 z"
|
||||
id="path835-7"
|
||||
sodipodi:nodetypes="cccccc"
|
||||
inkscape:label="inner-background" />
|
||||
<path
|
||||
style="fill:url(#linearGradient868);fill-opacity:1;stroke:none;stroke-width:0.567858px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 191.07872,384 V 278 c 0,0 -16.591,32 -42.07872,32 v -72 c 25.51426,-0.0258 42.07872,32 42.07872,32 V 165 C 227.27463,165 366,237.50939 366,274 366,310.49061 227.27463,384 191.07872,384 Z"
|
||||
id="path845-3"
|
||||
sodipodi:nodetypes="cccccccc"
|
||||
inkscape:label="sailfin" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.8 KiB |
Loading…
Add table
Add a link
Reference in a new issue