diff options
-rw-r--r-- | icons/48x48/scribiu.png | bin | 1688 -> 1689 bytes | |||
-rw-r--r-- | icons/inkscape/scribiu.svg | 553 | ||||
-rw-r--r-- | icons/scalable/scribiu.svg | 545 | ||||
-rw-r--r-- | main.cc | 9 | ||||
-rw-r--r-- | mainwindow.cc | 5 | ||||
-rw-r--r-- | mainwindow.h | 1 | ||||
-rw-r--r-- | mainwindow.ui | 76 | ||||
-rw-r--r-- | notebookmodel.cc | 23 | ||||
-rw-r--r-- | notebookmodel.h | 4 | ||||
-rw-r--r-- | smartpensyncer.cc | 4 |
10 files changed, 880 insertions, 340 deletions
diff --git a/icons/48x48/scribiu.png b/icons/48x48/scribiu.png Binary files differindex ba596ca..eebbd4f 100644 --- a/icons/48x48/scribiu.png +++ b/icons/48x48/scribiu.png diff --git a/icons/inkscape/scribiu.svg b/icons/inkscape/scribiu.svg new file mode 100644 index 0000000..6329bff --- /dev/null +++ b/icons/inkscape/scribiu.svg @@ -0,0 +1,553 @@ +<?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: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" + inkscape:export-ydpi="90.000000" + inkscape:export-xdpi="90.000000" + inkscape:export-filename="/home/javier/src/linux/livescribe/scribiu/icons/48x48/scribiu.png" + width="48" + height="48" + id="svg11300" + sodipodi:version="0.32" + inkscape:version="0.91 r13725" + sodipodi:docname="scribiu.svg" + version="1.0" + inkscape:r_cx="true" + inkscape:r_cy="true"> + <defs + id="defs3"> + <linearGradient + id="linearGradient4246"> + <stop + id="stop4248" + offset="0" + style="stop-color:#a0a0a0;stop-opacity:1" /> + <stop + style="stop-color:#bfbfbf;stop-opacity:1" + offset="0.31578946" + id="stop4250" /> + <stop + id="stop4252" + offset="1" + style="stop-color:#6e6e6e;stop-opacity:1" /> + </linearGradient> + <linearGradient + id="linearGradient4238"> + <stop + style="stop-color:#919191;stop-opacity:1" + offset="0" + id="stop4240" /> + <stop + id="stop4242" + offset="0.31578946" + style="stop-color:#b0b0b0;stop-opacity:1" /> + <stop + style="stop-color:#696969;stop-opacity:1" + offset="1" + id="stop4244" /> + </linearGradient> + <linearGradient + id="linearGradient4228"> + <stop + id="stop4230" + offset="0" + style="stop-color:#a0a0a0;stop-opacity:1" /> + <stop + style="stop-color:#bfbfbf;stop-opacity:1" + offset="0.31578946" + id="stop4232" /> + <stop + id="stop4234" + offset="1" + style="stop-color:#6e6e6e;stop-opacity:1" /> + </linearGradient> + <linearGradient + id="linearGradient4220"> + <stop + id="stop4222" + offset="0" + style="stop-color:#a0a0a0;stop-opacity:1" /> + <stop + style="stop-color:#bfbfbf;stop-opacity:1" + offset="0.31578946" + id="stop4224" /> + <stop + id="stop4226" + offset="1" + style="stop-color:#6e6e6e;stop-opacity:1" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + id="linearGradient9952"> + <stop + style="stop-color:#ffffff;stop-opacity:1;" + offset="0" + id="stop9954" /> + <stop + style="stop-color:#ffffff;stop-opacity:0;" + offset="1" + id="stop9956" /> + </linearGradient> + <linearGradient + id="linearGradient9920"> + <stop + id="stop9922" + offset="0" + style="stop-color:#5b90c8;stop-opacity:1;" /> + <stop + style="stop-color:#8fb0d1;stop-opacity:1;" + offset="0.31578946" + id="stop9924" /> + <stop + id="stop9926" + offset="1" + style="stop-color:#34679d;stop-opacity:1;" /> + </linearGradient> + <linearGradient + id="linearGradient9910"> + <stop + style="stop-color:#729fcf;stop-opacity:1;" + offset="0" + id="stop9912" /> + <stop + id="stop9918" + offset="0.31578946" + style="stop-color:#a5bfda;stop-opacity:1;" /> + <stop + style="stop-color:#376ca4;stop-opacity:1;" + offset="1" + id="stop9914" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + id="linearGradient6395"> + <stop + style="stop-color:#ffffff;stop-opacity:1;" + offset="0" + id="stop6397" /> + <stop + style="stop-color:#ffffff;stop-opacity:0;" + offset="1" + id="stop6399" /> + </linearGradient> + <linearGradient + id="linearGradient2994"> + <stop + style="stop-color:#000000;stop-opacity:1;" + offset="0" + id="stop2996" /> + <stop + style="stop-color:#c9c9c9;stop-opacity:1;" + offset="1" + id="stop2998" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + id="linearGradient2984"> + <stop + style="stop-color:#e7e2b8;stop-opacity:1;" + offset="0" + id="stop2986" /> + <stop + style="stop-color:#e7e2b8;stop-opacity:0;" + offset="1" + id="stop2988" /> + </linearGradient> + <linearGradient + id="linearGradient2974"> + <stop + style="stop-color:#c1c1c1;stop-opacity:1;" + offset="0" + id="stop2976" /> + <stop + style="stop-color:#acacac;stop-opacity:1;" + offset="1" + id="stop2978" /> + </linearGradient> + <linearGradient + id="linearGradient2966"> + <stop + style="stop-color:#ffd1d1;stop-opacity:1;" + offset="0" + id="stop2968" /> + <stop + id="stop3006" + offset="0.5" + style="stop-color:#ff1d1d;stop-opacity:1;" /> + <stop + style="stop-color:#6f0000;stop-opacity:1;" + offset="1" + id="stop2970" /> + </linearGradient> + <linearGradient + id="linearGradient5068"> + <stop + style="stop-color:#ffffff;stop-opacity:1;" + offset="0" + id="stop5070" /> + <stop + id="stop5078" + offset="0.32894737" + style="stop-color:#ffffff;stop-opacity:0.69;" /> + <stop + id="stop5076" + offset="0.65789473" + style="stop-color:#c2c2c2;stop-opacity:0.34;" /> + <stop + style="stop-color:#ffffff;stop-opacity:0;" + offset="1" + id="stop5072" /> + </linearGradient> + <linearGradient + id="linearGradient5058"> + <stop + style="stop-color:#959791;stop-opacity:1;" + offset="0" + id="stop5060" /> + <stop + id="stop5066" + offset="0.5" + style="stop-color:#f8f8f8;stop-opacity:1;" /> + <stop + style="stop-color:#8c8c8c;stop-opacity:1;" + offset="1" + id="stop5062" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + id="linearGradient5048"> + <stop + style="stop-color:#000000;stop-opacity:1;" + offset="0" + id="stop5050" /> + <stop + style="stop-color:#000000;stop-opacity:0;" + offset="1" + id="stop5052" /> + </linearGradient> + <linearGradient + id="linearGradient5036"> + <stop + style="stop-color:#f5f5f5;stop-opacity:0.09;" + offset="0" + id="stop5038" /> + <stop + id="stop5044" + offset="0.2631579" + style="stop-color:#ffffff;stop-opacity:0.89999998;" /> + <stop + style="stop-color:#c7c7c7;stop-opacity:0.46000001;" + offset="0.74792242" + id="stop5088" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.78039217;" + offset="1" + id="stop5040" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient5036" + id="linearGradient5042" + x1="15.375" + y1="26.0846" + x2="34.250416" + y2="26.0846" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(0,5.625)" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient5048" + id="radialGradient5054" + cx="23.25" + cy="37.75" + fx="23.25" + fy="37.75" + r="14.875" + gradientTransform="matrix(1,0,0,0.420168,0,21.88866)" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient5058" + id="linearGradient5064" + x1="30.875" + y1="19.4596" + x2="15.625" + y2="19.0846" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(0,5.625)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient5068" + id="linearGradient5074" + x1="11.75" + y1="14.1875" + x2="37.625" + y2="14.1875" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient2966" + id="linearGradient6343" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(5.259571e-3,0.999987,0.999987,-5.259571e-3,42.9955,-2.496241)" + x1="48.90625" + y1="17.376184" + x2="50.988335" + y2="22.250591" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient2974" + id="linearGradient6345" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(5.259571e-3,0.999987,0.999987,-5.259571e-3,42.99552,-2.496241)" + x1="46" + y1="19.8125" + x2="47.6875" + y2="22.625" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient2984" + id="radialGradient6347" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.53767e-2,2.923527,2.029691,-1.067544e-2,20.39098,-69.72665)" + cx="29.053354" + cy="27.640751" + fx="29.053354" + fy="27.640751" + r="3.2408545" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient2994" + id="linearGradient6349" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(5.259571e-3,0.999987,0.999987,-5.259571e-3,48.6929,-14.14491)" + x1="25.71875" + y1="31.046875" + x2="25.514589" + y2="30.703125" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient5048" + id="radialGradient6353" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1,0,0,0.420168,8.187895e-16,21.88866)" + cx="23.25" + cy="37.75" + fx="23.25" + fy="37.75" + r="14.875" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient6395" + id="linearGradient6401" + x1="20.064156" + y1="27.140348" + x2="20.682873" + y2="44.110912" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient9952" + id="linearGradient9961" + gradientUnits="userSpaceOnUse" + x1="55.876038" + y1="62.401989" + x2="38.061356" + y2="62.827091" + gradientTransform="matrix(-0.493304,-0.716654,0.716654,-0.493304,-9.26781,79.4192)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient9910" + id="linearGradient9965" + gradientUnits="userSpaceOnUse" + x1="28.244684" + y1="60.445503" + x2="28.244684" + y2="68.224884" + gradientTransform="matrix(-0.493304,-0.716654,0.716654,-0.493304,-9.26781,79.4192)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient9920" + id="linearGradient9968" + gradientUnits="userSpaceOnUse" + x1="28.244684" + y1="60.445503" + x2="28.244684" + y2="68.224884" + gradientTransform="matrix(-0.493304,-0.716654,0.716654,-0.493304,-9.26781,79.4192)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient9910" + id="linearGradient9972" + gradientUnits="userSpaceOnUse" + x1="28.244684" + y1="60.445503" + x2="28.244684" + y2="68.224884" + gradientTransform="matrix(-0.493304,-0.716654,0.716654,-0.493304,-9.26781,79.4192)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4220" + id="linearGradient3119" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.493304,-0.716654,-0.716654,-0.493304,51.767278,81.4192)" + x1="28.244684" + y1="60.445503" + x2="28.244684" + y2="68.224884" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4238" + id="linearGradient3121" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.493304,-0.716654,-0.716654,-0.493304,51.767278,81.4192)" + x1="28.244684" + y1="60.445503" + x2="28.244684" + y2="68.224884" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4228" + id="linearGradient3125" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.493304,-0.716654,-0.716654,-0.493304,51.767278,81.4192)" + x1="55.876038" + y1="62.401989" + x2="38.061356" + y2="62.827091" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient9910" + id="linearGradient4294" + x1="30.649073" + y1="20.050009" + x2="46.750927" + y2="20.050009" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(-4.8,-11.4)" /> + </defs> + <sodipodi:namedview + stroke="#ef2929" + fill="#eeeeec" + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="0.25490196" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="20" + inkscape:cx="25.572478" + inkscape:cy="21.789135" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:grid-bbox="true" + inkscape:document-units="px" + inkscape:showpageshadow="false" + inkscape:window-width="1642" + inkscape:window-height="1002" + inkscape:window-x="38" + inkscape:window-y="25" + width="48px" + height="48px" + objecttolerance="1" + inkscape:object-nodes="false" + inkscape:has_abs_tolerance="false" + inkscape:window-maximized="1" /> + <metadata + id="metadata4"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:creator> + <cc:Agent> + <dc:title>Jakub Steiner</dc:title> + </cc:Agent> + </dc:creator> + <dc:source>http://jimmac.musichall.cz</dc:source> + <cc:license + rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" /> + <dc:title></dc:title> + <dc:subject> + <rdf:Bag> + <rdf:li>office</rdf:li> + <rdf:li>applications</rdf:li> + <rdf:li>category</rdf:li> + </rdf:Bag> + </dc:subject> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/by-sa/2.0/"> + <cc:permits + rdf:resource="http://web.resource.org/cc/Reproduction" /> + <cc:permits + rdf:resource="http://web.resource.org/cc/Distribution" /> + <cc:requires + rdf:resource="http://web.resource.org/cc/Notice" /> + <cc:requires + rdf:resource="http://web.resource.org/cc/Attribution" /> + <cc:permits + rdf:resource="http://web.resource.org/cc/DerivativeWorks" /> + <cc:requires + rdf:resource="http://web.resource.org/cc/ShareAlike" /> + </cc:License> + </rdf:RDF> + </metadata> + <g + id="layer1" + inkscape:label="Layer 1" + inkscape:groupmode="layer" + inkscape:r_cx="true" + inkscape:r_cy="true"> + <path + inkscape:connector-curvature="0" + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#e7e7e7;fill-opacity:1;fill-rule:evenodd;stroke:#7d7d7d;stroke-width:0.99999958;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none" + d="m 18.922824,31.002754 c -0.882411,-0.607402 -3.380814,1.584711 -5.631979,4.855122 -2.251165,3.270411 -2.718833,6.860367 -2.524417,6.994192 0.216678,0.149149 3.380814,-1.584711 5.63198,-4.855122 2.251165,-3.270411 3.406828,-6.38679 2.524416,-6.994192 z" + id="path9903" + sodipodi:nodetypes="cszsc" + inkscape:r_cx="true" + inkscape:r_cy="true" /> + <path + inkscape:connector-curvature="0" + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3119);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.9999997;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" + d="m 24.189972,29.045877 c -2.941809,4.15471 -5.832829,7.753007 -8.218557,10.338669 -0.711252,0.62297 -2.722505,1.945941 -3.633757,1.26891 C 11.259739,39.843093 11.78182,37.63273 12.103901,36.722367 13.86523,33.171968 16.608326,28.577556 19.934459,23.745472 25.938374,15.023204 31.89203,8.3782899 34.246967,7.5900109 c 0.07227,-0.022903 0.169188,-0.053053 0.234388,-0.064485 0.04584,-0.00698 0.113748,-0.00461 0.155869,-0.00562 0.06619,3.061e-4 0.151055,0.013972 0.207436,0.029876 0.01378,0.00447 0.05599,0.0045 0.06915,0.00996 0.01284,0.00596 0.03936,0.02854 0.05157,0.035496 0.0059,0.00373 0.02,0.013768 0.02578,0.017748 0.0058,0.00398 0.02018,0.013528 0.02578,0.017748 0.01085,0.00892 0.04142,0.025629 0.05157,0.035496 0.0098,0.010339 0.02489,0.049754 0.03399,0.061033 0.03498,0.046987 0.07805,0.1213803 0.101966,0.1830988 0.01409,0.039707 0.04056,0.1022948 0.0504,0.1476043 0.0126,0.064979 0.01904,0.1662731 0.02344,0.2419582 0.104434,2.4811718 -3.976976,10.4148338 -9.980891,19.1371018 -0.373577,0.542718 -0.735225,1.083169 -1.107443,1.608851 z" + id="path9898" + inkscape:r_cx="true" + inkscape:r_cy="true" + sodipodi:nodetypes="scccscccccccccccccss" /> + <path + inkscape:connector-curvature="0" + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3121);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.9999997;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" + d="m 28.75569,22.854607 c -0.747047,1.047569 -1.520954,2.05411 -2.255907,3.001276 -1.22201,0.159 -3.126011,0.205203 -3.981433,-0.45357 -0.921219,-0.837368 -1.104049,-2.041324 -1.433088,-3.273479 0.885239,-1.457513 1.868325,-2.99026 2.929731,-4.532232 5.065803,-7.359414 10.292894,-12.8246735 12.542954,-13.3086927 0.01977,-0.00391 0.06743,-0.012463 0.08672,-0.015579 0.01906,-0.00272 0.06815,-0.013658 0.08672,-0.015579 0.04584,-0.0038 0.113077,-0.00687 0.155869,-0.00562 0.01687,9.059e-4 0.05277,0.00824 0.06914,0.00996 0.04836,0.0064 0.120291,0.023809 0.164075,0.037665 0.01434,0.00504 0.05533,0.00408 0.06914,0.00996 0.02033,0.00944 0.05821,0.041893 0.07735,0.053243 0.0063,0.004 0.01967,0.013539 0.02578,0.017748 0.0061,0.00421 0.01982,0.013338 0.02578,0.017748 0.01744,0.013832 0.06127,0.037624 0.07735,0.053244 0.01042,0.010808 0.02417,0.049439 0.03399,0.061033 0.02857,0.035951 0.07052,0.096923 0.09376,0.1398139 0.0074,0.014677 0.02712,0.045598 0.03399,0.061033 0.01644,0.039528 0.03758,0.1034227 0.0504,0.1476038 0.0048,0.018039 0.01215,0.067799 0.01641,0.08657 0.004,0.019135 0.013,0.066711 0.01641,0.08657 0.351197,2.274578 -2.887701,9.108397 -7.953505,16.467811 -0.315205,0.457918 -0.616093,0.910969 -0.931657,1.353477 z" + id="path9893" + inkscape:r_cx="true" + inkscape:r_cy="true" + sodipodi:nodetypes="ccccscccccccccccccccccscc" /> + <path + inkscape:connector-curvature="0" + inkscape:r_cy="true" + inkscape:r_cx="true" + style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:0.35714285;fill:none;stroke:url(#linearGradient3125);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" + d="m 27.081744,23.244088 c -0.188826,0.267315 -1.128133,1.616373 -1.31571,1.878152 -0.724932,0.01933 -1.699864,0.238657 -2.774797,-0.192014 C 22.416305,24.132888 22.091373,23.58555 22.016441,22.538212 22.529594,21.75987 24.00314,19.390277 24.542686,18.581053 30.75449,9.2644337 36.842616,4.6091151 37.096428,4.7829476 37.375624,4.9741649 34.931936,12.260041 28.599106,21.06121 c -0.37182,0.516743 -1.159586,1.676387 -1.517362,2.182878 z" + id="path9930" + sodipodi:nodetypes="ccccszsc" /> + <path + inkscape:connector-curvature="0" + inkscape:r_cy="true" + inkscape:r_cx="true" + style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:0.8;fill:url(#linearGradient4294);fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" + d="m 34.01437,11.047968 c -0.638826,1.267315 -2.478133,4.966373 -4.26571,7.128152 -1.020575,-0.956918 -1.814264,-1.47078 -2.849593,-1.934028 l 4.826245,-6.407159 c 1.05717,-0.09913 1.780931,0.19205 2.289058,1.213035 z" + id="path9930-9" + sodipodi:nodetypes="ccccc" /> + </g> +</svg> diff --git a/icons/scalable/scribiu.svg b/icons/scalable/scribiu.svg index 97a453d..11853ad 100644 --- a/icons/scalable/scribiu.svg +++ b/icons/scalable/scribiu.svg @@ -1,6 +1,4 @@ <?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#" @@ -8,459 +6,400 @@ 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" - inkscape:export-ydpi="90.000000" - inkscape:export-xdpi="90.000000" - inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png" - width="48" - height="48" - id="svg11300" - sodipodi:version="0.32" - inkscape:version="0.91 r13725" - sodipodi:docname="icon.svg" version="1.0" - inkscape:r_cx="true" - inkscape:r_cy="true"> + id="svg11300" + height="48" + width="48"> <defs id="defs3"> <linearGradient id="linearGradient4246"> <stop - id="stop4248" + style="stop-color:#a0a0a0;stop-opacity:1" offset="0" - style="stop-color:#a0a0a0;stop-opacity:1" /> + id="stop4248" /> <stop - style="stop-color:#bfbfbf;stop-opacity:1" + id="stop4250" offset="0.31578946" - id="stop4250" /> + style="stop-color:#bfbfbf;stop-opacity:1" /> <stop - id="stop4252" + style="stop-color:#6e6e6e;stop-opacity:1" offset="1" - style="stop-color:#6e6e6e;stop-opacity:1" /> + id="stop4252" /> </linearGradient> <linearGradient id="linearGradient4238"> <stop - style="stop-color:#919191;stop-opacity:1" + id="stop4240" offset="0" - id="stop4240" /> + style="stop-color:#919191;stop-opacity:1" /> <stop - id="stop4242" + style="stop-color:#b0b0b0;stop-opacity:1" offset="0.31578946" - style="stop-color:#b0b0b0;stop-opacity:1" /> + id="stop4242" /> <stop - style="stop-color:#696969;stop-opacity:1" + id="stop4244" offset="1" - id="stop4244" /> + style="stop-color:#696969;stop-opacity:1" /> </linearGradient> <linearGradient id="linearGradient4228"> <stop - id="stop4230" + style="stop-color:#a0a0a0;stop-opacity:1" offset="0" - style="stop-color:#a0a0a0;stop-opacity:1" /> + id="stop4230" /> <stop - style="stop-color:#bfbfbf;stop-opacity:1" + id="stop4232" offset="0.31578946" - id="stop4232" /> + style="stop-color:#bfbfbf;stop-opacity:1" /> <stop - id="stop4234" + style="stop-color:#6e6e6e;stop-opacity:1" offset="1" - style="stop-color:#6e6e6e;stop-opacity:1" /> + id="stop4234" /> </linearGradient> <linearGradient id="linearGradient4220"> <stop - id="stop4222" + style="stop-color:#a0a0a0;stop-opacity:1" offset="0" - style="stop-color:#a0a0a0;stop-opacity:1" /> + id="stop4222" /> <stop - style="stop-color:#bfbfbf;stop-opacity:1" + id="stop4224" offset="0.31578946" - id="stop4224" /> + style="stop-color:#bfbfbf;stop-opacity:1" /> <stop - id="stop4226" + style="stop-color:#6e6e6e;stop-opacity:1" offset="1" - style="stop-color:#6e6e6e;stop-opacity:1" /> + id="stop4226" /> </linearGradient> <linearGradient - inkscape:collect="always" id="linearGradient9952"> <stop - style="stop-color:#ffffff;stop-opacity:1;" + id="stop9954" offset="0" - id="stop9954" /> + style="stop-color:#ffffff;stop-opacity:1;" /> <stop - style="stop-color:#ffffff;stop-opacity:0;" + id="stop9956" offset="1" - id="stop9956" /> + style="stop-color:#ffffff;stop-opacity:0;" /> </linearGradient> <linearGradient id="linearGradient9920"> <stop - id="stop9922" + style="stop-color:#5b90c8;stop-opacity:1;" offset="0" - style="stop-color:#5b90c8;stop-opacity:1;" /> + id="stop9922" /> <stop - style="stop-color:#8fb0d1;stop-opacity:1;" + id="stop9924" offset="0.31578946" - id="stop9924" /> + style="stop-color:#8fb0d1;stop-opacity:1;" /> <stop - id="stop9926" + style="stop-color:#34679d;stop-opacity:1;" offset="1" - style="stop-color:#34679d;stop-opacity:1;" /> + id="stop9926" /> </linearGradient> <linearGradient id="linearGradient9910"> <stop - style="stop-color:#729fcf;stop-opacity:1;" + id="stop9912" offset="0" - id="stop9912" /> + style="stop-color:#729fcf;stop-opacity:1;" /> <stop - id="stop9918" + style="stop-color:#a5bfda;stop-opacity:1;" offset="0.31578946" - style="stop-color:#a5bfda;stop-opacity:1;" /> + id="stop9918" /> <stop - style="stop-color:#376ca4;stop-opacity:1;" + id="stop9914" offset="1" - id="stop9914" /> + style="stop-color:#376ca4;stop-opacity:1;" /> </linearGradient> <linearGradient - inkscape:collect="always" id="linearGradient6395"> <stop - style="stop-color:#ffffff;stop-opacity:1;" + id="stop6397" offset="0" - id="stop6397" /> + style="stop-color:#ffffff;stop-opacity:1;" /> <stop - style="stop-color:#ffffff;stop-opacity:0;" + id="stop6399" offset="1" - id="stop6399" /> + style="stop-color:#ffffff;stop-opacity:0;" /> </linearGradient> <linearGradient id="linearGradient2994"> <stop - style="stop-color:#000000;stop-opacity:1;" + id="stop2996" offset="0" - id="stop2996" /> + style="stop-color:#000000;stop-opacity:1;" /> <stop - style="stop-color:#c9c9c9;stop-opacity:1;" + id="stop2998" offset="1" - id="stop2998" /> + style="stop-color:#c9c9c9;stop-opacity:1;" /> </linearGradient> <linearGradient - inkscape:collect="always" id="linearGradient2984"> <stop - style="stop-color:#e7e2b8;stop-opacity:1;" + id="stop2986" offset="0" - id="stop2986" /> + style="stop-color:#e7e2b8;stop-opacity:1;" /> <stop - style="stop-color:#e7e2b8;stop-opacity:0;" + id="stop2988" offset="1" - id="stop2988" /> + style="stop-color:#e7e2b8;stop-opacity:0;" /> </linearGradient> <linearGradient id="linearGradient2974"> <stop - style="stop-color:#c1c1c1;stop-opacity:1;" + id="stop2976" offset="0" - id="stop2976" /> + style="stop-color:#c1c1c1;stop-opacity:1;" /> <stop - style="stop-color:#acacac;stop-opacity:1;" + id="stop2978" offset="1" - id="stop2978" /> + style="stop-color:#acacac;stop-opacity:1;" /> </linearGradient> <linearGradient id="linearGradient2966"> <stop - style="stop-color:#ffd1d1;stop-opacity:1;" + id="stop2968" offset="0" - id="stop2968" /> + style="stop-color:#ffd1d1;stop-opacity:1;" /> <stop - id="stop3006" + style="stop-color:#ff1d1d;stop-opacity:1;" offset="0.5" - style="stop-color:#ff1d1d;stop-opacity:1;" /> + id="stop3006" /> <stop - style="stop-color:#6f0000;stop-opacity:1;" + id="stop2970" offset="1" - id="stop2970" /> + style="stop-color:#6f0000;stop-opacity:1;" /> </linearGradient> <linearGradient id="linearGradient5068"> <stop - style="stop-color:#ffffff;stop-opacity:1;" + id="stop5070" offset="0" - id="stop5070" /> + style="stop-color:#ffffff;stop-opacity:1;" /> <stop - id="stop5078" + style="stop-color:#ffffff;stop-opacity:0.69;" offset="0.32894737" - style="stop-color:#ffffff;stop-opacity:0.69;" /> + id="stop5078" /> <stop - id="stop5076" + style="stop-color:#c2c2c2;stop-opacity:0.34;" offset="0.65789473" - style="stop-color:#c2c2c2;stop-opacity:0.34;" /> + id="stop5076" /> <stop - style="stop-color:#ffffff;stop-opacity:0;" + id="stop5072" offset="1" - id="stop5072" /> + style="stop-color:#ffffff;stop-opacity:0;" /> </linearGradient> <linearGradient id="linearGradient5058"> <stop - style="stop-color:#959791;stop-opacity:1;" + id="stop5060" offset="0" - id="stop5060" /> + style="stop-color:#959791;stop-opacity:1;" /> <stop - id="stop5066" + style="stop-color:#f8f8f8;stop-opacity:1;" offset="0.5" - style="stop-color:#f8f8f8;stop-opacity:1;" /> + id="stop5066" /> <stop - style="stop-color:#8c8c8c;stop-opacity:1;" + id="stop5062" offset="1" - id="stop5062" /> + style="stop-color:#8c8c8c;stop-opacity:1;" /> </linearGradient> <linearGradient - inkscape:collect="always" id="linearGradient5048"> <stop - style="stop-color:#000000;stop-opacity:1;" + id="stop5050" offset="0" - id="stop5050" /> + style="stop-color:#000000;stop-opacity:1;" /> <stop - style="stop-color:#000000;stop-opacity:0;" + id="stop5052" offset="1" - id="stop5052" /> + style="stop-color:#000000;stop-opacity:0;" /> </linearGradient> <linearGradient id="linearGradient5036"> <stop - style="stop-color:#f5f5f5;stop-opacity:0.09;" + id="stop5038" offset="0" - id="stop5038" /> + style="stop-color:#f5f5f5;stop-opacity:0.09;" /> <stop - id="stop5044" + style="stop-color:#ffffff;stop-opacity:0.89999998;" offset="0.2631579" - style="stop-color:#ffffff;stop-opacity:0.89999998;" /> + id="stop5044" /> <stop - style="stop-color:#c7c7c7;stop-opacity:0.46000001;" + id="stop5088" offset="0.74792242" - id="stop5088" /> + style="stop-color:#c7c7c7;stop-opacity:0.46000001;" /> <stop - style="stop-color:#ffffff;stop-opacity:0.78039217;" + id="stop5040" offset="1" - id="stop5040" /> + style="stop-color:#ffffff;stop-opacity:0.78039217;" /> </linearGradient> <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient5036" - id="linearGradient5042" - x1="15.375" - y1="26.0846" - x2="34.250416" - y2="26.0846" + gradientTransform="translate(0,5.625)" gradientUnits="userSpaceOnUse" - gradientTransform="translate(0,5.625)" /> + y2="26.0846" + x2="34.250416" + y1="26.0846" + x1="15.375" + id="linearGradient5042" + xlink:href="#linearGradient5036" /> <radialGradient - inkscape:collect="always" - xlink:href="#linearGradient5048" - id="radialGradient5054" - cx="23.25" - cy="37.75" - fx="23.25" - fy="37.75" - r="14.875" + gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,0.420168,0,21.88866)" - gradientUnits="userSpaceOnUse" /> + r="14.875" + fy="37.75" + fx="23.25" + cy="37.75" + cx="23.25" + id="radialGradient5054" + xlink:href="#linearGradient5048" /> <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient5058" - id="linearGradient5064" - x1="30.875" - y1="19.4596" - x2="15.625" - y2="19.0846" + gradientTransform="translate(0,5.625)" gradientUnits="userSpaceOnUse" - gradientTransform="translate(0,5.625)" /> + y2="19.0846" + x2="15.625" + y1="19.4596" + x1="30.875" + id="linearGradient5064" + xlink:href="#linearGradient5058" /> <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient5068" - id="linearGradient5074" - x1="11.75" - y1="14.1875" - x2="37.625" + gradientUnits="userSpaceOnUse" y2="14.1875" - gradientUnits="userSpaceOnUse" /> + x2="37.625" + y1="14.1875" + x1="11.75" + id="linearGradient5074" + xlink:href="#linearGradient5068" /> <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient2966" - id="linearGradient6343" - gradientUnits="userSpaceOnUse" - gradientTransform="matrix(5.259571e-3,0.999987,0.999987,-5.259571e-3,42.9955,-2.496241)" - x1="48.90625" - y1="17.376184" + y2="22.250591" x2="50.988335" - y2="22.250591" /> - <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient2974" - id="linearGradient6345" + y1="17.376184" + x1="48.90625" + gradientTransform="matrix(5.259571e-3,0.999987,0.999987,-5.259571e-3,42.9955,-2.496241)" gradientUnits="userSpaceOnUse" - gradientTransform="matrix(5.259571e-3,0.999987,0.999987,-5.259571e-3,42.99552,-2.496241)" - x1="46" - y1="19.8125" + id="linearGradient6343" + xlink:href="#linearGradient2966" /> + <linearGradient + y2="22.625" x2="47.6875" - y2="22.625" /> - <radialGradient - inkscape:collect="always" - xlink:href="#linearGradient2984" - id="radialGradient6347" + y1="19.8125" + x1="46" + gradientTransform="matrix(5.259571e-3,0.999987,0.999987,-5.259571e-3,42.99552,-2.496241)" gradientUnits="userSpaceOnUse" - gradientTransform="matrix(1.53767e-2,2.923527,2.029691,-1.067544e-2,20.39098,-69.72665)" - cx="29.053354" - cy="27.640751" - fx="29.053354" + id="linearGradient6345" + xlink:href="#linearGradient2974" /> + <radialGradient + r="3.2408545" fy="27.640751" - r="3.2408545" /> - <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient2994" - id="linearGradient6349" + fx="29.053354" + cy="27.640751" + cx="29.053354" + gradientTransform="matrix(1.53767e-2,2.923527,2.029691,-1.067544e-2,20.39098,-69.72665)" gradientUnits="userSpaceOnUse" - gradientTransform="matrix(5.259571e-3,0.999987,0.999987,-5.259571e-3,48.6929,-14.14491)" - x1="25.71875" - y1="31.046875" + id="radialGradient6347" + xlink:href="#linearGradient2984" /> + <linearGradient + y2="30.703125" x2="25.514589" - y2="30.703125" /> - <radialGradient - inkscape:collect="always" - xlink:href="#linearGradient5048" - id="radialGradient6353" + y1="31.046875" + x1="25.71875" + gradientTransform="matrix(5.259571e-3,0.999987,0.999987,-5.259571e-3,48.6929,-14.14491)" gradientUnits="userSpaceOnUse" - gradientTransform="matrix(1,0,0,0.420168,8.187895e-16,21.88866)" - cx="23.25" - cy="37.75" - fx="23.25" + id="linearGradient6349" + xlink:href="#linearGradient2994" /> + <radialGradient + r="14.875" fy="37.75" - r="14.875" /> + fx="23.25" + cy="37.75" + cx="23.25" + gradientTransform="matrix(1,0,0,0.420168,8.187895e-16,21.88866)" + gradientUnits="userSpaceOnUse" + id="radialGradient6353" + xlink:href="#linearGradient5048" /> <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient6395" - id="linearGradient6401" - x1="20.064156" - y1="27.140348" - x2="20.682873" + gradientUnits="userSpaceOnUse" y2="44.110912" - gradientUnits="userSpaceOnUse" /> + x2="20.682873" + y1="27.140348" + x1="20.064156" + id="linearGradient6401" + xlink:href="#linearGradient6395" /> <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient9952" - id="linearGradient9961" - gradientUnits="userSpaceOnUse" - x1="55.876038" - y1="62.401989" - x2="38.061356" + gradientTransform="matrix(-0.493304,-0.716654,0.716654,-0.493304,-9.26781,79.4192)" y2="62.827091" - gradientTransform="matrix(-0.493304,-0.716654,0.716654,-0.493304,-9.26781,79.4192)" /> - <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient9910" - id="linearGradient9965" + x2="38.061356" + y1="62.401989" + x1="55.876038" gradientUnits="userSpaceOnUse" - x1="28.244684" - y1="60.445503" - x2="28.244684" - y2="68.224884" - gradientTransform="matrix(-0.493304,-0.716654,0.716654,-0.493304,-9.26781,79.4192)" /> + id="linearGradient9961" + xlink:href="#linearGradient9952" /> <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient9920" - id="linearGradient9968" - gradientUnits="userSpaceOnUse" - x1="28.244684" - y1="60.445503" - x2="28.244684" + gradientTransform="matrix(-0.493304,-0.716654,0.716654,-0.493304,-9.26781,79.4192)" y2="68.224884" - gradientTransform="matrix(-0.493304,-0.716654,0.716654,-0.493304,-9.26781,79.4192)" /> - <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient9910" - id="linearGradient9972" - gradientUnits="userSpaceOnUse" - x1="28.244684" - y1="60.445503" x2="28.244684" - y2="68.224884" - gradientTransform="matrix(-0.493304,-0.716654,0.716654,-0.493304,-9.26781,79.4192)" /> - <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient4220" - id="linearGradient3119" - gradientUnits="userSpaceOnUse" - gradientTransform="matrix(0.493304,-0.716654,-0.716654,-0.493304,51.767278,81.4192)" - x1="28.244684" y1="60.445503" - x2="28.244684" - y2="68.224884" /> - <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient4238" - id="linearGradient3121" - gradientUnits="userSpaceOnUse" - gradientTransform="matrix(0.493304,-0.716654,-0.716654,-0.493304,51.767278,81.4192)" x1="28.244684" + gradientUnits="userSpaceOnUse" + id="linearGradient9965" + xlink:href="#linearGradient9910" /> + <linearGradient + gradientTransform="matrix(-0.493304,-0.716654,0.716654,-0.493304,-9.26781,79.4192)" + y2="68.224884" + x2="28.244684" y1="60.445503" + x1="28.244684" + gradientUnits="userSpaceOnUse" + id="linearGradient9968" + xlink:href="#linearGradient9920" /> + <linearGradient + gradientTransform="matrix(-0.493304,-0.716654,0.716654,-0.493304,-9.26781,79.4192)" + y2="68.224884" x2="28.244684" - y2="68.224884" /> + y1="60.445503" + x1="28.244684" + gradientUnits="userSpaceOnUse" + id="linearGradient9972" + xlink:href="#linearGradient9910" /> <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient4228" - id="linearGradient3125" + y2="68.224884" + x2="28.244684" + y1="60.445503" + x1="28.244684" + gradientTransform="matrix(0.493304,-0.716654,-0.716654,-0.493304,51.767278,81.4192)" gradientUnits="userSpaceOnUse" + id="linearGradient3119" + xlink:href="#linearGradient4220" /> + <linearGradient + y2="68.224884" + x2="28.244684" + y1="60.445503" + x1="28.244684" gradientTransform="matrix(0.493304,-0.716654,-0.716654,-0.493304,51.767278,81.4192)" - x1="55.876038" - y1="62.401989" + gradientUnits="userSpaceOnUse" + id="linearGradient3121" + xlink:href="#linearGradient4238" /> + <linearGradient + y2="62.827091" x2="38.061356" - y2="62.827091" /> + y1="62.401989" + x1="55.876038" + gradientTransform="matrix(0.493304,-0.716654,-0.716654,-0.493304,51.767278,81.4192)" + gradientUnits="userSpaceOnUse" + id="linearGradient3125" + xlink:href="#linearGradient4228" /> <linearGradient - inkscape:collect="always" - xlink:href="#linearGradient9910" - id="linearGradient4294" - x1="30.649073" - y1="20.050009" - x2="46.750927" - y2="20.050009" + gradientTransform="translate(-4.8,-11.4)" gradientUnits="userSpaceOnUse" - gradientTransform="translate(-4.8,-11.4)" /> + y2="20.050009" + x2="46.750927" + y1="20.050009" + x1="30.649073" + id="linearGradient4294" + xlink:href="#linearGradient9910" /> </defs> - <sodipodi:namedview - stroke="#ef2929" - fill="#eeeeec" - id="base" - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="0.25490196" - inkscape:pageopacity="0.0" - inkscape:pageshadow="2" - inkscape:zoom="20" - inkscape:cx="29.291033" - inkscape:cy="24.089135" - inkscape:current-layer="layer1" - showgrid="false" - inkscape:grid-bbox="true" - inkscape:document-units="px" - inkscape:showpageshadow="false" - inkscape:window-width="1642" - inkscape:window-height="1002" - inkscape:window-x="38" - inkscape:window-y="25" - width="48px" - height="48px" - objecttolerance="1" - inkscape:object-nodes="false" - inkscape:has_abs_tolerance="false" - inkscape:window-maximized="1" /> <metadata id="metadata4"> <rdf:RDF> @@ -477,7 +416,7 @@ <dc:source>http://jimmac.musichall.cz</dc:source> <cc:license rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" /> - <dc:title /> + <dc:title></dc:title> <dc:subject> <rdf:Bag> <rdf:li>office</rdf:li> @@ -504,50 +443,26 @@ </rdf:RDF> </metadata> <g - id="layer1" - inkscape:label="Layer 1" - inkscape:groupmode="layer" - inkscape:r_cx="true" - inkscape:r_cy="true"> + id="layer1"> <path - inkscape:connector-curvature="0" - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#e7e7e7;fill-opacity:1;fill-rule:evenodd;stroke:#7d7d7d;stroke-width:0.99999958;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none" - d="m 18.922824,31.002754 c -0.882411,-0.607402 -3.380814,1.584711 -5.631979,4.855122 -2.251165,3.270411 -2.718833,6.860367 -2.524417,6.994192 0.216678,0.149149 3.380814,-1.584711 5.63198,-4.855122 2.251165,-3.270411 3.406828,-6.38679 2.524416,-6.994192 z" id="path9903" - sodipodi:nodetypes="cszsc" - inkscape:r_cx="true" - inkscape:r_cy="true" /> + d="m 18.922824,31.002754 c -0.882411,-0.607402 -3.380814,1.584711 -5.631979,4.855122 -2.251165,3.270411 -2.718833,6.860367 -2.524417,6.994192 0.216678,0.149149 3.380814,-1.584711 5.63198,-4.855122 2.251165,-3.270411 3.406828,-6.38679 2.524416,-6.994192 z" + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#e7e7e7;fill-opacity:1;fill-rule:evenodd;stroke:#7d7d7d;stroke-width:0.99999958;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none" /> <path - inkscape:connector-curvature="0" - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3119);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.9999997;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" - d="m 24.189972,29.045877 c -2.941809,4.15471 -5.832829,7.753007 -8.218557,10.338669 -0.711252,0.62297 -2.722505,1.945941 -3.633757,1.26891 C 11.259739,39.843093 11.78182,37.63273 12.103901,36.722367 13.86523,33.171968 16.608326,28.577556 19.934459,23.745472 25.938374,15.023204 31.89203,8.3782899 34.246967,7.5900109 c 0.07227,-0.022903 0.169188,-0.053053 0.234388,-0.064485 0.04584,-0.00698 0.113748,-0.00461 0.155869,-0.00562 0.06619,3.061e-4 0.151055,0.013972 0.207436,0.029876 0.01378,0.00447 0.05599,0.0045 0.06915,0.00996 0.01284,0.00596 0.03936,0.02854 0.05157,0.035496 0.0059,0.00373 0.02,0.013768 0.02578,0.017748 0.0058,0.00398 0.02018,0.013528 0.02578,0.017748 0.01085,0.00892 0.04142,0.025629 0.05157,0.035496 0.0098,0.010339 0.02489,0.049754 0.03399,0.061033 0.03498,0.046987 0.07805,0.1213803 0.101966,0.1830988 0.01409,0.039707 0.04056,0.1022948 0.0504,0.1476043 0.0126,0.064979 0.01904,0.1662731 0.02344,0.2419582 0.104434,2.4811718 -3.976976,10.4148338 -9.980891,19.1371018 -0.373577,0.542718 -0.735225,1.083169 -1.107443,1.608851 z" id="path9898" - inkscape:r_cx="true" - inkscape:r_cy="true" - sodipodi:nodetypes="scccscccccccccccccss" /> + d="m 24.189972,29.045877 c -2.941809,4.15471 -5.832829,7.753007 -8.218557,10.338669 -0.711252,0.62297 -2.722505,1.945941 -3.633757,1.26891 C 11.259739,39.843093 11.78182,37.63273 12.103901,36.722367 13.86523,33.171968 16.608326,28.577556 19.934459,23.745472 25.938374,15.023204 31.89203,8.3782899 34.246967,7.5900109 c 0.07227,-0.022903 0.169188,-0.053053 0.234388,-0.064485 0.04584,-0.00698 0.113748,-0.00461 0.155869,-0.00562 0.06619,3.061e-4 0.151055,0.013972 0.207436,0.029876 0.01378,0.00447 0.05599,0.0045 0.06915,0.00996 0.01284,0.00596 0.03936,0.02854 0.05157,0.035496 0.0059,0.00373 0.02,0.013768 0.02578,0.017748 0.0058,0.00398 0.02018,0.013528 0.02578,0.017748 0.01085,0.00892 0.04142,0.025629 0.05157,0.035496 0.0098,0.010339 0.02489,0.049754 0.03399,0.061033 0.03498,0.046987 0.07805,0.1213803 0.101966,0.1830988 0.01409,0.039707 0.04056,0.1022948 0.0504,0.1476043 0.0126,0.064979 0.01904,0.1662731 0.02344,0.2419582 0.104434,2.4811718 -3.976976,10.4148338 -9.980891,19.1371018 -0.373577,0.542718 -0.735225,1.083169 -1.107443,1.608851 z" + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3119);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.9999997;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" /> <path - inkscape:connector-curvature="0" - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3121);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.9999997;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" - d="m 28.75569,22.854607 c -0.747047,1.047569 -1.520954,2.05411 -2.255907,3.001276 -1.22201,0.159 -3.126011,0.205203 -3.981433,-0.45357 -0.921219,-0.837368 -1.104049,-2.041324 -1.433088,-3.273479 0.885239,-1.457513 1.868325,-2.99026 2.929731,-4.532232 5.065803,-7.359414 10.292894,-12.8246735 12.542954,-13.3086927 0.01977,-0.00391 0.06743,-0.012463 0.08672,-0.015579 0.01906,-0.00272 0.06815,-0.013658 0.08672,-0.015579 0.04584,-0.0038 0.113077,-0.00687 0.155869,-0.00562 0.01687,9.059e-4 0.05277,0.00824 0.06914,0.00996 0.04836,0.0064 0.120291,0.023809 0.164075,0.037665 0.01434,0.00504 0.05533,0.00408 0.06914,0.00996 0.02033,0.00944 0.05821,0.041893 0.07735,0.053243 0.0063,0.004 0.01967,0.013539 0.02578,0.017748 0.0061,0.00421 0.01982,0.013338 0.02578,0.017748 0.01744,0.013832 0.06127,0.037624 0.07735,0.053244 0.01042,0.010808 0.02417,0.049439 0.03399,0.061033 0.02857,0.035951 0.07052,0.096923 0.09376,0.1398139 0.0074,0.014677 0.02712,0.045598 0.03399,0.061033 0.01644,0.039528 0.03758,0.1034227 0.0504,0.1476038 0.0048,0.018039 0.01215,0.067799 0.01641,0.08657 0.004,0.019135 0.013,0.066711 0.01641,0.08657 0.351197,2.274578 -2.887701,9.108397 -7.953505,16.467811 -0.315205,0.457918 -0.616093,0.910969 -0.931657,1.353477 z" id="path9893" - inkscape:r_cx="true" - inkscape:r_cy="true" - sodipodi:nodetypes="ccccscccccccccccccccccscc" /> + d="m 28.75569,22.854607 c -0.747047,1.047569 -1.520954,2.05411 -2.255907,3.001276 -1.22201,0.159 -3.126011,0.205203 -3.981433,-0.45357 -0.921219,-0.837368 -1.104049,-2.041324 -1.433088,-3.273479 0.885239,-1.457513 1.868325,-2.99026 2.929731,-4.532232 5.065803,-7.359414 10.292894,-12.8246735 12.542954,-13.3086927 0.01977,-0.00391 0.06743,-0.012463 0.08672,-0.015579 0.01906,-0.00272 0.06815,-0.013658 0.08672,-0.015579 0.04584,-0.0038 0.113077,-0.00687 0.155869,-0.00562 0.01687,9.059e-4 0.05277,0.00824 0.06914,0.00996 0.04836,0.0064 0.120291,0.023809 0.164075,0.037665 0.01434,0.00504 0.05533,0.00408 0.06914,0.00996 0.02033,0.00944 0.05821,0.041893 0.07735,0.053243 0.0063,0.004 0.01967,0.013539 0.02578,0.017748 0.0061,0.00421 0.01982,0.013338 0.02578,0.017748 0.01744,0.013832 0.06127,0.037624 0.07735,0.053244 0.01042,0.010808 0.02417,0.049439 0.03399,0.061033 0.02857,0.035951 0.07052,0.096923 0.09376,0.1398139 0.0074,0.014677 0.02712,0.045598 0.03399,0.061033 0.01644,0.039528 0.03758,0.1034227 0.0504,0.1476038 0.0048,0.018039 0.01215,0.067799 0.01641,0.08657 0.004,0.019135 0.013,0.066711 0.01641,0.08657 0.351197,2.274578 -2.887701,9.108397 -7.953505,16.467811 -0.315205,0.457918 -0.616093,0.910969 -0.931657,1.353477 z" + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3121);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.9999997;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" /> <path - inkscape:connector-curvature="0" - inkscape:r_cy="true" - inkscape:r_cx="true" - style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:0.35714285;fill:none;stroke:url(#linearGradient3125);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" - d="m 27.081744,23.244088 c -0.188826,0.267315 -1.128133,1.616373 -1.31571,1.878152 -0.724932,0.01933 -1.699864,0.238657 -2.774797,-0.192014 C 22.416305,24.132888 22.091373,23.58555 22.016441,22.538212 22.529594,21.75987 24.00314,19.390277 24.542686,18.581053 30.75449,9.2644337 36.842616,4.6091151 37.096428,4.7829476 37.375624,4.9741649 34.931936,12.260041 28.599106,21.06121 c -0.37182,0.516743 -1.159586,1.676387 -1.517362,2.182878 z" id="path9930" - sodipodi:nodetypes="ccccszsc" /> + d="m 27.081744,23.244088 c -0.188826,0.267315 -1.128133,1.616373 -1.31571,1.878152 -0.724932,0.01933 -1.699864,0.238657 -2.774797,-0.192014 C 22.416305,24.132888 22.091373,23.58555 22.016441,22.538212 22.529594,21.75987 24.00314,19.390277 24.542686,18.581053 30.75449,9.2644337 36.842616,4.6091151 37.096428,4.7829476 37.375624,4.9741649 34.931936,12.260041 28.599106,21.06121 c -0.37182,0.516743 -1.159586,1.676387 -1.517362,2.182878 z" + style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:0.35714285;fill:none;stroke:url(#linearGradient3125);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" /> <path - inkscape:connector-curvature="0" - inkscape:r_cy="true" - inkscape:r_cx="true" - style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:0.58399999;fill:url(#linearGradient4294);fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" - d="m 34.01437,11.047968 c -0.638826,1.267315 -2.478133,4.966373 -4.26571,7.128152 -1.020575,-0.956918 -1.814264,-1.47078 -2.849593,-1.934028 l 4.826245,-6.407159 c 1.05717,-0.09913 1.780931,0.19205 2.289058,1.213035 z" id="path9930-9" - sodipodi:nodetypes="ccccc" /> + d="m 34.01437,11.047968 c -0.638826,1.267315 -2.478133,4.966373 -4.26571,7.128152 -1.020575,-0.956918 -1.814264,-1.47078 -2.849593,-1.934028 l 4.826245,-6.407159 c 1.05717,-0.09913 1.780931,0.19205 2.289058,1.213035 z" + style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:0.8;fill:url(#linearGradient4294);fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" /> </g> </svg> @@ -3,9 +3,14 @@ int main(int argc, char *argv[]) { - QApplication a(argc, argv); + QApplication app(argc, argv); + app.setOrganizationName("scribiu"); + app.setOrganizationDomain("com.javispedro.scribiu"); + app.setApplicationName("scribiu"); + app.setApplicationVersion("1.0"); + MainWindow w; w.show(); - return a.exec(); + return app.exec(); } diff --git a/mainwindow.cc b/mainwindow.cc index b49a8da..921abe2 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -321,3 +321,8 @@ QString MainWindow::formatDuration(qint64 time) return QString("%2:%3").arg(mins).arg(secs, 2, 10, fill); } } + +void MainWindow::handleAbout() +{ + QMessageBox::about(this, tr("About Scribiu"), tr("Read notebooks and audio notes from your Livescribe Echo pen")); +} diff --git a/mainwindow.h b/mainwindow.h index 72d8898..7ce6a1e 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -42,6 +42,7 @@ private slots: void handleMediaTick(qint64 time); void handlePensBeingSynchronizedChanged(); void handleExport(); + void handleAbout(); private: QString formatDuration(qint64 time); diff --git a/mainwindow.ui b/mainwindow.ui index 11f2aa6..83c5105 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -14,7 +14,9 @@ <string>Scribiu</string> </property> <property name="windowIcon"> - <iconset theme="scribiu"/> + <iconset theme="scribiu"> + <normaloff/> + </iconset> </property> <widget class="QWidget" name="centralWidget"> <layout class="QVBoxLayout" name="verticalLayout"> @@ -347,7 +349,14 @@ <addaction name="separator"/> <addaction name="actionQuit"/> </widget> + <widget class="QMenu" name="menu_Help"> + <property name="title"> + <string>&Help</string> + </property> + <addaction name="actionAbout"/> + </widget> <addaction name="menuFile"/> + <addaction name="menu_Help"/> </widget> <widget class="QStatusBar" name="statusBar"/> <action name="actionQuit"> @@ -368,12 +377,22 @@ </action> <action name="actionExport"> <property name="icon"> - <iconset theme="document-save-as"/> + <iconset theme="document-save-as"> + <normaloff/> + </iconset> </property> <property name="text"> <string>&Export...</string> </property> </action> + <action name="actionAbout"> + <property name="icon"> + <iconset theme="help-about"/> + </property> + <property name="text"> + <string>About...</string> + </property> + </action> </widget> <layoutdefault spacing="6" margin="11"/> <customwidgets> @@ -441,8 +460,8 @@ <y>42</y> </hint> <hint type="destinationlabel"> - <x>521</x> - <y>210</y> + <x>479</x> + <y>272</y> </hint> </hints> </connection> @@ -453,8 +472,8 @@ <slot>handleCurPageChanged()</slot> <hints> <hint type="sourcelabel"> - <x>521</x> - <y>210</y> + <x>479</x> + <y>272</y> </hint> <hint type="destinationlabel"> <x>358</x> @@ -469,12 +488,12 @@ <slot>prevPage()</slot> <hints> <hint type="sourcelabel"> - <x>341</x> - <y>42</y> + <x>273</x> + <y>57</y> </hint> <hint type="destinationlabel"> - <x>521</x> - <y>210</y> + <x>479</x> + <y>272</y> </hint> </hints> </connection> @@ -485,12 +504,12 @@ <slot>nextPage()</slot> <hints> <hint type="sourcelabel"> - <x>433</x> - <y>42</y> + <x>365</x> + <y>57</y> </hint> <hint type="destinationlabel"> - <x>521</x> - <y>210</y> + <x>479</x> + <y>272</y> </hint> </hints> </connection> @@ -501,8 +520,8 @@ <slot>handlePaperReplayRequested(QString,qint64)</slot> <hints> <hint type="sourcelabel"> - <x>521</x> - <y>193</y> + <x>479</x> + <y>255</y> </hint> <hint type="destinationlabel"> <x>358</x> @@ -517,8 +536,8 @@ <slot>handlePaperReplayPlay()</slot> <hints> <hint type="sourcelabel"> - <x>341</x> - <y>343</y> + <x>273</x> + <y>358</y> </hint> <hint type="destinationlabel"> <x>358</x> @@ -533,8 +552,8 @@ <slot>handlePaperReplayPause()</slot> <hints> <hint type="sourcelabel"> - <x>377</x> - <y>343</y> + <x>309</x> + <y>358</y> </hint> <hint type="destinationlabel"> <x>358</x> @@ -622,6 +641,22 @@ </hint> </hints> </connection> + <connection> + <sender>actionAbout</sender> + <signal>triggered()</signal> + <receiver>MainWindow</receiver> + <slot>handleAbout()</slot> + <hints> + <hint type="sourcelabel"> + <x>358</x> + <y>193</y> + </hint> + <hint type="destinationlabel"> + <x>358</x> + <y>192</y> + </hint> + </hints> + </connection> </connections> <slots> <slot>handleNotebookSelected(QModelIndex)</slot> @@ -632,5 +667,6 @@ <slot>handlePaperReplayPause()</slot> <slot>handlePaperReplaySelected(QModelIndex)</slot> <slot>handleExport()</slot> + <slot>handleAbout()</slot> </slots> </ui> diff --git a/notebookmodel.cc b/notebookmodel.cc index 2139ee7..6db93d1 100644 --- a/notebookmodel.cc +++ b/notebookmodel.cc @@ -1,4 +1,5 @@ #include <QtCore/QDebug> +#include <QtCore/QSettings> #include <QtGui/QApplication> #include <QtGui/QIcon> #include <QtGui/QDesktopServices> @@ -12,7 +13,7 @@ NotebookModel::NotebookModel(QObject *parent) : QAbstractItemModel(parent), - _dataDir(QDesktopServices::storageLocation(QDesktopServices::DataLocation)), + _dataDir(userDataDirectory()), _watcher() { if (!_dataDir.exists()) { @@ -25,6 +26,26 @@ NotebookModel::NotebookModel(QObject *parent) : refresh(); } +QString NotebookModel::defaultDataDirectory() +{ + QString path = QDesktopServices::storageLocation(QDesktopServices::DataLocation); + if (path.isEmpty()) { + path = QDir::home().absoluteFilePath(".scribiu"); + } + return path; +} + +QString NotebookModel::userDataDirectory() +{ + QSettings settings; + QString path = settings.value("data/directory").toString(); + if (path.isEmpty()) { + path = defaultDataDirectory(); + settings.setValue("data/directory", QString()); + } + return path; +} + QString NotebookModel::penDirectory(const QString &name) const { return _dataDir.filePath(name + ".pen"); diff --git a/notebookmodel.h b/notebookmodel.h index cbe94c6..2b6ad73 100644 --- a/notebookmodel.h +++ b/notebookmodel.h @@ -8,9 +8,13 @@ class NotebookModel : public QAbstractItemModel { Q_OBJECT + public: explicit NotebookModel(QObject *parent = 0); + static QString defaultDataDirectory(); + static QString userDataDirectory(); + QString penDirectory(const QString &name) const; QString notebookDirectory(const QString &penName, const QString &nbName) const; QString notebookDirectory(const QModelIndex &index) const; diff --git a/smartpensyncer.cc b/smartpensyncer.cc index 654b0eb..100b64b 100644 --- a/smartpensyncer.cc +++ b/smartpensyncer.cc @@ -2,9 +2,9 @@ #include <QtCore/QScopedArrayPointer> #include <QtCore/QThread> #include <QtCore/QDebug> -#include <QtGui/QDesktopServices> #include <quazip/quazipfile.h> #include "paperreplay.h" +#include "notebookmodel.h" #include "smartpensyncer.h" #define BUFFER_SIZE 16 * 1024 @@ -89,7 +89,7 @@ void SmartpenSyncer::run() _penSerial = penInfo["penserial"].toString(); - _penDataDir.setPath(QDesktopServices::storageLocation(QDesktopServices::DataLocation) + "/" + _penName + ".pen"); + _penDataDir.setPath(NotebookModel::userDataDirectory() + "/" + _penName + ".pen"); if (!_penDataDir.exists()) { if (!_penDataDir.mkpath(".")) { qWarning() << "Cannot create pen data directory:" << _penDataDir.absolutePath(); |