Add voelin-ui-vm: toolkit-free view-model types and the Slint adapter

New crate voelin-ui-vm with no UI toolkit in its tree: ImageRef
(Arc<ImageSource>: File, Rgba, Svg, Memory, None, with size()), Rgb for
colours, list::diff(old, new) -> Changes (updates, removals and
insertions by index) and the bridge structs as plain Clone + PartialEq
values (the 51 of bridge.slint without the account's two, and the 10 of
studio-bridge.slint). Strings are Arc<str>, lists Vec.

voelin-ui keeps the temporary seam: From impls between every bridge
struct and its Slint twin (bind/convert), and bind/rows.rs, which applies
Changes to a VecModel and converts only the rows that changed. The
viewer's quality list is the first model on it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Sonnet 5.5 committed 2026-10-20 08:53:13 +03:00
1 parent 7c6d149f78
commit 4dc8272c64
16 files changed
+3900 -6

No files matched your search

Generated
+10
View File
@@ -9753,6 +9753,16 @@ dependencies = [
"voelin-platform",
"voelin-query",
"voelin-store",
"voelin-ui-vm",
]
[[package]]
name = "voelin-ui-vm"
version = "0.0.1-alpha"
dependencies = [
"image",
"png",
"voelin-core",
]
[[package]]