Commit graph

4 commits

Author SHA1 Message Date
Olivier Goffart
f71721e738 energy-monitor: fix warning
```
warning: energy-monitor@1.11.0: Aliases to global callback are deprecated. Export the global to access the global callback directly from native code
warning: energy-monitor@1.11.0:   --> /home/olivier/slint/demos/energy-monitor/ui/pages/menu_page/settings.slint:54:5
warning: energy-monitor@1.11.0:    |
warning: energy-monitor@1.11.0: 54 |     callback check-radio-option <=> SettingsAdapter.check-radio-option;
warning: energy-monitor@1.11.0:    |     ^
```

Warning was introduced in #7933
2025-03-25 10:42:15 +01:00
Tasuku Suzuki
346d1c2df3 Fix typos
Ran `typos .` and fixed all typos that do make sense.
https://crates.io/crates/typos
2025-01-13 08:35:20 +01:00
Olivier Goffart
a3dad45f0b Accessibility: rename a few properties after API review:
- Rename `accessible-selectable` and `accessible-selected` to `accessible-item-{selectable,selected}`.
   Because the property is for items in list rather than eg Text
 - Rename `accessible-position-in-set` to `accessible-item-index`.
 - Rename `accessible-size-of-set` to `accessible-item-count` and move
   the property to the container element rather than the item itself
2024-12-07 08:25:42 +01:00
Simon Hausmann
a98d4709be Move printer demo and energy-monitor into new top-level demos/ folder
These are showing off use-cases for Slint, but they're not examples showing individual Slint features.

Also removed the old printerdemo while at it.
2024-10-25 12:09:32 +02:00