Chris Chinchilla
7afa34a7e1
Rename tutorial to quickstart ( #4941 )
2024-04-04 13:26:24 +02:00
Olivier Goffart
11dea135f7
Domain: slint-ui.com -> slint.dev
2023-06-16 10:55:08 +02:00
Aurindam Jana
789cb3b735
Set MIT license to snippets under doc ( #2891 )
2023-06-15 11:21:16 +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
e64e15e277
docs: Modernize the tutorials for 1.0
2023-02-09 16:59:25 +01:00
Tobias Hunger
18cbda0269
janitor: Run cargo clippy --fix
2022-05-22 11:59:00 +02:00
Lukas Jung
cd52beb85e
tutorial: clone() the tiles_model step 6 already like the explanation says
2022-03-09 14:10:45 +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
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
c7d27d5ace
Janitor: Fix clippy::redundant_clone
2021-08-18 00:24:51 +02:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Simon Hausmann
7b95371c78
Move the Rust tutorial into a sub-directory
...
To make room for the C++ version next to it :-)
2021-06-17 11:04:43 +02:00