summaryrefslogtreecommitdiffstats
path: root/app/images/HMI_Phone_Button_5_Active-01.svg
diff options
context:
space:
mode:
Diffstat (limited to 'app/images/HMI_Phone_Button_5_Active-01.svg')
-rw-r--r--app/images/HMI_Phone_Button_5_Active-01.svg170
1 files changed, 170 insertions, 0 deletions
diff --git a/app/images/HMI_Phone_Button_5_Active-01.svg b/app/images/HMI_Phone_Button_5_Active-01.svg
new file mode 100644
index 0000000..bdab1cb
--- /dev/null
+++ b/app/images/HMI_Phone_Button_5_Active-01.svg
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+
+<svg
+ xmlns:i="&amp;#38;ns_ai;"
+ 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"
+ version="1.1"
+ x="0px"
+ y="0px"
+ viewBox="0 0 172 172"
+ style="enable-background:new 0 0 172 172;"
+ xml:space="preserve"
+ id="svg2"
+ inkscape:version="0.91 r13725"
+ sodipodi:docname="HMI_Phone_Button_5_Active-01.svg"><metadata
+ id="metadata94"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
+ id="defs92" /><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="2560"
+ inkscape:window-height="1464"
+ id="namedview90"
+ showgrid="false"
+ inkscape:zoom="1.372093"
+ inkscape:cx="-554.2627"
+ inkscape:cy="85.999999"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg2" /><style
+ type="text/css"
+ id="style4">
+ .st0{display:none;}
+ .st1{display:inline;}
+ .st2{opacity:0.15;fill:url(#SVGID_1_);}
+ .st3{opacity:0.15;fill:url(#SVGID_2_);stroke:url(#SVGID_3_);stroke-miterlimit:10;}
+ .st4{fill:url(#SVGID_4_);}
+ .st5{display:inline;fill:#66FF99;}
+ .st6{font-family:'Roboto-Light';}
+ .st7{font-size:78.8169px;}
+ .st8{opacity:0.15;fill:url(#SVGID_5_);}
+ .st9{opacity:0.35;fill:url(#SVGID_6_);}
+ .st10{opacity:0.15;fill:url(#SVGID_7_);}
+ .st11{opacity:0.15;fill:url(#SVGID_8_);stroke:url(#SVGID_9_);stroke-miterlimit:10;}
+ .st12{fill:url(#SVGID_10_);}
+ .st13{fill:#FFFFFF;}
+</style><switch
+ id="switch6"><g
+ i:extraneous="self"
+ id="g8"><g
+ id="Active"><linearGradient
+ id="SVGID_5_"
+ gradientUnits="userSpaceOnUse"
+ x1="1.2348"
+ y1="170.7652"
+ x2="170.7652"
+ y2="1.2348"><stop
+ offset="0"
+ style="stop-color:#FFFFFF;stop-opacity:0"
+ id="stop45" /><stop
+ offset="1"
+ style="stop-color:#000000"
+ id="stop47" /></linearGradient><rect
+ x="1.2"
+ y="1.2"
+ class="st8"
+ width="169.5"
+ height="169.5"
+ id="rect49" /><linearGradient
+ id="SVGID_6_"
+ gradientUnits="userSpaceOnUse"
+ x1="-0.9569"
+ y1="168.4538"
+ x2="172.9569"
+ y2="3.5462"><stop
+ offset="0.136"
+ style="stop-color:#5DFE9F;stop-opacity:0.94"
+ id="stop52" /><stop
+ offset="0.6043"
+ style="stop-color:#6BFBFF;stop-opacity:0.6"
+ id="stop54" /></linearGradient><rect
+ x="1.2"
+ y="1.2"
+ class="st9"
+ width="169.5"
+ height="169.5"
+ id="rect56" /><g
+ id="g58"><linearGradient
+ id="SVGID_7_"
+ gradientUnits="userSpaceOnUse"
+ x1="1.2348"
+ y1="170.7652"
+ x2="170.7652"
+ y2="1.2348"><stop
+ offset="0"
+ style="stop-color:#FFFFFF;stop-opacity:0"
+ id="stop61" /><stop
+ offset="1"
+ style="stop-color:#000000"
+ id="stop63" /></linearGradient><rect
+ x="1.2"
+ y="1.2"
+ class="st10"
+ width="169.5"
+ height="169.5"
+ id="rect65" /><linearGradient
+ id="SVGID_8_"
+ gradientUnits="userSpaceOnUse"
+ x1="1"
+ y1="171"
+ x2="171"
+ y2="1"><stop
+ offset="0"
+ style="stop-color:#FFFFFF;stop-opacity:0"
+ id="stop68" /><stop
+ offset="1"
+ style="stop-color:#000000"
+ id="stop70" /></linearGradient><linearGradient
+ id="SVGID_9_"
+ gradientUnits="userSpaceOnUse"
+ x1="-1.7107"
+ y1="169.1686"
+ x2="173.7107"
+ y2="2.8314"><stop
+ offset="0"
+ style="stop-color:#8BC53F"
+ id="stop73" /><stop
+ offset="1"
+ style="stop-color:#0DF9FF"
+ id="stop75" /></linearGradient><rect
+ x="1"
+ y="1"
+ class="st11"
+ width="170"
+ height="170"
+ id="rect77" /><g
+ id="g79"><linearGradient
+ id="SVGID_10_"
+ gradientUnits="userSpaceOnUse"
+ x1="-2.2236"
+ y1="169.6549"
+ x2="174.2236"
+ y2="2.3451"><stop
+ offset="0"
+ style="stop-color:#59FF7F"
+ id="stop82" /><stop
+ offset="1"
+ style="stop-color:#6BFBFF"
+ id="stop84" /></linearGradient><path
+ class="st12"
+ d="M171,1v170H1V1H171 M172,0h-1H1H0v1v170v1h1h170h1v-1V1V0L172,0z"
+ id="path86" /></g></g><text
+ transform="matrix(1 5.460000e-03 -5.460000e-03 1 64.0738 111.6182)"
+ class="st13 st6 st7"
+ id="text88">5</text>
+</g></g></switch></svg> \ No newline at end of file
class="cm"> */ #include <QtCore/QDebug> #include <QtCore/QCommandLineParser> #include <QtCore/QUrlQuery> #include <QtCore/QFile> #include <QtGui/QGuiApplication> #include <QtQml/QQmlApplicationEngine> #include <QtQml/QQmlContext> #include <QtQuickControls2/QQuickStyle> #include <QQuickWindow> #include <QtQrCodeQuickItem.hpp> #include <libhomescreen.hpp> #include <bluetooth.h> #include <network.h> #include <voice.h> int main(int argc, char *argv[]) { QString graphic_role = QString("settings"); // defined in layers.json in window manager QGuiApplication app(argc, argv); app.setApplicationName(graphic_role); app.setApplicationVersion(QStringLiteral("0.1.1")); app.setOrganizationDomain(QStringLiteral("automotivelinux.org")); app.setOrganizationName(QStringLiteral("AutomotiveGradeLinux")); // necessary as the app_id will be a combination of 'automotivelinux.org' // and 'settings' app.setDesktopFileName(graphic_role); QQuickStyle::setStyle("AGL"); QCommandLineParser parser; parser.addPositionalArgument("port", app.translate("main", "port for binding")); parser.addPositionalArgument("secret", app.translate("main", "secret for binding")); parser.addHelpOption(); parser.addVersionOption(); parser.process(app); QStringList positionalArguments = parser.positionalArguments(); QQmlApplicationEngine engine; if (positionalArguments.length() != 2) { exit(EXIT_FAILURE); } int port = positionalArguments.takeFirst().toInt(); QString secret = positionalArguments.takeFirst(); QUrlQuery query; query.addQueryItem(QStringLiteral("token"), secret); QUrl bindingAddressWS; bindingAddressWS.setScheme(QStringLiteral("ws")); bindingAddressWS.setHost(QStringLiteral("localhost")); bindingAddressWS.setPort(port); bindingAddressWS.setPath(QStringLiteral("/api")); bindingAddressWS.setQuery(query); QQmlContext *context = engine.rootContext(); context->setContextProperty(QStringLiteral("bindingAddressWS"), bindingAddressWS); context->setContextProperty("network", new Network(bindingAddressWS, context)); std::string token = secret.toStdString(); QFile version("/proc/version"); if (version.open(QFile::ReadOnly)) { QStringList data = QString::fromLocal8Bit(version.readAll()).split(QLatin1Char(' ')); engine.rootContext()->setContextProperty("kernel", data.at(2)); version.close(); } else { qWarning() << version.errorString(); } QFile aglversion("/etc/os-release"); if (aglversion.open(QFile::ReadOnly)) { QStringList data = QString::fromLocal8Bit(aglversion.readAll()).split(QLatin1Char('\n')); QStringList data2 = data.at(2).split(QLatin1Char('"')); engine.rootContext()->setContextProperty("ucb", data2.at(1)); aglversion.close(); } else { qWarning() << aglversion.errorString(); } QtQrCodeQuickItem::registerQmlTypes(); engine.rootContext()->setContextProperty("bluetooth", new Bluetooth(bindingAddressWS, context)); engine.rootContext()->setContextProperty("voice", new Voice(bindingAddressWS, context)); engine.load(QUrl(QStringLiteral("qrc:/Settings.qml"))); return app.exec(); }