slint_ui_templates/lib.rs
1#![doc = include_str!("../README.md")]
2
3/// Adapter layer between the host app and the Slint UI grid/shell.
4pub mod adapter;
5/// Script-engine bindings (Rhai) exposed to configuration scripts.
6#[cfg(feature = "rhai")]
7pub mod bindings;
8/// Markdown parser that converts CommonMark + GFM to `DocBlock` models.
9#[cfg(feature = "markdown")]
10pub mod docs;
11/// Composition DSL — fluent builder API for shell and window configuration.
12pub mod dsl;
13/// Grid zone model and target-config loader for responsive layouts.
14pub mod grid;
15/// Layout DSL parser, constraint solver, and ratio-based panel engine.
16pub mod layout;
17/// File I/O gateway — all `std::fs` calls are funnelled through this module.
18pub mod gateway;
19/// OS-level window backdrop and composition effects (Mica, Acrylic).
20pub mod pal;
21/// Persistent application settings (zoom, theme, icons, font).
22pub mod settings;
23/// Platform-native window chrome, navigation models, and shell lifecycle.
24pub mod shell;
25/// Per-view Rhai configuration auto-applied on navigation changes.
26pub mod view_config;
27
28/// Public API alias for `AppAdapter_adp` — callers use this name.
29pub use adapter::AppAdapter_adp as AppAdapter;
30/// Re-export Platform at crate root for ergonomic consumer imports.
31pub use shell::Platform;
32pub use grid::{ZoneModel, TargetConfig};
33pub use layout::{build, SolvedItem, ItemKind, build_v2, Panel, drag, normalize};
34
35slint::include_modules!();