Olivier Goffart
8a4d6a34ba
Revert #1049
...
This breaks the printer demo USB page, it makes it impossible to
change the current item.
That's because the printer demo do `current-item: 1;` to preselect the cat.
But that breaks the property binding that makes current-item follow the
actual-current-item.
* Revert "move actual-current-item to FocusScope"
This reverts commit 8240531e6e
.
* Revert "reset StandardListView's current-item if it is out of bounds"
This reverts commit 9d18882f9d
.
2022-05-02 14:13:37 +02:00
Olivier Goffart
9fe4992a23
StandardListView: restore behavior to get focus on click
...
In previous versions of Slint, the StandardListView gets the focus
on click so we can move the selected items with the up and down arrow
2022-04-22 12:49:46 +02:00
Tobias Hunger
7ac4231150
Focus: Do not send keyboard event to invisible widgets
...
Do not send keyboard events to invisible widgets, reset the keyboard
focus instead.
That fixes #798 again with a bit less of a work-around. To properly fix
this we will need to make the tab widget (and probably others) more
intelligent though.
2022-04-21 12:37:32 +02:00
Tobias Hunger
09f9dbe371
Do not set focus on click for most FocusScopes
2022-04-20 17:07:02 +02:00
Tobias Hunger
2c82fd7618
Tab: Make tab accept keyboard
2022-04-13 14:42:32 +02:00
Tobias Hunger
a50d1e7d02
fluent: Make ComboBox accept keyboard input
2022-04-12 10:48:09 +02:00
Tobias Hunger
f883b45a4b
Make fluent CheckBox accept keyboard actions
2022-04-12 10:48:09 +02:00
Tobias Hunger
73e178a840
Add enabled property to FocusScope
2022-04-12 10:48:09 +02:00
Tobias Hunger
a639cc5acb
fluent: Make checkmark in Combobox look slimmer
2022-04-07 13:48:01 +02:00
Tobias Hunger
6795564414
fluent: Make ComboBox dropdown icon thinner
...
This is closer to the original.
2022-04-07 13:48:01 +02:00
Tobias Hunger
24d325a53b
Do not eat all keypresses in SpinBox
2022-03-22 18:34:05 +01:00
Lukas Jung
8240531e6e
move actual-current-item to FocusScope
2022-03-16 08:48:30 +01:00
Lukas Jung
9d18882f9d
reset StandardListView's current-item if it is out of bounds
2022-03-16 08:48:30 +01:00
Olivier Goffart
c9319add6a
Export the input-type from the LineEdit
2022-03-02 21:55:49 +01:00
Lukas Jung
103b069dde
implement keyboard control for fluent widget
2022-03-02 17:51:31 +01:00
Tobias Hunger
4230ac2572
Update copyright information to reflect name change
...
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00
Olivier Goffart
2f420a4676
Re-export AboutSlint as AboutSixtyFPS
2022-02-02 16:40:06 +01:00
Tobias Hunger
2b55c488ca
Rename sixtyfps to slint in internal
2022-02-02 16:16:55 +01:00
Olivier Goffart
d706d63ce1
Replace references to the .60 files that are now renamed with .slint
2022-02-02 10:12:31 +01:00
Olivier Goffart
0308f86cd4
Rename sixtyfps_widgets.60 to std-widgets.slint
2022-02-01 18:58:54 +01:00