mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
![]() Let's keep source compatibility and define `drop-shadow-blur` to be a radius. The CSS spec says that the standard deviation is half of the radius. We just need to scale again and increase the shadow rect to make sure that no borders are visible. |
||
---|---|---|
.. | ||
images | ||
.gitignore | ||
CMakeLists.txt | ||
dashboard.cpp | ||
dashboard.h | ||
iot-dashboard.60 | ||
main.60 | ||
main.cpp | ||
README |
This example is a clone of https://github.com/peter-ha/qskinny/tree/iot-dashboard/examples/iot-dashboard The images are originating from that repository The main.60 and iot-dashboard.60 files are basically a pure translation from the C++ QSkinny code to self-contained .60. Online preview: https://sixtyfps.io/editor/preview.html?load_url=https://raw.githubusercontent.com/sixtyfpsui/sixtyfps/master/examples/iot-dashboard/main.60 The Example was also extended with .cpp code to show how to use the C++ interpreter to dynamically generate .60 files on the fly and to show different widgets and their backend, forwarding all the properties from widgets to the root so they can be changed by the backends.