slint/internal/compiler/widgets/material-base
Simon Hausmann 6fefe75a1c Don't require components that use forward-focus to be inlined
Achieve this by generating a `focus()` function for such components
and call it from the outside.

This replaces the previous focus handling with what should be cleaner:

- Any `forward-focus: some-element;` is basically syntactic sugar for
 `public function focus() { some-element.focus(); }`.
- The init code gets simplified to calling focus() on the root, if it's
  available.

Since the `focus()` functions are now generated in the imports pass,
they become visible in the style checker. That means the checker
requires consistent focus handling between the styles.
2024-01-26 12:16:09 +01:00
..
_arrow-downward.svg Adjusted structure of material widgets. (#2941) 2023-06-20 14:54:10 +02:00
_arrow-drop-down.svg Adjusted structure of material widgets. (#2941) 2023-06-20 14:54:10 +02:00
_arrow-drop-up.svg Adjusted structure of material widgets. (#2941) 2023-06-20 14:54:10 +02:00
_arrow-upward.svg Adjusted structure of material widgets. (#2941) 2023-06-20 14:54:10 +02:00
_check-mark.svg Adjusted structure of material widgets. (#2941) 2023-06-20 14:54:10 +02:00
_expand-more.svg Adjusted structure of material widgets. (#2941) 2023-06-20 14:54:10 +02:00
button.slint Added colorize-icon to Button (#4152) 2023-12-14 12:07:55 +01:00
checkbox.slint Don't require components that use forward-focus to be inlined 2024-01-26 12:16:09 +01:00
combobox.slint added palette global (#3984) 2023-12-11 14:44:05 +00:00
components.slint added palette global (#3984) 2023-12-11 14:44:05 +00:00
groupbox.slint added palette global (#3984) 2023-12-11 14:44:05 +00:00
layouts.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
lineedit.slint Add set-selection-offsets function to TextInput, TextEdit, and LineEdit (#4197) 2024-01-06 11:12:53 +01:00
progressindicator.slint added palette global (#3984) 2023-12-11 14:44:05 +00:00
scrollview.slint Material style: make the ScrollView pan with the mouse 2024-01-23 17:44:16 +01:00
slider.slint Improved Slider drag and click behaviour (#4406) 2024-01-24 13:12:36 +01:00
spinbox.slint added palette global (#3984) 2023-12-11 14:44:05 +00:00
spinner.slint added palette global (#3984) 2023-12-11 14:44:05 +00:00
std-widgets-base.slint added palette global (#3984) 2023-12-11 14:44:05 +00:00
std-widgets-impl.slint added palette global (#3984) 2023-12-11 14:44:05 +00:00
styling.slint added palette global (#3984) 2023-12-11 14:44:05 +00:00
switch.slint added palette global (#3984) 2023-12-11 14:44:05 +00:00
tableview.slint added palette global (#3984) 2023-12-11 14:44:05 +00:00
tabwidget.slint added palette global (#3984) 2023-12-11 14:44:05 +00:00