Olivier Goffart
ad5b7be836
Recipes: Translation example
2022-11-25 17:38:40 +01:00
Simon Hausmann
3802eabf7e
Add more docs about selecting the style with the lsp, vs code and slint viewer ( #1911 )
2022-11-25 16:36:08 +01:00
Simon Hausmann
4308ed921d
Add documentation about the available widget styles and how to select them ( #1910 )
2022-11-25 14:53:20 +01:00
Olivier Goffart
c4f90dfa2a
Receipes: TableView
2022-11-25 14:26:22 +01:00
Olivier Goffart
c26b01f4f7
janitor: Replace deprecated property in docs
2022-11-24 12:06:16 +01:00
Simon Hausmann
d8a1f2cf01
Introduce a rem unit in the type system
...
This allows specifying font sizes relative to the Window's
default-font-size, similar to CSS rem.
2022-11-24 11:33:38 +01:00
Simon Hausmann
75ccd897ed
Document PointerEventButton
...
This is public API.
2022-11-24 10:43:11 +01:00
Simon Hausmann
0dbde222f2
Improve docs for the init callback
...
Elaborate on the order of invocation and state of properties with regards to
initialized bindings.
2022-11-24 10:24:54 +01:00
Olivier Goffart
51933b99bb
New syntax for transitions, within the state
2022-11-22 15:16:54 +01:00
Olivier Goffart
d2ade4fd98
Document and enable the in / out keywords with the old component syntax ( #1879 )
...
But it still defaults to `in-out`
2022-11-21 18:41:35 +01:00
Simon Hausmann
907b58161c
Add support for invoking an init callback on component and element construction
...
This enables imperative code to be run. To be used sparingly :-)
2022-11-17 10:12:08 +01:00
Florian Blasius
61c39b5fa1
Add support for dispatching key events through the public platform API
...
This change adds `KeyPress` and `KeyRelease` variants to the
`WindowEvent` enum, along with the new `slint::Key` enum, that allows
encoding keys.
2022-11-15 10:34:17 +01:00
Olivier Goffart
99b17b293c
building.md: mention the use of symlinks for Windows user
...
And how to get them working.
2022-11-10 20:02:18 +01:00
Tasuku Suzuki
64b248cfa9
doc: remove duplicated backticks
2022-10-28 17:44:48 +02:00
ogoffart
2171773a3e
Bump version number to 0.3.2
2022-10-28 09:30:14 +00:00
Olivier Goffart
4b3b96712a
Revert "Prepare for release: add Cargo.lock and set the version number in the docs"
...
This reverts commit a8f93de554 .
The release is done.
2022-10-28 11:13:07 +02:00
Olivier Goffart
a8f93de554
Prepare for release: add Cargo.lock and set the version number in the docs
...
We add the Cargo.lock for the release so that the tagged commit has it,
this will be usefull for the C++ users who build from source with a
tagged version of slint. Because we want to reduce the likelyhod that
they get compilation error in a dependent crate
This will be reverted after the release.
2022-10-28 09:42:20 +02:00
Olivier Goffart
17aa0d7203
Update version number in docs
2022-10-28 09:42:20 +02:00
Be
8953903b90
document ways around needing xcb and fontconfig at build time
2022-10-05 15:21:54 +02:00
Simon Hausmann
c07ae0bf12
doc: bump example MSVC version from 2019 to 2022
...
Since we also bumped the build tools example command line a few lines above.
2022-09-22 14:10:10 +02:00
Simon Hausmann
d3f34f3bdd
janitor: Fix typo
2022-09-22 14:08:46 +02:00
Simon Hausmann
67994071b0
doc: Mention gcc 10 in the C++ prerequisites
2022-09-22 12:58:04 +02:00
Simon Hausmann
2b7343c4d4
Rework the Node.js section of the build guide
...
- Use Node.js as the name, as that's also what's on the website
- Link to the websites of the dependencies
- Move the Node.js API prerequisites below the C++ section, in order of priority
- Create a Node.js Tests section, similar to C++, just for running the tests
- Change the remaining Node.js API build section, similar to C++, to
explain what's needed to build it from git and how to use it.
2022-09-22 12:56:18 +02:00
Simon Hausmann
e97e12d9d9
Minor doc polish
...
- "can do C++20" -> "supports C++20"
2022-09-22 12:56:18 +02:00
Simon Hausmann
3c664cdd82
Various fixes to the Slint Build Guide
...
- In order to -> To
- Use title case for section titles
- Elaborate in the indvidual sentences about testing and building what the
prerequisites are, what the provided command lines accomplish and where
the output can be found.
2022-09-22 12:56:18 +02:00
Simon Hausmann
ab338cc2af
Bump MSVC from 2019 to 2022
...
The Skia binaries on Windows are built against the 2022 runtime, so
when linking the app we also need to provide that.
2022-09-22 12:56:18 +02:00
Joshua Goring
bf2e6a5ef7
Fix editor integrations link
2022-09-18 07:49:12 +02:00
ogoffart
261614b914
Bump version number to 0.3.1
2022-09-15 14:39:51 +02:00
Olivier Goffart
0186c717c3
Revert "Update docs url before release"
...
This reverts commit 2583acfc67 .
Release was released
2022-09-14 16:34:57 +02:00
Simon Hausmann
8556ad0864
Refer to the release/0.3 branch instead of release/0.2 for the CMake docs
2022-09-14 15:45:16 +02:00
Olivier Goffart
2583acfc67
Update docs url before release
2022-09-14 14:50:29 +02:00
Olivier Goffart
2ada879b05
Update version number in the documentation
2022-09-14 14:47:44 +02:00
Simon Hausmann
dcb442b013
Fix warning in suggested cargo doc command line
...
Also enable the log feature.
2022-09-09 10:09:07 +02:00
Simon Hausmann
5352df1c61
Enable the document-features feature for the recommended cargo doc command line
2022-09-09 10:06:00 +02:00
Simon Hausmann
8ee88a53c1
MCU Doc fixes ( #1615 )
...
Various edits to the introduction of how to use Slint on MCUs.
2022-09-09 08:35:01 +02:00
Olivier Goffart
8850959a2c
Rename the backend feature flags
2022-09-07 17:11:57 +02:00
Olivier Goffart
15fa69ef55
Rename the compat-0-2-0 feature to compat-0.3.0
...
But keep a compat-0-2-0 fome compatibility anyway
2022-09-07 14:09:07 +02:00
Tobias Hunger
8b66194aca
Fix doc for renderer-software feature
...
Also fix casing in `mcu.md` headline
2022-09-07 10:11:11 +02:00
Tobias Hunger
d1d188f3e3
docs: Spellcheck
2022-09-07 10:11:11 +02:00
Tobias Hunger
639dcaf702
api: Rename module swrenderer to software_renderer
...
Also rename the `swrenderer` feature to `software-renderer`.
2022-09-07 10:11:11 +02:00
ogoffart
05a49da906
Bump version number to 0.3.0
2022-09-06 13:00:22 +02:00
Olivier Goffart
0085145d10
MCU documentation
2022-09-04 18:31:26 +02:00
Olivier Goffart
6d12b276a9
Polish of the rotation feature
...
- Add a check that this only Applies to Image element without children
- Default the origin to the center of the Image
- Add docs and test
cc: #1481
2022-08-30 12:10:42 +02:00
Simon Hausmann
f8d66cac2e
Fix C++ testing instructions
...
There's no `test-driver-cpp` binary, but there's a package.
2022-08-18 17:00:13 +02:00
Miłosz Kosobucki
e85f8593a4
Fix typo and add backticks
2022-08-10 11:55:42 +02:00
Miłosz Kosobucki
445563d64d
Remove unnecessary character in tutorial
2022-08-09 16:59:44 +02:00
Simon Hausmann
fe3d4b7177
Bump MSRV to 1.60
2022-07-26 09:20:52 +02:00
Olivier Goffart
3639ba2644
Don't expose the KeyEventType to .slint
...
This enum is not used in any builtin things anyway, so it shouldn't be
used at all in .slint code.
2022-07-22 12:23:52 +02:00
Olivier Goffart
ac4f3e97ad
Change slint enum values to be PascalCase in rust
...
... while still being kebab-case in .slint
Some enums might become public API and we want to have them as
PascalCase to respect the rust conventions
2022-07-22 12:23:52 +02:00
Olivier Goffart
9bcd8ca236
Docs: Add example for aimation-tick
2022-07-11 17:49:28 +02:00