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
09f9dbe371
Do not set focus on click for most FocusScopes
2022-04-20 17:07:02 +02:00
Tobias Hunger
9ef1f08163
Take alignment from QStyle infos into account when rendering the TabBar
2022-04-20 15:19:16 +02:00
Tobias Hunger
6c10edc957
Draw focus rect on focused tabs
2022-04-20 15:19:16 +02:00
Tobias Hunger
06749c6469
native: Implement keyboard focus support in Tab widget
2022-04-20 15:19:16 +02:00
Olivier Goffart
f117cb77cc
NativeSpinBox: Handle the key press in native code
2022-04-19 11:27:19 +02:00
Tobias Hunger
2c82fd7618
Tab: Make tab accept keyboard
2022-04-13 14:42:32 +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
c15b0e1486
Add focus and keyboard control to native/qt spinbox
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