Ryan Naddy
58efd5312b
Added rejected to TextInput ( #6649 )
2024-10-25 17:24:47 +02:00
DataTriny
2de3b9d455
Add the accessible-enabled
property
2024-10-25 10:20:09 +02:00
FloVanGH
de67a6d201
checkbox: fixed min-height on all styles ( #6647 )
2024-10-24 16:59:18 +00:00
FloVanGH
b874adbc1c
material: fixed button touch area ( #6645 )
2024-10-24 16:25:59 +00:00
FloVanGH
14c7910d49
PopupWindow: added close-policy property ( #6614 )
...
* Update api/cpp/include/slint_window.h
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update docs/reference/src/language/builtins/elements.md
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
* Update internal/core/window.rs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update internal/interpreter/eval.rs
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
* Update internal/backends/qt/qt_window.rs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update internal/interpreter/dynamic_item_tree.rs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update internal/compiler/passes/materialize_fake_properties.rs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-10-24 09:27:39 +00:00
DataTriny
9ff905f924
Fix ListItem
accessible tree representation
2024-10-21 07:13:07 +02:00
Arnold Loubriat
19f09950c2
Changelog: Add accessible-selectable
and accessible-selected
properties
2024-10-16 15:38:46 +02:00
FloVanGH
f8f1d468a0
widgets: fix tabs overflow behaviour ( #6517 )
2024-10-11 12:15:27 +00:00
FloVanGH
b3f19e446e
LineEdit: fixes cursor draws out of bounds ( #6382 )
2024-10-09 14:31:42 +00:00
Renato Araujo Oliveira Filho
1e4de3fe0c
Implement ScrollBarPolicy property for ScrollView ( #6442 )
...
ChangeLog: ScrollView: added vertical-bar-policy and horizontal-bar-policy
Fixes : #3552
Fixes : #5578
2024-10-08 17:02:17 +02:00
Olivier Goffart
0c36499936
Rename common.slint -> about-slint.slint
...
The file used to contain many things but now it only contains AboutSlint
widget, so we can as well rename it accordingly
2024-10-08 14:52:03 +02:00
Arnold Loubriat
7e236017a7
Apply AccessibleRole::ListItem
to the standard ListItem
component
2024-09-16 09:15:39 +02:00
FloVanGH
5b8f68f43b
visual clamp slider ( #5967 )
2024-08-28 10:41:24 +00:00
FloVanGH
039f33eaae
Added scrolled callback to ListView and ScrollView ( #5964 )
2024-08-27 10:18:43 +00:00
Olivier Goffart
686f5e43e2
Widget style: simplify -light/-dark handling
...
Instead of having all style duplicated and re-using a base, we just hack
into the funciton that queries the dark/light theme based on the style
suffix known at compile time.
This removes one of the problem that happens when trying to work on the
widget style with the extension, as it relies on include path hacks
2024-08-20 16:55:15 +02:00
Olivier Goffart
66370b6bda
Add export { ... } from "....slint";
syntax. ( #5533 )
2024-07-03 12:50:40 +02:00
Florian Blasius
973ecac989
DatePicker: finished features
2024-06-06 09:03:50 +02:00
Aurindam Jana
3523e86359
Simplify commercial license ( #3063 )
...
Base the commercial license on the Royalty-free license adding clauses pertaining to the fees.
2024-05-31 14:06:17 +02:00
Aurindam Jana
9a3aa265d5
Update Royalty-free license ( #5257 )
...
Add clarification that Application may not expose Slint APIs.
2024-05-31 10:53:19 +02:00
Aurindam Jana
0cfeec1a31
Update Slint Community License ( #4994 )
...
Updated the version from 1.1 to 1.2
Renamed the header to "Slint Royalty-free Desktop, Mobile, and Web Applications License"
Added definition of "Mobile Application" and grant of right
Moved "Limitations" to 3rd section and "License Conditions - Attributions" to 2nd section
Added flexibility to choose between showing "MadeWithSlint" as a dialog/splash screen or on a public webpage
Moved the para on copyright notices to section under "Limitations"
2024-04-15 15:18:55 +02:00
Simon Hausmann
68083243b2
Add an in-out boolean color-scheme property to Palette ( #4701 )
...
This allows applications to force dark/light mode, as well as determine
which mode is active.
2024-03-26 15:44:22 +01:00
Florian Blasius
6da8120dfa
added palette global ( #3984 )
...
* Update docs/reference/src/language/builtins/globals.md
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
* Update docs/reference/src/language/builtins/globals.md
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
* Update docs/reference/src/language/builtins/globals.md
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
* Update docs/reference/src/language/builtins/globals.md
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
* Update docs/reference/src/language/builtins/globals.md
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
---------
Co-authored-by: Florian Blasius <florian.blasius@slint-ui.com>
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
Co-authored-by: Florian Blasius <flovansl@fedora.fritz.box>
2023-12-11 14:44:05 +00:00
Florian Blasius
6d6b18300a
added focus state to StandardLIstView ( #4086 )
...
* added focus state to StandardLIstView
* (wip) focus handling for qt style
* Update CHANGELOG.md
Co-authored-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
* Share StandardListView between all styles
* Update internal/compiler/widgets/material-base/combobox.slint
Co-authored-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
* code review feedback
---------
Co-authored-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
2023-12-08 10:58:58 +01:00
Florian Blasius
10066c5eef
cleanup widgets according to upcoming code guidelines ( #3771 )
2023-10-30 10:45:25 +01:00
Aurindam Jana
5a4a7fee63
Update royalty free license to 1.1 ( #2994 )
2023-07-10 10:12:11 +02:00
Olivier Goffart
11dea135f7
Domain: slint-ui.com -> slint.dev
2023-06-16 10:55:08 +02:00
Aurindam Jana
039e54a5de
Add royalty free license to files except examples and docs ( #2888 )
2023-06-15 11:20:50 +02:00
Florian Blasius
b4472b9118
Added switch widget ( #2798 )
...
* Add material Switch
* Add fluent switch
* Add native Switch and cleanup
* Rebase fix
* Update internal/compiler/widgets/fluent-base/std-widgets-impl.slint
Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
* Code review
* Update docs/language/src/builtins/widgets.md
Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
* Update docs/language/src/builtins/widgets.md
Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
* Code review
* Update docs/language/src/builtins/widgets.md
Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
* Update examples/gallery/ui/pages/controls_page.slint
Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
* Code review tweak on gallery layout
* Code review tweak on gallery layout
---------
Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
2023-05-31 14:57:23 +02:00
Olivier Goffart
6e4b1b3468
Rename the std-widgets files of style base so they are not considered as a style
...
This is just so they don't appear in the error message, and also not
being tested by #2076 (https://github.com/slint-ui/slint/pull/2076#issuecomment-1385408167 )
2023-01-17 16:21:53 +01:00
Florian Blasius
520df46998
Update examples to new syntax ( #2067 )
...
* run slint-updater on examples
* manual syntax updates
2023-01-16 12:11:25 +00:00
Olivier Goffart
7947d44e59
Run the syntax_updater on our widgets
...
This is commit is just the output of running the syntax updater on the
files in the internal/compiler/widgets directory.
No extra manual steps were done.
Note: In order to run the updater, I did a hack so that the updater wouldn't
choke on internal item used by the styles by commenting out the check in
ElementType::lookup_type_for_child_element
2023-01-11 10:52:48 +01:00
Simon Hausmann
6f19ab38e7
Use re-exports in the styles to simplify their code
2022-12-09 11:05:08 +01:00
Florian Blasius
072d8fabcb
Add material, material-light and material-dark widgets ( #1784 )
...
Add material, material-light and material-dark widgets and make it available by the `env` `SLINT_STYLE`.
2022-10-31 14:54:50 +01:00