5 lines
2.6 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="11" viewBox="0 0 14 11" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.97 3.59356C12.3682 3.20361 12.6 2.67092 12.6 2.10001C12.6 0.942105 11.6581 0 10.5 0C10.1174 0 9.74103 0.105164 9.41107 0.3042C9.30079 0.370865 9.26525 0.514174 9.33177 0.624588C9.3983 0.735003 9.54186 0.770194 9.65216 0.703885C9.90941 0.548709 10.2025 0.466678 10.5 0.466678C11.4006 0.466678 12.1334 1.19938 12.1334 2.10001C12.1334 2.65462 11.8556 3.16584 11.3894 3.46821C10.9979 3.72503 10.5016 3.79907 10.0484 3.66998C9.92582 3.63465 9.79547 3.70621 9.75993 3.83016C9.7246 3.95411 9.79637 4.0832 9.92035 4.11864C10.109 4.17265 10.3041 4.19999 10.5 4.19999C10.8669 4.19999 11.2216 4.09991 11.5365 3.91917C12.7343 4.3532 13.5334 5.48411 13.5334 6.76667V7.93335H11.4057C11.2404 6.37486 10.2599 5.01106 8.82977 4.36348C9.28488 3.90011 9.56669 3.26595 9.56669 2.56669C9.56671 1.1514 8.41529 0 7.00003 0C5.58476 0 4.43334 1.1514 4.43334 2.56669C4.43334 3.26617 4.71531 3.90052 5.17067 4.36394C4.68936 4.58261 4.24297 4.88853 3.86437 5.26498C3.13858 5.99284 2.69692 6.92705 2.59209 7.93341H0.466678V6.76673C0.466678 5.95872 0.78228 5.19686 1.35445 4.62229C1.66942 4.30931 2.05289 4.07054 2.46579 3.92048C2.78071 4.10048 3.13429 4.20002 3.50001 4.20002C3.69599 4.20002 3.89103 4.17267 4.0797 4.11867C4.20365 4.08323 4.27543 3.95414 4.24013 3.83019C4.20458 3.70624 4.07423 3.63479 3.95165 3.67001C3.49865 3.79932 3.0026 3.72538 2.60953 3.46767C2.14447 3.16584 1.86668 2.65465 1.86668 2.10001C1.86668 1.19938 2.5995 0.466678 3.50001 0.466678C3.7976 0.466678 4.09064 0.548709 4.34789 0.703885C4.45863 0.770194 4.60151 0.734647 4.66828 0.624588C4.73481 0.514201 4.69926 0.370865 4.58898 0.3042C4.25902 0.105164 3.88261 0 3.50001 0C2.342 0 1.40001 0.942105 1.40001 2.10001C1.40001 2.67048 1.63147 3.20276 2.02848 3.59235C1.65843 3.76437 1.31666 4.00186 1.02449 4.29208C0.363892 4.95561 0 5.83439 0 6.7667V8.16671C0 8.29558 0.104372 8.40003 0.233325 8.40003H2.56666V10.2667C2.56666 10.3956 2.67103 10.5 2.79998 10.5H11.2C11.329 10.5 11.4333 10.3956 11.4333 10.2667V8.40003H13.7667C13.8957 8.40003 14 8.29555 14 8.16671V6.7667C14.0001 5.38707 13.1983 4.15977 11.97 3.59356ZM4.90002 2.56669C4.90002 1.40878 5.84202 0.466678 7.00003 0.466678C8.15804 0.466678 9.10004 1.40878 9.10004 2.56669C9.10004 3.72459 8.15804 4.66669 7.00003 4.66669C5.84202 4.66669 4.90002 3.72456 4.90002 2.56669ZM10.9667 10.0334H3.03334V8.40003C3.03334 7.34204 3.44576 6.34572 4.19408 5.59513C4.5883 5.20302 5.06622 4.89887 5.57861 4.7021C5.9859 4.97409 6.47459 5.13334 7.00003 5.13334C7.52634 5.13334 8.01588 4.97363 8.42355 4.70082C9.94873 5.28683 10.9667 6.75721 10.9667 8.40003V10.0334Z" fill="white"/>
</svg>