qskinny/examples/iotdashboard/images/music-system.svg

4 lines
6.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="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2.76782 1.5249C1.84267 1.5249 1.07703 2.28501 1.07703 3.21016V32.4635C1.07703 33.3886 1.84267 34.1499 2.76782 34.1499H21.8884C22.8136 34.1499 23.5792 33.3886 23.5792 32.4635V3.21016C23.5792 2.28501 22.8136 1.5249 21.8884 1.5249H2.76782ZM4.24548 3.77487H5.78577C6.28387 3.77487 6.70422 4.19519 6.70422 4.69331V6.23362C6.70422 6.73172 6.28387 7.15096 5.78577 7.15096H4.24548C3.74738 7.15096 3.32812 6.73172 3.32812 6.23362V4.69331C3.32812 4.19519 3.74738 3.77487 4.24548 3.77487ZM18.8705 3.77487H20.4108C20.9089 3.77487 21.3281 4.19519 21.3281 4.69331V6.23362C21.3281 6.73172 20.9089 7.15096 20.4108 7.15096H18.8705C18.3724 7.15096 17.952 6.73172 17.952 6.23362V4.69331C17.952 4.19519 18.3724 3.77487 18.8705 3.77487ZM12.3303 4.19893C14.5759 4.19893 16.4084 6.03037 16.4084 8.27598C16.4084 10.5216 14.5759 12.3541 12.3303 12.3541C10.0847 12.3541 8.2489 10.5216 8.2489 8.27598C8.2489 6.03037 10.0847 4.19893 12.3303 4.19893ZM4.45312 4.89989V6.02594H5.57922V4.89989H4.45312ZM19.0781 4.89989V6.02594H20.2031V4.89989H19.0781ZM12.3303 5.31953C10.6927 5.31953 9.3739 6.63835 9.3739 8.27598C9.3739 9.91362 10.6927 11.2291 12.3303 11.2291C13.968 11.2291 15.2823 9.91362 15.2823 8.27598C15.2823 6.63835 13.968 5.31953 12.3303 5.31953ZM30.2347 7.58274C28.5381 7.58274 26.9185 8.22445 25.6842 9.35156C25.6244 9.39966 25.575 9.45949 25.5392 9.52738C25.5033 9.59528 25.4818 9.66981 25.4758 9.74635C25.4699 9.82289 25.4797 9.89984 25.5046 9.97246C25.5295 10.0451 25.569 10.1118 25.6206 10.1686C25.6723 10.2254 25.7351 10.271 25.805 10.3026C25.875 10.3342 25.9507 10.3512 26.0274 10.3525C26.1042 10.3537 26.1804 10.3393 26.2514 10.31C26.3223 10.2807 26.3865 10.2371 26.4401 10.1821C27.4685 9.24295 28.8203 8.70775 30.2347 8.70775C31.6726 8.70775 33.041 9.26002 34.0756 10.2283C34.1296 10.2788 34.193 10.3181 34.2623 10.3441C34.3315 10.3701 34.4052 10.3821 34.4791 10.3796C34.553 10.3771 34.6257 10.3601 34.6931 10.3295C34.7604 10.2989 34.821 10.2554 34.8715 10.2014C34.922 10.1473 34.9614 10.0839 34.9874 10.0146C35.0133 9.94539 35.0254 9.87171 35.0229 9.7978C35.0204 9.72389 35.0034 9.65116 34.9728 9.58383C34.9422 9.5165 34.8986 9.45584 34.8446 9.40534C33.603 8.24326 31.9594 7.58274 30.2347 7.58274ZM30.2347 9.2724C28.914 9.2724 27.6542 9.78983 26.718 10.6929C26.664 10.744 26.6206 10.8054 26.5904 10.8733C26.5601 10.9413 26.5437 11.0145 26.542 11.0888C26.5403 11.1632 26.5533 11.2372 26.5803 11.3065C26.6074 11.3757 26.6479 11.4389 26.6995 11.4925C26.7512 11.546 26.8129 11.5887 26.8811 11.6182C26.9494 11.6477 27.0228 11.6634 27.0972 11.6644C27.1716 11.6653 27.2454 11.6515 27.3144 11.6238C27.3834 11.596 27.4462 11.5548 27.4991 11.5027C28.2271 10.8004 29.2068 10.3985 30.2347 10.3985C31.2647 10.3985 32.243 10.7979 32.9714 11.5027C33.0228 11.5606 33.0856 11.6074 33.1559 11.6399C33.2261 11.6725 33.3024 11.6902 33.3798 11.692C33.4572 11.6937 33.5342 11.6794 33.6059 11.6501C33.6775 11.6207 33.7423 11.5769 33.7963 11.5213C33.8502 11.4657 33.8921 11.3995 33.9192 11.327C33.9464 11.2544 33.9583 11.1771 33.9542 11.0997C33.9501 11.0224 33.9301 10.9468 33.8954 10.8775C33.8607 10.8083 33.8121 10.7469 33.7526 10.6974C32.8158 9.79105 31.558 9.2724 30.2347 9.2724ZM30.2347 10.9588C29.308 10.9588 28.422 11.3406 27.7848 12.0135C27.7277 12.0656 27.6819 12.1289 27.6503 12.1995C27.6187 12.27 27.602 12.3464 27.6012 12.4237C27.6005 12.501 27.6156 12.5776 27.6458 12.6488C27.676 12.72 27.7205 12.7842 27.7766 12.8374C27.8327 12.8906 27.8991 12.9317 27.9718 12.9581C28.0445 12.9845 28.1218 12.9956 28.199 12.9907C28.2761 12.9859 28.3514 12.9652 28.4203 12.9299C28.4891 12.8947 28.5499 12.8456 28.5989 12.7858C29.024 12.3369 29.6165 12.0838 30.2347 12.0838C30.8533 12.0838 31.4422 12.341 31.8673 12.7903C31.9712 12.8948 32.1119 12.9546 32.2593 12.9567C32.4066 12.9588 32.549 12.9031 32.6558 12.8016C32.7627 12.7001 32.8255 12.5607 32.8309 12.4134C32.8363 12.2661 32.7838 12.1226 32.6847 12.0135C32.0474 11.3401 31.1619 10.9588 30.2347 10.9588ZM30.1974 12.6277C29.5827 12.6277 29.0724 13.138 29.0724 13.7526C29.0724 14.3673 29.5827 14.8787 30.1974 14.8787C30.812 14.8787 31.3235 14.3673 31.3235 13.7526C31.3235
</svg>