ogoffart
c160ec2aef
Bump version number to 0.2.4
2022-05-09 13:49:25 +00:00
ogoffart
6395cdfc09
Bump version number to 0.2.3
2022-05-04 12:32:58 +00:00
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
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
Simon Hausmann
9a8c5fed9f
Remove the ugly style
...
It's ugly ;-)
The combo box for the style is commented out for now, so that we can
easily re-add it in the future once we add a new style.
2022-04-13 10:35:42 +02:00
Tobias Hunger
c825eee228
janitor: Update global cspell
...
Update global cspell words and remove some file-wide words.
Also remove a manual test that is now also run as a proper test case.
2022-04-12 12:03:45 +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
b33c407878
Make fluent Button accept keyboard focus
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
ogoffart
7b50791db4
Bump version number to 0.2.2
2022-03-10 08:48:33 +00: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
Lukas Jung
103b069dde
implement keyboard control for fluent widget
2022-03-02 17:51:31 +01:00
Simon Hausmann
19a3b67ac2
Use the new dark-style property to select about logo
2022-03-01 16:41:20 +01:00
Olivier Goffart
9a6c306017
We can now access the global from other globals
2022-02-28 10:14:34 +01:00
ogoffart
ecd0fb7ecd
Bump version number to 0.2.1
2022-02-10 16:25:28 +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
1425ef63de
Change the Url from sixtyfps.io to slint-ui.com
...
Also, change the URL of the logo in the docs
2022-02-08 08:52:46 +01:00
Olivier Goffart
3fdab32d87
Upload a bunch of versions of the logo
...
Examples will be able to use the logo from their location in `../../../logo/xxx.svg`
Some other things that needs to have the logo in their directory can use symlinks.
But because of the situation of windows, we can't use symlink for things our users
need to build and this is the case for the compiler-internal (because the C++ build
use the code from the repository), so there is a copy of the 'full' logo in
internal/comoiler/widgets/common
2022-02-03 11:54:05 +01:00
Olivier Goffart
530a78ba54
Hack a way to have the white logo in AboutSlint on too dark background
2022-02-03 00:04:29 +01:00
Olivier Goffart
edaaa7fb58
Use the Slint logo in AboutSlint
2022-02-02 16:40:06 +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
0c0a783095
Rename all our .60 files to .slint
2022-02-02 10:05:45 +01:00
Olivier Goffart
0308f86cd4
Rename sixtyfps_widgets.60 to std-widgets.slint
2022-02-01 18:58:54 +01:00
Tobias Hunger
e6b24bceec
[reorg]: Set up and populate the internal
directory
...
Move "internal" crates into the `internal` directory. This first batch
includes most of sixtyfps_runtime but leaves the rendering backends
alone for now.
pre-commit applied some cleanups to the moved files:
- Consistent newline at end of file policy
- trimming trailing whitespace
- Formatting Cargo.toml files.
2022-01-31 16:00:50 +01:00