12 lines
1.3 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="29" height="36" viewBox="0 0 29 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M27.4155 26.0689C27.0897 19.115 21.3568 13.6442 14.3953 13.6442C7.43371 13.6442 1.70082 19.115 1.37502 26.0689H27.4155ZM14.3953 14.8965C19.8878 14.928 24.6427 18.721 25.8941 24.069L24.6842 24.3448C23.5638 19.5599 19.3096 16.1664 14.3953 16.1379V14.8965Z" fill="#606675"/>
<path d="M15.6367 1.24138C15.6367 1.92693 15.0808 2.48276 14.3953 2.48276C13.7097 2.48276 13.1539 1.92693 13.1539 1.24138C13.1539 0.555832 13.7097 0 14.3953 0C15.0808 0 15.6367 0.555832 15.6367 1.24138Z" fill="#606675"/>
<path d="M13.7746 31.0345H15.016V36H13.7746V31.0345Z" fill="#606675"/>
<path d="M13.7746 28.5518H15.016V29.7931H13.7746V28.5518Z" fill="#606675"/>
<path d="M15.016 3.64355V12.4323C14.8111 12.4199 14.6001 12.4138 14.3953 12.4138C14.1904 12.4138 13.9795 12.4199 13.7746 12.4323V3.64355C14.1813 3.75114 14.6092 3.75114 15.016 3.64355Z" fill="#606675"/>
<path d="M24.4012 30.746L25.2792 29.8683L28.7902 33.3794L27.9125 34.2571L24.4012 30.746Z" fill="#606675"/>
<path d="M22.6461 28.9909L23.5238 28.1132L24.4015 28.9909L23.5238 29.8685L22.6461 28.9909Z" fill="#606675"/>
<path d="M0 33.3799L3.51108 29.8688L4.38908 30.7465L0.877694 34.2579L0 33.3799Z" fill="#606675"/>
<path d="M4.38907 28.9906L5.26676 28.1129L6.14476 28.9906L5.26676 29.8686L4.38907 28.9906Z" fill="#606675"/>
</svg>