Simon Hausmann
0b028bfb6f
Add support for a font-metrics property to Text/TextInput. ( #6452 )
...
The struct held provides access to the design metrics of the font scaled
to the font pixel size used by the element.
ChangeLog: Slint Language: Added font-metrics property to `Text` and `TextInput`.
Closes #6047
2024-10-05 17:00:46 +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
Olivier Goffart
1e19e0a754
Rust codegen: fix compile if slint names matches internal names
...
Fixes #4419
2024-01-24 22:47:58 +01:00
Simon Hausmann
8cee95e04c
Fix documentation of the keyboard modifiers
...
Match the implementation :-)
Fixes #4335
2024-01-19 16:59:06 +01:00
Simon Hausmann
3e71d1b559
doc: clarify the meaning of the repeat field in KeyEvent
...
... as suggested by Joceln.
2023-11-29 10:16:21 +01:00
Jocelyn Turcotte
82916bc2ec
Implement KeyEvent.repeat
...
Now that winit was upgraded do 0.29 we can use its KeyEvent::repeat field.
Also feed Qt's QKeyEvent::isAutoRepeat() in the Qt backend.
2023-11-29 09:31:31 +01:00
Olivier Goffart
5f36eaca9a
Android: handle InputEvent::TextEvent
2023-11-02 12:16:40 +01:00
Olivier Goffart
f24014a2dd
Refactor the internal IME event
...
Base the info on what's discussed in #3811
but this is just the internal event and not the public API
2023-11-02 12:16:40 +01:00
Olivier Goffart
4c0a435196
Implement TouchArea::scroll-event
...
Closes #1280
2023-10-07 07:59:53 +02:00
Simon Hausmann
f301e3d8c9
Remove Rust/C++ type name sentence in StandardListViewItem docs
...
This makes no sense in the Slint docs. But it's okay, this is a really
simple data structure anyway.
Amends 37488f015d
2023-08-03 15:54:54 +02:00
darknight
37488f015d
Refactoring: define macro rules to group builtin structs
...
apply new macro for struct declaration, type register,
doc generation, cpp header generation, struct-value conversion.
2023-08-03 11:01:18 +02:00