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 |
|
Florian Blasius
|
129ee0acae
|
Florian/sort todo (#1721)
Implement `set_row_data` for `SortModel` and `FilterModel` (rust and cpp). Add sort and filter example to the todo example.
|
2022-10-11 18:58:00 +02:00 |
|
Florian Blasius
|
5fb31ace02
|
Florian/rust sorting model (#1712)
Add Rust version of SortModel
|
2022-10-07 16:24:48 +02:00 |
|
Olivier Goffart
|
396a2c5ecb
|
Implement std::fmt::Write for SharedString and add a format! macro
|
2022-08-29 17:25:24 +02:00 |
|
Tobias Hunger
|
7bf5c7e28e
|
janitor: Use is_empty over comparison with len
|
2022-05-22 11:59:00 +02:00 |
|
Lukas Jung
|
ff036d41ec
|
Add model adapters
Co-authored-by: Olivier Goffart <olivier.goffart@slint-ui.com>
|
2022-05-11 15:50:43 +02:00 |
|
Olivier Goffart
|
696ce933f7
|
Refactor the Model tracking in a module (#1223)
Contain the unsafe code in a smaller module.
Add an abstraction to make it easier to create change listener other
than the repeater.
|
2022-05-05 10:25:15 +02:00 |
|