slint/internal/compiler/widgets/fluent
Nigel Breslaw 538f8bde19
Allow checking at runtime about the current theme (#8049)
Although std-widgets provides many properties that adapt to the current theme users who would like to go beyond these properties and do theme dependent changes are limited. One option would be to add even more properties to the Palette, however this would potentially bloat the object, it's not obvious what properties users care about and this approach doesn't scale. In many cases developers could simply create their own properties if they knew what the current runtime theme was.

This simple change allows an app to know what the current theme is and present theme appropriate UI's.
2025-04-04 14:44:14 +03:00
..
_arrow-down.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_arrow-up.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_arrow_back.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_arrow_forward.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_calendar.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_check-mark.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_chevron-down.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_chevron-up.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_clock.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_down.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_dropdown.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_edit.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_keyboard.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_left.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_right.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
_up.svg Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
button.slint Add the accessible-enabled property 2024-10-25 10:20:09 +02:00
checkbox.slint Add AccessibleRole::Image and use it in the AboutSlint widget (#7593) 2025-02-18 09:43:53 +01:00
color-scheme.slint Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
combobox.slint Add AccessibleRole::Image and use it in the AboutSlint widget (#7593) 2025-02-18 09:43:53 +01:00
components.slint Accessibility: rename a few properties after API review: 2024-12-07 08:25:42 +01:00
datepicker.slint api review: callback parameters and properties name adjustements 2024-12-02 16:22:39 +00:00
groupbox.slint Rename AccessibleRole.GroupBox to AccessibleRole.Groupbox 2025-01-10 16:27:14 +01:00
lineedit.slint Add the accessible-read-only property 2025-02-19 09:16:41 +01:00
menu.slint Introduce MenuSeparator 2025-04-02 11:50:45 +02:00
progressindicator.slint Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
scrollview.slint scrollview: fixed scrollthumb size on small sizes (#7809) 2025-03-05 16:46:45 +01:00
slider.slint Add step property to Slider (#6981) 2024-12-05 11:50:08 +01:00
spinbox.slint Add AccessibleRole::Image and use it in the AboutSlint widget (#7593) 2025-02-18 09:43:53 +01:00
spinner.slint Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
std-widgets-impl.slint Allow checking at runtime about the current theme (#8049) 2025-04-04 14:44:14 +03:00
std-widgets.slint Remove LayoutSpec and undeprecate StyleMetrics.layout-* properties (#7069) 2024-12-16 14:52:28 +01:00
styling.slint Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
switch.slint Janitor: Remove trailing whitespaces from all files 2025-01-10 13:23:22 +01:00
tableview.slint Add AccessibleRole::Image and use it in the AboutSlint widget (#7593) 2025-02-18 09:43:53 +01:00
tabwidget.slint Janitor: Remove trailing whitespaces from all files 2025-01-10 13:23:22 +01:00
textedit.slint Add the accessible-read-only property 2025-02-19 09:16:41 +01:00
time-picker.slint std-widgets: added LayoutSpec global (#6711) 2024-11-06 14:47:04 +00:00