Commit graph

9 commits

Author SHA1 Message Date
Olivier Goffart
a0dd978f8a Deprecate exporting the last import if there is no other exported component 2024-07-03 13:34:08 +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
Florian Blasius
a4313c3e32
API changes for SortModel and FilterModel (rust and cpp) (#1768)
* Rust SortModel: Rename parameter `S` to `F`
* Rust SortModel: Rename parameter `apply_sorting` to `reset`
* Rust FilterModel: Rename parameter `apply_filter` to `reset`
* C++ SortModel: Rename parameter `sort_fn` to `comp`
* C++ SortModel: Add pub reset function
* C++ FilterModel: Rename parameter `apply_filter` to `reset`
2022-10-26 11:16:12 +02:00
Olivier Goffart
396a2c5ecb Implement std::fmt::Write for SharedString and add a format! macro 2022-08-29 17:25:24 +02:00
Lukas Jung
7e45cde3cd Update crud example to use Model Adapters 2022-05-11 15:50:43 +02:00
Olivier Goffart
284335356c 7gui/crud example: don't panic when deleting non-existing row
Two counter measure

 1. Disable the button when an invalid selection is there
 2. double check in the rust code that the selected item is valid
2022-05-02 14:13:37 +02:00
Lukas Jung
8e3735d03c move 7guis examples back to one folder 2022-03-17 08:43:49 +01:00
Renamed from examples/7guis/crud/main.rs (Browse further)