Olivier Goffart
66370b6bda
Add export { ... } from "....slint";
syntax. ( #5533 )
2024-07-03 12:50:40 +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
Olivier Goffart
6889dfa5f5
Rust: Make new(), run() and show() report errors from the backend
...
Fixes #2198
2023-02-10 05:00:03 +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
cc3994b58d
Rename rust API
2022-02-02 13:26:35 +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
929166f06c
Change what is accepted by ModelRc::new and ModelRc::from
...
- ModelRc::new constructs a ModelRc from a impl Model
- ModelRc::form constructs a ModelRc from a `Rc<dyn Model>` or `Rc<impl Model>`
2022-01-31 14:44:35 +01:00
Tobias Hunger
018c1a6666
Rename ModelHandle to SharedModel
...
This patch is mostly a rename now, but also contains a few small
cleanups.
SharedModel implements the Model trait itself and gracefully falls back
to an empty model is no Model was provided. This allows for some small
simplifications.
Also make sure to use the same comparision for SharedModels everywhere.
This fixes the last remaining clippy errors we had.
2022-01-30 01:26:35 +01:00
Tobias Hunger
bfca0e3573
Mass update copyright messages to be more REUSE compliant
2021-12-22 10:06:12 +01:00
Tobias Hunger
9539a53480
Janitor: Fix clippy::redundant_clone
2021-07-23 13:48:52 +02:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Simon Hausmann
cfe7455305
Switch the memory example to the simpler .60 import mechanism
2020-12-10 15:10:30 +01:00
Simon Hausmann
21c5ddaf61
Synchronize code with the tutorial
2020-12-10 09:37:33 +01:00
Simon Hausmann
0b84f2c40e
Unify the tile arrays
...
There's no "restart" etc. so for now the code is much simpler by having just one array.
2020-12-10 08:56:15 +01:00
Olivier Goffart
d3a79e49f6
memory: attempt to simplify the logic slightly
2020-12-09 13:35:57 +01:00
Simon Hausmann
82d6a679f5
Show a different color for solved tiles
2020-12-08 13:40:29 +01:00
Simon Hausmann
e602bc603a
A wasm port for the memory puzzle without npm and webpack
2020-12-08 11:15:54 +01:00
Simon Hausmann
574d17e698
Initial version of a small memory game
...
This is intended to form the basis for a tutorial.
2020-12-08 09:58:53 +01:00