Olivier Goffart
3f8163fa3f
Prepare the v1.7.2 release
2024-08-14 09:38:27 +02:00
Simon Hausmann
782bf6e7c6
Minor tweak to the quickstart guide
...
Apply #5618 also to the quickstart guide.
2024-08-13 15:02:43 +02:00
Simon Hausmann
227bd78150
Change Rust Quickstart to use the Rust template
...
This reduces duplicated documentation and fixes two bugs. One minor additional change is that Rust code from the game logic chapter can now safely be copied, because the tiles variable is cloned in the previous step.
Fixes #5825
Fixes #5824
2024-08-13 15:02:43 +02:00
Olivier Goffart
51481b101c
Make conversion from float to int property truncate
...
- Make sure that in Rust and C++ we also truncate if the properties are
inlined
- Change the interpreter to truncate
This is a redo of commit f5d003d
but truncate instead of round
fixes #5689
2024-08-10 14:51:05 +02:00
ogoffart
bbf7edc5a3
Bump version number to 1.7.2
2024-08-09 09:52:17 +00:00
Olivier Goffart
916d6cd186
brighter/darker: Add docs that specify that we go in the HSV color space
...
Just copy the sentences from the rust docs for slint::Color
Closes #5753
2024-08-06 16:43:45 +02:00
Kevin Moonen
34f1a990d7
Clarify that generated <kind>_clicked callbacks are aliases
...
My assumption from reading the docs was that the `StandardButton`s
delegated to the root and that the generated callbacks in the root
were to facilitate that behavior.
2024-07-31 07:25:41 +02:00
botent
17f71a3b15
Typos-Fix: Getting Started Docs
2024-07-30 21:52:37 +02:00
Simon Hausmann
ed7eda0286
Revert "Prepare for 1.7.1 release"
...
This reverts commit 74763b5b87
.
2024-07-26 08:49:33 +02:00
Simon Hausmann
74763b5b87
Prepare for 1.7.1 release
2024-07-25 15:50:49 +02:00
Simon Hausmann
9a34789070
Revert "Fix conversion to from float to int"
...
This reverts commit f5d003d1e2
.
We decided to postpone this change until a later release, in maybe a
different shape.
2024-07-25 15:25:00 +02:00
Olivier Goffart
f5d003d1e2
Fix conversion to from float to int
...
Round the value.
The previous behavior is that
- For the interpreter, we were rounding (same as new behavior)
- for Rust and C++ we were truncating, unless the properties were
inlinined and then we were keeping it as float
2024-07-23 17:32:57 +02:00
ogoffart
aa25e3cd44
Bump version number to 1.7.1
2024-07-23 12:05:34 +00:00
Simon Hausmann
97ac7138c1
Clarify the use of file vs. directory references in library paths
2024-07-19 11:45:40 +02:00
Simon Hausmann
167ca4bc3b
Library Docs: Mention how to add library paths with C++/CMake
2024-07-19 11:45:40 +02:00
Danut Enachioiu
7d00f0a80b
Clarify that init callback can't be used from backend code and why ( #5645 )
2024-07-18 21:55:01 +02:00
Simon Hausmann
1811832495
Revert "Prepare for 1.7.0 release"
...
This reverts commit c0683ecfa1
.
2024-07-18 13:28:24 +02:00
Simon Hausmann
c0683ecfa1
Prepare for 1.7.0 release
2024-07-18 10:49:13 +02:00
Simon Hausmann
7141e5fa3d
Fix broken note rendering
...
colon_fence in myst still requires curly braces to render the directive correctly.
2024-07-17 10:58:43 +02:00
Simon Hausmann
36bef5a483
API review: clean up Time/Date struct docs
...
- Remove `struct Date` and `struct Time` from the widgets side bar
- Move it to the bottom of each page
- Link to it from the respective properties
2024-07-10 15:54:11 +02:00
Simon Hausmann
25dbba7053
doc: Rename DatePicker
and TimePicker
to DatePickerPopup
and TimePickerPopup
2024-07-10 15:38:44 +02:00
Chris Chinchilla
da0769ade6
Audit language concepts ( #5497 )
...
* Draft
* Feedback
2024-07-10 14:48:54 +02:00
Chris Chinchilla
d2d4417ae8
Updates
2024-07-10 13:52:11 +02:00
Chris Chinchilla
4339476d4f
Update docs/_templates/embedded-tutorials.md
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-10 13:52:11 +02:00
Chris Chinchilla
30880a1d88
Start a draft of an embedded tutorial template
2024-07-10 13:52:11 +02:00
Florian Blasius
6e2013e4ff
API Review: DatePicker and TimePicker ( #5582 )
2024-07-09 22:16:54 +02:00
teknalb
1b9a5e308a
fix-some-doc-typos
2024-07-08 11:55:38 +02:00
Olivier Goffart
7c93c7438b
Rename resize-border => resize-border-width
2024-07-05 12:50:16 +02:00
Simon Hausmann
caf5b968dc
Fix capitalization
2024-07-05 09:34:35 +02:00
Olivier Goffart
a0dd978f8a
Deprecate exporting the last import if there is no other exported component
2024-07-03 13:34:08 +02:00
Olivier Goffart
66370b6bda
Add export { ... } from "....slint";
syntax. ( #5533 )
2024-07-03 12:50:40 +02:00
aurindam
07e10f37ab
Update from slint-ui/website
...
Update index.html from commit 13b13f0f64e81eb116d9f31a1a642063d979287b (refs/heads/prod)
2024-07-03 10:05:16 +00:00
Simon Hausmann
bc458ebb26
Add rotation properties to the Text
docs
...
Amends 7896e645b2
2024-07-03 11:16:58 +02:00
Simon Hausmann
a3435d218f
Remove macOS-11 from the list of supported platforms
...
It's not supported by Apple anymore since September 2023
2024-07-02 10:48:13 +02:00
Olivier Goffart
75539f0557
Some documentation for the property changed callbacks
...
Still in comments as this is experimental
2024-06-28 14:46:12 +02:00
Danut Enachioiu
d126c28569
Improve docs on functions ( #5446 )
...
While learning to use slint, I noticed that a lot of behaviors (in this case about functions) aren't clearly stated in the documentation. So I'm trying to document what I've learned and hopefully make it easier for the next person.
2024-06-26 13:00:02 +02:00
Arnold Loubriat
ce2db77e88
Add the accessible-placeholder-text
property ( #5464 )
2024-06-26 12:59:22 +02:00
aurindam
786933966a
Update from slint-ui/website
...
Update index.html from commit 247e6489544d2ea42fb7d12f9965ebfea195067c (refs/heads/prod)
2024-06-21 01:45:38 +00:00
Olivier Goffart
41d39c507f
Improve the documentation of Components libraries
2024-06-20 09:53:50 +02:00
Olivier Goffart
3bbb6e9d0a
Rust quickstart: don't use the template if we're not using build.rs
...
The quickstart use the slint macro which doesn't use build.rs. The template is conter-productive
as it uses the slint-build and build.rs to compile Slint file.
If we're not using that, it is much easier to start with a fresh clean project.
2024-06-19 09:57:46 +02:00
aurindam
4f55b8fa24
Update from slint-ui/website
...
Update index.html from commit e166e3ec9c984832f48ee97195cf3cbe86790bae (refs/heads/prod)
2024-06-18 11:52:03 +00:00
Chris Chinchilla
504ff31f24
Audit docs intro section ( #5354 )
2024-06-13 08:48:05 +02:00
Simon Hausmann
f1987cd208
Fix links to widgets in AccessibleRole docs embedded in i-slint-backend-testing docs
...
The relative links don't work, so use slint-reference: custom schemes that works with sphinx and is rewritten with JavaScript through injections.
2024-06-12 07:17:35 -07:00
Simon Hausmann
05473a2450
doc: add missing closing single quotes
2024-06-12 09:29:33 +02:00
Simon Hausmann
2d6a8b1545
Add a note about the mouse cursor limitiation in the software renderer
2024-06-10 06:01:19 -07:00
Simon Hausmann
f8ddc9c358
Document availability of the linuxkms-software backend choice
2024-06-10 06:01:19 -07:00
Simon Hausmann
0ec577f981
Fix markdown link syntax
...
Oops
2024-06-07 12:10:27 +02:00
Simon Hausmann
cdf20a313b
DatePicker docs: Fix myst-parser not automatically turning the strftime link to a link
2024-06-07 11:25:52 +02:00
aurindam
0f6150e2fd
Update from slint-ui/website
...
Update index.html from commit 1791a727c0d408e5cfb09921f8921c631064438e (refs/heads/prod)
2024-06-06 20:23:52 +00:00
Chris Chinchilla
0a76954aa9
Make Rust default
2024-06-06 07:14:44 -07:00