slint/examples/iot-dashboard
Simon Hausmann 2154d00f67 iot-dashboard: Fix alignment of the usage spacers
Deviate from the C++ code and use a grid for the usage panel, to achieve the same visual
alignment as in C++.
2021-07-09 10:09:19 +02:00
..
images WIP iot-dashboard 2021-05-07 10:27:58 +02:00
.gitignore Added boilerplate for C++ iot dashboard 2021-05-17 11:12:08 +02:00
CMakeLists.txt Update license date 2021-07-02 15:55:54 +02:00
dashboard.cpp Update license date 2021-07-02 15:55:54 +02:00
dashboard.h Update license date 2021-07-02 15:55:54 +02:00
iot-dashboard.60 iot-dashboard: Fix alignment of the usage spacers 2021-07-09 10:09:19 +02:00
main.60 Update license date 2021-07-02 15:55:54 +02:00
main.cpp iot-dashboard: add some interaction on the widgets 2021-07-08 15:22:10 +02:00
README.md iot-dashboard: Make the README in markdown and add in the example dir 2021-07-08 14:27:27 +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

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.