Commit graph

976 commits

Author SHA1 Message Date
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
Luc Fauvel
44a537d902
Implemented resizing for non-decorated winit windows (#5026)
Fixes #5023

* Implemented resizing for non-decorated winit windows

* Fixed formatting

* Changed direction match to use a tuple, reduced resize border size, returned after handling resize

* Added is resizable check for before resizing winit window

* Added resize-border property to window

* Formatted code

* Change resize-border from float to length
2024-06-06 11:17:05 +02:00
Florian Blasius
973ecac989 DatePicker: finished features 2024-06-06 09:03:50 +02:00
Florian Blasius
fe6dba9779 DatePicker: base setup 2024-06-06 09:03:50 +02:00
Florian Blasius
3ccee816be
Added TimePicker widget (#5251) 2024-06-05 15:23:06 +02:00
Simon Hausmann
ef11ccfd2d
Fix @tr context docs example
The example that shows the default context should not have a specified context :)
2024-06-05 14:26:03 +02:00
ogoffart
3a6e34ba45 Bump version number to 1.7.0 2024-06-04 20:34:29 +00:00
Chris Chinchilla
ab9d7f342b
Consolidate language tutorials (#5037)
All the language tutorials are merged into the Slint reference as "quick starts".
2024-06-04 16:54:36 +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
Florian Blasius
dc4e421f2c
Added step-size to SpinBox (#5293) 2024-05-31 09:45:37 +00:00
Olivier Goffart
1feb612633 Docs: Fix documentation of easing curve
Don't duplicate the list of easing. Refer to the list in the animation page.
The list in types.md was out of date
2024-05-28 12:04:05 +02:00
aurindam
a9c321d7dc Update from slint-ui/website
Update index.html from commit 1f185bb0af465ac15656634b804e6e998dbf6827 (refs/heads/prod)
2024-05-22 11:17:33 +00:00
Tasuku Suzuki
9ca5c63583 Fix build for raspberry pi with cross
slint needs openssl to build it.

The system library `openssl` required by crate `openssl-sys` was not found.
The file `openssl.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
PKG_CONFIG_PATH contains the following:
    - /usr/lib/arm-linux-gnueabihf/pkgconfig

HINT: you may need to install a package such as openssl, openssl-dev or openssl-devel.
2024-05-20 08:48:51 +02:00
ab7wd
8a54af975e added macOS 14 to supported platform markdown file 2024-05-16 16:41:59 +02:00
Michael Winkelmann
b6ee0287e7 gradiEnt 2024-05-16 11:40:20 +02:00
Michael Winkelmann
d1c2d8c744 types.md: Fix doc typos for radial gradient 2024-05-16 11:40:20 +02:00
Florian Blasius
a3d4112897
Added placeholder-text to TextEdit (#5239)
---------

Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-05-15 10:20:13 +00:00
Simon Hausmann
7b3e2fcf32 Revert "Prepare for 1.6.0 release"
This reverts commit 9d10273871.
2024-05-13 11:54:24 +02:00
tronical
f7846bda86 Update from slint-ui/website
Update index.html from commit 2a6794226c425fcabcc982db29778d3c13f1c8eb (refs/heads/prod)
2024-05-13 09:52:58 +00:00
Simon Hausmann
9d10273871 Prepare for 1.6.0 release 2024-05-13 09:39:07 +02:00
Olivier Goffart
0929e3dfc1 Slint: make the abs work with unit types 2024-05-08 19:04:22 +02:00
Olivier Goffart
e1f6c48958
Improve docs about backend and render selection 2024-05-07 11:31:36 +02:00
aurindam
d0abc27723 Update from slint-ui/website
Update index.html from commit 2ddc51291a1bf23938c12d54b62704cc1f1c6951 (refs/heads/prod)
2024-05-03 09:05:33 +00:00
Dirley Jordan
35b9c1e738
Fix a positive minimum causing an incorrect slider/spinbox value (#5148)
sets the default value to that of the minimum
2024-04-30 09:30:31 +02:00
aurindam
76244c0ca2 Update from slint-ui/website
Update index.html from commit 76b98b98ee96bc0653bc17ad039776d196d72b7a (refs/heads/prod)
2024-04-29 18:45:14 +00:00
Noah Sweilem
e62f75cfd1 Docs: add info about text stroking 2024-04-26 13:16:19 +02:00
Noah Sweilem
b592915f0e Docs: note incompatibility for text stroking in software renderer 2024-04-26 13:16:19 +02:00