slint/examples/iot-dashboard
2022-02-02 10:12:31 +01:00
..
images Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
.gitignore Added boilerplate for C++ iot dashboard 2021-05-17 11:12:08 +02:00
CMakeLists.txt Rename the SixtyFPS CMake interface 2022-02-02 09:58:26 +01:00
dashboard.cpp Mass update copyright messages to be more REUSE compliant 2021-12-22 10:06:12 +01:00
dashboard.h Mass update copyright messages to be more REUSE compliant 2021-12-22 10:06:12 +01:00
iot-dashboard.slint Rename all our .60 files to .slint 2022-02-02 10:05:45 +01:00
main.cpp Mass update copyright messages to be more REUSE compliant 2021-12-22 10:06:12 +01:00
main.slint Replace references to the .60 files that are now renamed with .slint 2022-02-02 10:12:31 +01:00
README.md iot-dashboard: Add a screenshot in the README 2021-07-12 13:40:22 +02:00

iot-dashboard

This example is a clone of https://github.com/uwerat/qskinny/tree/master/examples/iotdashboard from the QSkinny framework

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/snapshots/master/editor/preview.html?load_url=https://raw.githubusercontent.com/sixtyfpsui/sixtyfps/master/examples/iot-dashboard/main.60

Screenshot

Screenshot of the IOT Dashboard

Loading dynamic widgets from C++

The example was also extended with C++ code (the .cpp) to show how to use the C++ interpreter to dynamically generate .60 code 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 backend.