Commit graph

87 commits

Author SHA1 Message Date
Laurent Montel
63756e90cb Add missing include(FetchContent) 2025-04-18 15:27:37 +02:00
Simon Hausmann
68083243b2
Add an in-out boolean color-scheme property to Palette (#4701)
This allows applications to force dark/light mode, as well as determine
which mode is active.
2024-03-26 15:44:22 +01:00
Simon Hausmann
f0ab367b7c Making iot-dashboard more friendly for tall windows
Align the main content to the start (top) to avoid stretching.
2024-03-20 15:25:27 +01:00
Simon Hausmann
e8e1ad8d4d Fix squashed usage graphs in iot dashboard when previewing
Provide a minimum height for the boxes, so that the graphs are always visible. The graphs are painted on top of the boxes, but the boxes define the geometry.
2024-01-30 10:45:28 +01:00
Florian Blasius
4ec63a9c71
cleanup examples according to upcoming code guidelines (#3809) 2023-11-02 11:04:40 +01:00
Tobias Hunger
0139eea4f9 xtask: Fix up license headers
* Keep project related .md files triple licensed as the rest of the
  crate
* Make vtable MIT OR Apache 2.0 (as suggested by @ogoffart)
2023-08-17 08:55:28 +02:00
Simon Hausmann
96d7bb132c reuse: remove glob for markdown files
Instead, place the copyright and license right into the source.

To satisfy reuse, this also removes the unnecessary MIT.txt
symlinks.
2023-08-17 08:55:28 +02:00
Olivier Goffart
643512f60a C++: rename slint_intepreter.h to slint-interpreter.h 2023-07-27 15:42:11 +02:00
Olivier Goffart
11dea135f7 Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
Aurindam Jana
e4338300de
Change license for examples to MIT (#2887) 2023-06-15 11:23:17 +02:00
Simon Hausmann
0ba6ef1c24 Fix build against macOS deployment target 10.10
- std::optional<T>::value() is not available, use operator * instead
- alignment allocation is also only available in 10.14 or newer
2023-04-24 18:02:55 +02:00
Tobias Hunger
6934b7b779 cmake: Fix SLINT_EMBED_RESOURCES
* Do not use the initialize_from feature introduced in cmake 3.23
2023-03-27 16:18:05 +02:00
Tobias Hunger
52a70b7d89 cmake: Bump minimal cmake version to 3.23 2023-03-27 09:27:44 +02:00
Olivier Goffart
e557ba5eed Exaples: Use the new syntax for the iot-dashboard and imagefilter 2023-02-13 17:53:23 +01:00
Florian Blasius
520df46998
Update examples to new syntax (#2067)
* run slint-updater on examples
* manual syntax updates
2023-01-16 12:11:25 +00:00
Simon Hausmann
620ab47430 Fix the iot-dashboard rendering in dark mode 2022-10-27 11:41:26 +02:00
Simon Hausmann
fd3419352a janitor: Use slint instead of 60 as raw string sequence 2022-02-09 13:44:04 +01:00
Tobias Hunger
4230ac2572
Update copyright information to reflect name change
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00
Tobias Hunger
d26b8d57e8
Update URL to iotdashboard sources 2022-02-08 12:16:11 +01:00
Olivier Goffart
1425ef63de Change the Url from sixtyfps.io to slint-ui.com
Also, change the URL of the logo in the docs
2022-02-08 08:52:46 +01:00
Olivier Goffart
00ff5e21a7 Update git repository URL 2022-02-08 08:26:21 +01:00
Tobias Hunger
03f78af987
Update some .60 to .slint 2022-02-02 17:29:40 +01:00
Olivier Goffart
d2d6a5cc6a Rename sixtyfps_ 2022-02-02 14:25:56 +01:00
Simon Hausmann
fcf59f3793 Rename the C++ header files 2022-02-02 13:07:26 +01:00
Simon Hausmann
7d297da2fc Rename the sixtyfps C++ namespaces 2022-02-02 12:11:27 +01:00
Olivier Goffart
03534039d6 Replace more .60 by .slint
Mainly an automated change with
    git grep -O"sed -i 's/\.60/.slint/g'" -w "\.60"

and some manual checks
2022-02-02 10:12:31 +01:00
Olivier Goffart
d706d63ce1 Replace references to the .60 files that are now renamed with .slint 2022-02-02 10:12:31 +01:00
Olivier Goffart
0c0a783095 Rename all our .60 files to .slint 2022-02-02 10:05:45 +01:00
Simon Hausmann
b1a70f9e58 Rename the SixtyFPS CMake interface 2022-02-02 09:58:26 +01:00
Olivier Goffart
041a6d9710 Make it possible to build the iot dashboard standalone 2022-01-13 14:10:46 +01:00
Tobias Hunger
bfca0e3573 Mass update copyright messages to be more REUSE compliant 2021-12-22 10:06:12 +01:00
Olivier Goffart
59e1361388 Fix compilation with C++20
Fixes #428
2021-08-20 18:49:15 +02:00
Tobias Hunger
aea4ecca99 Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
Olivier Goffart
ffccef4e0c Examples: replace all _ by - in identifiers 2021-08-10 22:21:01 +02:00
Olivier Goffart
dcc10f9ccb
iot-dashboard: Add a screenshot in the README 2021-07-12 13:40:22 +02:00
Olivier Goffart
2ee1e5ac1d iot-dashboard: Some more polishing 2021-07-09 10:40:20 +02:00
Olivier Goffart
12eee38e6c iot-dashboard: adjust a bit the size of the up/down buttons 2021-07-09 10:09:51 +02:00
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
Simon Hausmann
0403458751 iot-dashboard: Fix distance between main menubar logo and the items
Apply what is the margin on the MenuBarTopLabel::Graphic as padding in
an injected layout.
2021-07-09 09:35:50 +02:00
Simon Hausmann
cc5d1a773c iot-dasbhardo: Fix padding in top bar
Apply the same padding as in Skin.cpp for the TopBar::Panel.
2021-07-09 09:27:20 +02:00
Olivier Goffart
0be7f19663 iot-dashboard: Have the temperature pane show the same text as the orginal 2021-07-08 17:44:50 +02:00
Simon Hausmann
344dbab1a5 Provide a tiny bit of feedback when pressing the rounded buttons 2021-07-08 17:26:14 +02:00
Simon Hausmann
cbd8f44c11 Fix opacity in devices buttons
Apply the opacity only to the background fill, like in QSkinny.
2021-07-08 17:15:22 +02:00
Olivier Goffart
78f3a21e5c iot-dashboard: add some interaction on the widgets 2021-07-08 15:22:10 +02:00
Olivier Goffart
b96b565840 iot-dashboard: Some interaction with the light intensity 2021-07-08 15:06:22 +02:00
Olivier Goffart
88d6c227cf iot-dashboard: Make the README in markdown and add in the example dir
Also change the url to the demo and editor to the snapshots/master
since this is the README for the git repository's master branch
2021-07-08 14:27:27 +02:00
Olivier Goffart
2144975cca iot-dashboard: better initial size 2021-07-08 14:27:27 +02:00
Olivier Goffart
13bd828b96 Update license date 2021-07-02 15:55:54 +02:00
Olivier Goffart
63cf84d21f More MSVC warnings fixes 2021-07-01 14:16:41 +02:00
Olivier Goffart
2f71547040 iot-dashboard: remove useless layout
This was fixed
2021-06-29 14:54:47 +02:00