6 lines
2.7 KiB
XML
Raw Normal View History

Add IOT dashboard example (#116) * Add IOT dashboard example * Add images * more content * add pie chart * Add skin factories etc. * more work on the pie chart * Try to use quick shapes * Revert "Try to use quick shapes" This reverts commit df6b5b22a339173d2a70ed85744b598811c26b30. Doesn't work that easily unfortunately. * implement design * Add fonts; for now as a resource We should use fontconfig of course later * improve menu bar * implement top bar * use QNanoPainter for circular graphs * Revert "use QNanoPainter for circular graphs" This reverts commit ba0263cb1c19462cc41063ec7087c95e176c8293. Try with QQuickPaintedItem instead for now. * use painted items for circular bar graphs (for now) * use different colors * use some gradients all of this is very hackish still * add to top bar * fix fonts and time display * implement usage * implement indoor temperature * implement Humidity * implement My Devices * fix opacity issue with devices * make icons quadratic with some quick fixes as usual * Add diagram * try to smooth out curves * Add diagram caption * use tiny font * make caption smaller * add wekdays * add grid lines * fix my devices * add light intensity * add box around each section * rename Card to Box * Put indoor temperature inside a box * put Humidity in a box * put the rest in a box * some small stuff * add kirigami code * something works somehow * maybe we don't need our own class still some work to do, but the main thing works * add shadow from outside ... because the class is not a QskControl * fine-tune the layout * cross compilation: Make sure examples find libraries at link time * fix compilation for embedded target * add night time skin * add new button class to better style it * more hints for the night time skin * change hints for dimmer * change hints for progress bars * Use animator for light dimmer * use animator for progress bars * Add Kirigami code It was on oversight that this was forgotten earlier. We could of course strip this down a lot to the part that we are actually using (i.e. the shadowed rectangle). * fix build with new QSkinny version * fix paddings, something in the API changed * fix stretch factors * fix build with new version * clang tidy fixes * fix unused parameter warnings should clean this up properly * beautify example * use astyle * style menu bar properly * fix warning * more size hints * refactor skins * more skin hints * graphic label skin hints * menu item states instead of own API * main grid box styling * top bar styling * fix build * style round progress bars * style time * style indoor temperature and humidity * simplify temperature and humidity * style some more * style My Devices section * style My Devices some more * fix styles when switching between them * style diagram * style more elements inside diagram * more diagram style * fix skin changes * style light intensity * Fix Humidity * fix light intensity layout and other stuff * style light intensity * style button value label * style round button * style button boxes some more * style menu bar top label * style menu bar icons * remove ShadowBox, it is not used * style shadow boxes * remove QskShadowedRectangle We are not using it * style usage spacer * fine tune * Refactor diagram before replacing it * Add Diagram drawn with OpenGL * use new Diagram class * Support more than one data point in a diagram * change data points and colors a bit * position caption box * adapt the spline to show nice curves * remove boost::math dependency We just hardcode the values here so we can get rid of the dependency. * Remove kirigami code that we don't need We only need the shadow * move kirigami code * rename header guards * add license headers * rename some classes
2021-04-26 06:22:35 +02:00
<svg width="14" height="12" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2.66392 10.5069C2.5579 10.5069 2.46329 10.4318 2.4424 10.3239C2.40537 10.1319 2.38031 9.93484 2.368 9.73816C2.36021 9.61363 2.45482 9.50637 2.57913 9.49858C2.70558 9.49113 2.81103 9.5854 2.81871 9.70971C2.82989 9.88719 2.85247 10.065 2.88589 10.2383C2.90948 10.3608 2.82932 10.4793 2.70693 10.5028C2.69248 10.5056 2.67803 10.5069 2.66392 10.5069Z" fill="white"/>
<path d="M7.67533 2.47392V1.35471H8.04903C8.17368 1.35471 8.27484 1.25355 8.27484 1.12891V0.225805C8.27484 0.10116 8.17368 0 8.04903 0H5.95086C5.82621 0 5.72505 0.10116 5.72505 0.225805V1.12891C5.72505 1.25355 5.82621 1.35471 5.95086 1.35471H6.32456V2.4738C2.78056 2.82357 0 5.89406 0 9.61894C0 10.1689 0.0447093 10.6839 0.129273 11.1082C0.150386 11.2139 0.243079 11.2899 0.350787 11.2899H13.6276C13.7348 11.2899 13.8273 11.2146 13.8488 11.1096C13.9492 10.6226 14 10.1211 14 9.61882C13.9999 5.89406 11.2193 2.82357 7.67533 2.47392ZM6.17666 0.451609H7.82323V0.903106H6.17666V0.451609ZM6.77617 1.35471H7.22383V2.44558C7.07412 2.44072 6.92588 2.44072 6.77617 2.44558V1.35471ZM7.33233 10.4734C7.2612 10.674 7.08677 10.8128 6.87699 10.8353C6.59191 10.867 6.31429 10.6486 6.27093 10.3607C6.24 10.1539 6.32434 9.94986 6.49098 9.82826H6.49109L6.94372 9.49825L7.53837 9.98226C7.445 10.1906 7.37071 10.365 7.33233 10.4734ZM7.32104 9.2231L8.19705 8.5843C8.0496 8.88869 7.8825 9.23744 7.73279 9.55831L7.32104 9.2231ZM13.441 10.8384H11.4258C11.568 10.3894 11.6411 9.92242 11.6411 9.44518C11.6411 6.8928 9.55921 4.81619 7.00006 4.81619C4.68499 4.81619 2.70751 6.53942 2.4003 8.82444C2.38382 8.94807 2.47042 9.06177 2.59404 9.07836C2.7179 9.09406 2.83125 9.00814 2.84796 8.88462C3.12502 6.82269 4.91001 5.2678 6.99994 5.2678C9.31004 5.2678 11.1894 7.14175 11.1894 9.44518C11.1894 9.92423 11.1083 10.3921 10.9499 10.8384H7.65026C7.69328 10.7722 7.73065 10.7014 7.75797 10.6243C7.93703 10.1191 8.9921 7.98671 9.0026 7.96515C9.10444 7.75978 8.85357 7.54628 8.66717 7.68244L6.22498 9.46336H6.22509C5.92173 9.68442 5.76829 10.054 5.8244 10.4278C5.8471 10.5788 5.90389 10.7178 5.98518 10.8384H0.53956C0.481867 10.4798 0.451609 10.0624 0.451609 9.61894C0.451609 8.46858 0.734542 7.38494 1.2321 6.43701L2.37332 6.96652C2.63785 7.0888 2.82719 6.67919 2.56345 6.5568L1.45712 6.04344C2.57959 4.21318 4.53562 2.97577 6.77414 2.8973V4.13132C6.77414 4.25597 6.8753 4.35713 6.99994 4.35713C7.12459 4.35713 7.22575 4.25597 7.22575 4.13132V2.8973C9.46054 2.97565 11.4136 4.209 12.5371 6.03418L11.5581 6.43938C11.2894 6.55048 11.4617 6.96799 11.7308 6.85656L12.7638 6.429C13.2639 7.37884 13.5483 8.46542 13.5483 9.61894C13.5483 10.0289 13.5123 10.4383 13.441 10.8384Z" fill="white"/>
</svg>