Domain: slint-ui.com -> slint.dev

This commit is contained in:
Olivier Goffart 2023-06-16 09:37:34 +02:00 committed by Olivier Goffart
parent 24c822dd60
commit 11dea135f7
1248 changed files with 1542 additions and 1542 deletions

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
[alias]

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
# cSpell: ignore libxcb libxkbcommon xfixes

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
---

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
# cSpell: ignore debuginfo rustflags swatinem

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
# cSpell: ignore vite

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
# Build various demo binaries, c++ packages and documentation and publish them on the website

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
name: CI

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
name: Build the C++ binary package

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
# This workflow checks out and build a bunch of crates that uses Slint,

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
name: Embedded Build

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
# Build various demo binaries, c++ packages and documentation and publish them on the website
@ -312,7 +312,7 @@ jobs:
cp -a ../target/doc/* snapshots/$target_branch/docs/rust/
# Fix up link to Slint language documentation
sed -i "s!https://slint-ui.com/releases/.*/docs/!../../!" snapshots/$target_branch/docs/rust/slint/*.html
sed -i "s!https://slint.dev/releases/.*/docs/!../../!" snapshots/$target_branch/docs/rust/slint/*.html
for lang in rust cpp node; do
mkdir -p snapshots/$target_branch/docs/tutorial/$lang

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
name: Build slint-viewer or -lsp binary

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
name: 'Check spelling'

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
name: Rust Demos built for Torizon

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
# Run slint-tr-extractor and msgfmt
@ -47,7 +47,7 @@ jobs:
- name: commit
run: |
git config --global user.email "noreply@slint-ui.com"
git config --global user.email "noreply@slint.dev"
git config --global user.name "Update Translations Bot"
git add examples
git commit -a -m 'Update Translations: extract strings'

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
name: Upgrade Version Number

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
name: Build wasm demos

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
---

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
tabWidth = 4

View file

@ -1,38 +1,38 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: slint
Upstream-Contact: Slint Developers <info@slint-ui.com>
Source: https://slint-ui.com/
Upstream-Contact: Slint Developers <info@slint.dev>
Source: https://slint.dev/
Files: */slint-logo-*.svg */slint-logo-*.png */madewithslint-logo-*.svg */madewithslint-logo-*.png
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: CC-BY-ND-4.0
Files: .clang-format .gitattributes .gitignore */.gitignore .dockerignore .prettierignore .pre-commit-config.yaml .vscode/* cspell.json rustfmt.toml .mailmap */.eslintrc.yml Cargo.lock
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
Files: *.md api/cpp/docs/* docs/*
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: MIT
Files: *.pot *.po *.mo
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
Files: helper_crates/vtable/*
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
Files: helper_crates/const-field-offset/*
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: MIT or Apache-2.0
Files: api/*/*.json
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
Files: examples/*.json examples/*/README examples/*/README.txt examples/qt_viewer/interface.ui
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
Files: examples/memory/icons/*.svg examples/memory/icons/*.png
@ -52,23 +52,23 @@ Copyright: The Qt Company <https://qt.io/>
License: LGPL-3.0-only
Files: editors/sublime/LSP.sublime-settings
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
Files: editors/tree-sitter-slint/binding.gyp editors/tree-sitter-slint/CONTRIBUTING.md
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
Files: tools/slintpad/*.html tools/slintpad/styles/*.css tools/slintpad/*.json
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
Files: editors/vscode/*.json editors/vscode/README.md editors/vscode/css/*.css editors/tree-sitter-slint/corpus/*.txt
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
Files: tests/screenshots/references/software/*/*.png
Copyright: Copyright © SixtyFPS GmbH <info@slint-ui.com>
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
Files: examples/carousel/icons/*.svg

View file

@ -369,7 +369,7 @@ All notable changes to this project are documented in this file.
- Added `animation-tick()`.
- `SharedString` implements `std::fmt::Write` and added `slint::format!`.
- `Image` can now be rotated with the `rotation-*` properties.
- Use docking widgets and integration of slint-lsp into the [Online Code Editor](https://slint-ui.com/editor).
- Use docking widgets and integration of slint-lsp into the [Online Code Editor](https://slint.dev/editor).
### Fixed

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
cmake_minimum_required(VERSION 3.21)

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
[workspace]

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
[target.aarch64-unknown-linux-gnu]

6
FAQ.md
View file

@ -50,7 +50,7 @@ types of programming languages.
## Licensing
Slint is available under a [royalty-free license](LICENSES/LicenseRef-Slint-Royalty-free-1.0.md) or [GNU GPLv3](LICENSES/GPL-3.0-only.txt), at your choice. For paid plans, visit our website [https://slint-ui.com](https://slint-ui.com) or contact us at [info@slint-ui.com](mailto:info@slint-ui.com).
Slint is available under a [royalty-free license](LICENSES/LicenseRef-Slint-Royalty-free-1.0.md) or [GNU GPLv3](LICENSES/GPL-3.0-only.txt), at your choice. For paid plans, visit our website [https://slint.dev](https://slint.dev) or contact us at [info@slint.dev](mailto:info@slint.dev).
### Royalty-free license
@ -62,7 +62,7 @@ This license is suitable for those who develop desktop or web applications and d
You need to do all of the following:
1. Display the [`AboutSlint`](https://slint-ui.com/snapshots/master/docs/slint/src/builtins/widgets.html#aboutslint) widget in an "About" screen or dialog that is accessible from the top level menu of your application.
1. Display the [`AboutSlint`](https://slint.dev/snapshots/master/docs/slint/src/builtins/widgets.html#aboutslint) widget in an "About" screen or dialog that is accessible from the top level menu of your application.
2. Display the [Slint attribution badge](https://github.com/slint-ui/slint/tree/master/logo/madewithslint) on a public webpage, where the binaries of your application can be downloaded from, in such a way that it can be easily found by any visitor to that page.
3. You may not remove or alter any license notices (including copyright notices, disclaimers of warranty, or limitations of liability) contained within the source code form of Slint.
4. You allow us to use your application on our website and in advertising materials as a reference and to display your logo and trademark for this purpose.
@ -124,4 +124,4 @@ Alice can add a note that Bob can distribute BobApp under a proprietary license
### Do you provide Support?
Yes, we offer paid support in addition to the community support on [GitHub Discussions](https://github.com/slint-ui/slint/discussions) and on our [Mattermost chat](https://chat.slint-ui.com). For more information, please contact us at [info@slint-ui.com](mailto:info@slint-ui.com).
Yes, we offer paid support in addition to the community support on [GitHub Discussions](https://github.com/slint-ui/slint/discussions) and on our [Mattermost chat](https://chat.slint.dev). For more information, please contact us at [info@slint.dev](mailto:info@slint.dev).

View file

@ -8,4 +8,4 @@ You can use Slint under ***any*** of the following licenses, at your choice:
Third party licenses listed in the `LICENSES` folder also apply to parts of the product.
Contact us at [info@slint-ui.com](mailto:info@slint-ui.com) if you have any questions regarding licensing.
Contact us at [info@slint.dev](mailto:info@slint.dev) if you have any questions regarding licensing.

View file

@ -22,7 +22,7 @@ The license does not permit the use of the Software within Embedded Systems. An
You may distribute the Software as part of an Application, modified or unmodified, provided that You do all of the following:
(a) Display the [`AboutSlint`](https://slint-ui.com/snapshots/master/docs/slint/src/builtins/widgets.html#aboutslint) widget in an "About" screen or dialog that is accessible from the top level menu of the Application.
(a) Display the [`AboutSlint`](https://slint.dev/snapshots/master/docs/slint/src/builtins/widgets.html#aboutslint) widget in an "About" screen or dialog that is accessible from the top level menu of the Application.
(b) Display the [Slint attribution badge](https://github.com/slint-ui/slint/tree/master/logo/madewithslint) on a public webpage, where the binaries of your Application can be downloaded from, in such a way that it can be easily found by any visitor to that page.

View file

@ -2,7 +2,7 @@
Version 2.0
Copyright © 2023 SixtyFPS GmbH <https://slint-ui.com/imprint.html>
Copyright © 2023 SixtyFPS GmbH <https://slint.dev/imprint.html>
SixtyFPS GmbH with offices at Oranienburger Str. 44, 16540 Hohen Neuendorf,
Germany (**SixtyFPS**, **us**, **we** or **our**) grants a license to the

View file

@ -102,7 +102,7 @@ export component HelloWorld inherits Window {
### Documentation
For more details, check out the [Slint Language Documentation](https://slint-ui.com/docs/slint).
For more details, check out the [Slint Language Documentation](https://slint.dev/docs/slint).
The [examples](examples) folder contains examples and demos, showing how to
use the Slint markup language and how to interact with a Slint user interface
@ -124,7 +124,7 @@ An application is composed of the business logic written in Rust, C++, or
JavaScript and the `.slint` user interface design markup, which is compiled to
native code.
![Architecture Overview](https://slint-ui.com/resources/architecture.drawio.svg)
![Architecture Overview](https://slint.dev/resources/architecture.drawio.svg)
### Compiler
@ -167,7 +167,7 @@ We have a few tools to help with the development of .slint files:
- A [**slint-viewer**](./tools/viewer) tool which displays the .slint files. The
`--auto-reload` argument makes it easy to preview your UI while you are
working on it (when using the LSP preview is not possible).
- [**SlintPad**](https://slint-ui.com/editor), an online editor to try out .slint syntax
- [**SlintPad**](https://slint.dev/editor), an online editor to try out .slint syntax
without installing anything ([sources](./tools/slintpad)).
- An [**updater**](./tools/updater) to convert the .slint files from
previous versions to newer versions.
@ -235,7 +235,7 @@ located remotely in Germany.
- Follow [@slint-ui](https://twitter.com/slint_ui) on Twitter.
- Follow [@slint@fosstodon.org](https://mastodon.social/@slint@fosstodon.org) on Mastodon.
- Follow [@slint-ui](https://www.linkedin.com/company/slint-ui/) on LinkedIn.
- Keep an eye out for our [🥠 Weekly Status Updates](https://slint-ui.com/thisweek/).
- Keep an eye out for our [🥠 Weekly Status Updates](https://slint.dev/thisweek/).
### Contact us
@ -243,36 +243,36 @@ Feel free to join [Github discussions](https://github.com/slint-ui/slint/discuss
for general chat or questions. Use [Github issues](https://github.com/slint-ui/slint/issues)
to report public suggestions or bugs.
We chat in [our Mattermost instance](https://chat.slint-ui.com) where you are
We chat in [our Mattermost instance](https://chat.slint.dev) where you are
welcome to listen in or ask your questions.
You can of course also contact us privately via email to [info@slint-ui.com](mailto://info@slint-ui.com).
You can of course also contact us privately via email to [info@slint.dev](mailto://info@slint.dev).
[#1]: https://www.youtube.com/watch?v=_BDbNHrjK7g
[#2]: https://www.youtube.com/watch?v=NNNOJJsOAis
[#3]: https://www.youtube.com/watch?v=dkBwNocItGs
[#4]: https://slint-ui.com/resources/gallery_win_screenshot.png "Gallery"
[#5]: https://slint-ui.com/resources/gallery_mac_screenshot.png "Gallery"
[#6]: https://slint-ui.com/resources/gallery_linux_screenshot.png "Gallery"
[#7]: https://slint-ui.com/resources/printerdemo_screenshot.png "Printer Demo"
[#8]: https://slint-ui.com/demos/printerdemo/
[#9]: https://slint-ui.com/resources/puzzle_screenshot.png "Slide Puzzle"
[#10]: https://slint-ui.com/demos/slide_puzzle/
[#11]: https://slint-ui.com/resources/energy-monitor-screenshot.png "Energy Monitor Demo"
[#12]: https://slint-ui.com/demos/energy-monitor/
[#13]: https://slint-ui.com/resources/gallery_screenshot.png "Gallery Demo"
[#14]: https://slint-ui.com/demos/gallery/
[#15]: https://slint-ui.com/docs/cpp
[#16]: https://slint-ui.com/docs/tutorial/cpp
[#4]: https://slint.dev/resources/gallery_win_screenshot.png "Gallery"
[#5]: https://slint.dev/resources/gallery_mac_screenshot.png "Gallery"
[#6]: https://slint.dev/resources/gallery_linux_screenshot.png "Gallery"
[#7]: https://slint.dev/resources/printerdemo_screenshot.png "Printer Demo"
[#8]: https://slint.dev/demos/printerdemo/
[#9]: https://slint.dev/resources/puzzle_screenshot.png "Slide Puzzle"
[#10]: https://slint.dev/demos/slide_puzzle/
[#11]: https://slint.dev/resources/energy-monitor-screenshot.png "Energy Monitor Demo"
[#12]: https://slint.dev/demos/energy-monitor/
[#13]: https://slint.dev/resources/gallery_screenshot.png "Gallery Demo"
[#14]: https://slint.dev/demos/gallery/
[#15]: https://slint.dev/docs/cpp
[#16]: https://slint.dev/docs/tutorial/cpp
[#17]: https://github.com/slint-ui/slint-cpp-template
[#18]: https://img.shields.io/crates/v/slint
[#19]: https://crates.io/crates/slint
[#20]: https://slint-ui.com/docs/rust/slint/
[#21]: https://slint-ui.com/docs/tutorial/rust
[#20]: https://slint.dev/docs/rust/slint/
[#21]: https://slint.dev/docs/tutorial/rust
[#22]: https://youtu.be/WBcv4V-whHk
[#23]: https://github.com/slint-ui/slint-rust-template
[#24]: https://img.shields.io/npm/v/slint-ui
[#25]: https://www.npmjs.com/package/slint-ui
[#26]: https://slint-ui.com/docs/node
[#27]: https://slint-ui.com/docs/tutorial/node
[#26]: https://slint.dev/docs/node
[#27]: https://slint.dev/docs/tutorial/node
[#28]: https://github.com/slint-ui/slint-nodejs-template

View file

@ -1,8 +1,8 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
cmake_minimum_required(VERSION 3.21)
project(Slint HOMEPAGE_URL "https://slint-ui.com/" LANGUAGES CXX VERSION 1.0.0)
project(Slint HOMEPAGE_URL "https://slint.dev/" LANGUAGES CXX VERSION 1.0.0)
include(FeatureSummary)
include(CMakeDependentOption)
@ -358,7 +358,7 @@ set(CPACK_VERBATIM_VARIABLES true)
set(CPACK_PACKAGE_VERSION_MAJOR 1)
set(CPACK_PACKAGE_VERSION_MINOR 1)
set(CPACK_PACKAGE_VERSION_PATCH 0)
set(CPACK_PACKAGE_HOMEPAGE_URL "https://slint-ui.com")
set(CPACK_PACKAGE_HOMEPAGE_URL "https://slint.dev")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_LIST_DIR}/../../LICENSE.md")
set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_LIST_DIR}/README.md")
set(CPACK_STRIP_FILES ON)

View file

@ -1,16 +1,16 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
[package]
name = "slint-cpp"
version = "1.1.0"
authors = ["Slint Developers <info@slint-ui.com>"]
authors = ["Slint Developers <info@slint.dev>"]
edition = "2021"
build = "build.rs"
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial"
description = "Slint C++ integration"
repository = "https://github.com/slint-ui/slint"
homepage = "https://slint-ui.com"
homepage = "https://slint.dev"
publish = false
rust-version.workspace = true
# prefix used to convey path to generated includes to the C++ test driver

View file

@ -2,12 +2,12 @@
## A C++ UI toolkit
[Slint](https://slint-ui.com/) is a UI toolkit that supports different programming languages.
[Slint](https://slint.dev/) is a UI toolkit that supports different programming languages.
Slint.cpp is the C++ API to interact with a Slint UI from C++.
The complete C++ documentation can be viewed online at https://slint-ui.com/docs/cpp/.
The complete C++ documentation can be viewed online at https://slint.dev/docs/cpp/.
If you are new to Slint, you might also consider going through our [Walk-through tutorial](https://slint-ui.com/docs/tutorial/cpp).
If you are new to Slint, you might also consider going through our [Walk-through tutorial](https://slint.dev/docs/tutorial/cpp).
## Installing or Building Slint
@ -248,7 +248,7 @@ int main() {
That's it.
For more details, check the [Online documentation](https://slint-ui.com/docs/cpp) and the full
[Walk-through tutorial](https://slint-ui.com/docs/tutorial/cpp).
For more details, check the [Online documentation](https://slint.dev/docs/cpp) and the full
[Walk-through tutorial](https://slint.dev/docs/tutorial/cpp).
We also have a [Getting Started Template](https://github.com/slint-ui/slint-cpp-template) repository with
the code of a minimal C++ application using Slint that can be used as a starting point to your program.

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
use std::path::Path;

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
use anyhow::Context;

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
@PACKAGE_INIT@

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
# Set up machinery to handle SLINT_EMBED_RESOURCES target property

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
[[source]]

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
# Configuration file for the Sphinx documentation builder.
@ -23,7 +23,7 @@ import textwrap
project = "Slint C++ API"
copyright = "SixtyFPS GmbH"
author = "Slint Developers <info@slint-ui.com>"
author = "Slint Developers <info@slint.dev>"
# The full version, including alpha/beta/rc tags
version = "1.1.0"
@ -104,7 +104,7 @@ html_static_path = ["_static"]
html_show_sourcelink = False
html_logo = "https://slint-ui.com/logo/slint-logo-small-light.svg"
html_logo = "https://slint.dev/logo/slint-logo-small-light.svg"
myst_enable_extensions = [
"html_image",

View file

@ -1,4 +1,4 @@
.. Copyright © SixtyFPS GmbH <info@slint-ui.com>
.. Copyright © SixtyFPS GmbH <info@slint.dev>
.. SPDX-License-Identifier: MIT
===========

View file

@ -1,4 +1,4 @@
.. Copyright © SixtyFPS GmbH <info@slint-ui.com>
.. Copyright © SixtyFPS GmbH <info@slint.dev>
.. SPDX-License-Identifier: MIT
.. Slint C++ documentation master file
@ -45,7 +45,7 @@ Welcome to Slint C++'s documentation!
:target: https://github.com/slint-ui/slint/discussions
:alt: GitHub Discussions
`Slint <https://slint-ui.com/>`_ is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications.
`Slint <https://slint.dev/>`_ is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications.
Slint C++ is the C++ API to interact with a Slint UI from C++.
The .slint Markup Language
@ -77,7 +77,7 @@ Architecture
An application is composed of the business logic written in C++ and the `.slint` user interface design markup, which
is compiled to native code.
.. image:: https://slint-ui.com/resources/architecture.drawio.svg
.. image:: https://slint.dev/resources/architecture.drawio.svg
:alt: Architecture Overview
Developing

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
/*! This crate just expose the function used by the C++ integration */

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
use core::ffi::c_void;

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
FetchContent_Declare(

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#include <chrono>

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#define CATCH_CONFIG_MAIN

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#define CATCH_CONFIG_MAIN

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
if (WIN32)

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#ifndef UNICODE

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
import {Button, AboutSlint} from "std-widgets.slint";

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#include <windows.h>

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
add_executable(platform_qt main.cpp)

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
import {Button, AboutSlint} from "std-widgets.slint";

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#include "appwindow.h"

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#include <chrono>

View file

@ -1,4 +1,4 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
add_executable(multiple-includes main.cpp logic.cpp)

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
import {Button, AboutSlint} from "std-widgets.slint";

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#include "logic.h"

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#pragma once

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#include "logic.h"

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#include <chrono>

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
export Test := Rectangle {}

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#define CATCH_CONFIG_MAIN

View file

@ -2,11 +2,11 @@
[![npm](https://img.shields.io/npm/v/slint-ui)](https://www.npmjs.com/package/slint-ui)
[Slint](https://slint-ui.com/) is a UI toolkit that supports different programming languages.
[Slint](https://slint.dev/) is a UI toolkit that supports different programming languages.
Slint-node is the integration with node.
The complete Node documentation can be viewed online at https://slint-ui.com/docs/node/.
To get started you can use the [Walk-through tutorial](https://slint-ui.com/docs/tutorial/node).
The complete Node documentation can be viewed online at https://slint.dev/docs/node/.
To get started you can use the [Walk-through tutorial](https://slint.dev/docs/tutorial/node).
We also have a [Getting Started Template](https://github.com/slint-ui/slint-nodejs-template) repository with
the code of a minimal application using Slint that can be used as a starting point to your program.

View file

@ -2,10 +2,10 @@
[![npm](https://img.shields.io/npm/v/slint-ui)](https://www.npmjs.com/package/slint-ui)
[Slint](https://slint-ui.com/) is a UI toolkit that supports different programming languages.
[Slint](https://slint.dev/) is a UI toolkit that supports different programming languages.
Slint-node is the integration with node.
To get started you can use the [Walk-through tutorial](https://slint-ui.com/docs/tutorial/node).
To get started you can use the [Walk-through tutorial](https://slint.dev/docs/tutorial/node).
We also have a [Getting Started Template](https://github.com/slint-ui/slint-nodejs-template) repository with
the code of a minimal application using Slint that can be used as a starting point to your program.

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
// Load the native library with `process.dlopen` instead of with `require`.

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
import { URL, pathToFileURL } from 'url';

View file

@ -1,17 +1,17 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
[package]
name = "slint-node"
version = "1.1.0"
authors = ["Slint Developers <info@slint-ui.com>"]
authors = ["Slint Developers <info@slint.dev>"]
edition = "2021"
build = "build.rs"
# This is not meant to be used as a library from crate.io
publish = false
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial"
repository = "https://github.com/slint-ui/slint"
homepage = "https://slint-ui.com"
homepage = "https://slint.dev"
[lib]

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
fn main() {

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
use i_slint_compiler::langtype::Type;

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
use core::cell::RefCell;

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
/*!

View file

@ -1,10 +1,10 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
[package]
name = "slint-build"
version = "1.1.0"
authors = ["Slint Developers <info@slint-ui.com>"]
authors = ["Slint Developers <info@slint.dev>"]
edition = "2021"
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial"
description = "Helper for Slint build script"

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
/*!
@ -41,7 +41,7 @@ fn main() {
}
```
*/
#![doc(html_logo_url = "https://slint-ui.com/logo/slint-logo-square-light.svg")]
#![doc(html_logo_url = "https://slint.dev/logo/slint-logo-square-light.svg")]
#![warn(missing_docs)]
#[cfg(not(feature = "default"))]

View file

@ -1,10 +1,10 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
[package]
name = "slint-macros"
version = "1.1.0"
authors = ["Slint Developers <info@slint-ui.com>"]
authors = ["Slint Developers <info@slint.dev>"]
edition = "2021"
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial"
description = "Macro helper for slint crate"

View file

@ -1,10 +1,10 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
// cSpell:ignore punct
#![doc = include_str!("README.md")]
#![doc(html_logo_url = "https://slint-ui.com/logo/slint-logo-square-light.svg")]
#![doc(html_logo_url = "https://slint.dev/logo/slint-logo-square-light.svg")]
extern crate proc_macro;
use std::path::Path;
@ -303,7 +303,7 @@ fn extract_include_paths(
/// you can use place Slint code and the named exported components will be available for instantiation.
///
/// For the documentation about the syntax of the language, see
#[doc = concat!("[The Slint Language Documentation](https://slint-ui.com/releases/", env!("CARGO_PKG_VERSION"), "/docs/slint)")]
#[doc = concat!("[The Slint Language Documentation](https://slint.dev/releases/", env!("CARGO_PKG_VERSION"), "/docs/slint)")]
///
/// When `import`ing `.slint` files or loading images with `@image-url`, the specified paths are relative to the
/// the directory that contains Cargo.toml.

View file

@ -1,10 +1,10 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
[package]
name = "slint"
version = "1.1.0"
authors = ["Slint Developers <info@slint-ui.com>"]
authors = ["Slint Developers <info@slint.dev>"]
edition = "2021"
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial"
description = "GUI toolkit to efficiently develop fluid graphical user interfaces for embedded devices and desktop applications"
@ -32,7 +32,7 @@ default = [
## This feature is required to keep the compatibility with Slint 1.0
## Newer patch version may put current functionality behind a new feature
## that would be enabled by default only if this feature was added.
## [More info in this blog post](https://slint-ui.com/blog/rust-adding-default-cargo-feature.html)
## [More info in this blog post](https://slint.dev/blog/rust-adding-default-cargo-feature.html)
"compat-1-0" = []
## Enable use of the Rust standard library.

View file

@ -12,7 +12,7 @@ The complete Rust documentation for Slint can be viewed online at https://slint.
## Getting Started
The [crate documentation](https://slint-ui.com/docs/rust/slint/) shows how to use this crate.
The [crate documentation](https://slint.dev/docs/rust/slint/) shows how to use this crate.
### Hello World
@ -41,7 +41,7 @@ fn main() {
}
```
The [`slint` crate documentation](https://slint-ui.com/docs/rust/slint/)
The [`slint` crate documentation](https://slint.dev/docs/rust/slint/)
contains more advanced examples and alternative ways to use this crate.
To quickly get started, you can use the [Template Repository](https://github.com/slint-ui/slint-rust-template) with

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
/**

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
#![cfg(doc)]

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
// cSpell: ignore buildrs
@ -9,13 +9,13 @@
This crate is the main entry point for embedding user interfaces designed with
[Slint](https://slint.rs/) in Rust programs.
*/
#![doc = concat!("If you are new to Slint, start with the [Walk-through tutorial](https://slint-ui.com/releases/", env!("CARGO_PKG_VERSION"), "/docs/tutorial/rust)")]
#![doc = concat!("If you are new to Slint, start with the [Walk-through tutorial](https://slint.dev/releases/", env!("CARGO_PKG_VERSION"), "/docs/tutorial/rust)")]
/*! If you are already familiar with Slint, the following topics provide related information.
## Related topics
*/
#![doc = concat!("* [The Slint Language Documentation](https://slint-ui.com/releases/", env!("CARGO_PKG_VERSION"), "/docs/slint)")]
#![doc = concat!("* [The Slint Language Documentation](https://slint.dev/releases/", env!("CARGO_PKG_VERSION"), "/docs/slint)")]
/*! * [Slint on Microcontrollers](docs::mcu)
* [Debugging Techniques](docs::debugging_techniques)
@ -27,7 +27,7 @@ of including them in Rust:
- The `.slint` code is [inline in a macro](#the-slint-code-in-a-macro).
- The `.slint` code in [external files compiled with `build.rs`](#the-slint-code-in-external-files-is-compiled-with-buildrs)
*/
#![doc = concat!(" - The `.slint` code is loaded dynamically at run-time from the file system, by using the [interpreter API](https://slint-ui.com/releases/", env!("CARGO_PKG_VERSION"), "/docs/rust/slint_interpreter/).")]
#![doc = concat!(" - The `.slint` code is loaded dynamically at run-time from the file system, by using the [interpreter API](https://slint.dev/releases/", env!("CARGO_PKG_VERSION"), "/docs/rust/slint_interpreter/).")]
/*!
With the first two methods, the markup code is translated to Rust code and each component is turned into a Rust
@ -57,7 +57,7 @@ fn main() {
### The .slint code in external files is compiled with `build.rs`
When your design becomes bigger in terms of markup code, you may want move it to a dedicated*/
#![doc = concat!("`.slint` file. It's also possible to split a `.slint` file into multiple files using [modules](https://slint-ui.com/releases/", env!("CARGO_PKG_VERSION"), "/docs/slint/src/reference/modules.html).")]
#![doc = concat!("`.slint` file. It's also possible to split a `.slint` file into multiple files using [modules](https://slint.dev/releases/", env!("CARGO_PKG_VERSION"), "/docs/slint/src/reference/modules.html).")]
/*!Use a [build script](https://doc.rust-lang.org/cargo/reference/build-scripts.html) to compile
your main `.slint` file:
@ -232,7 +232,7 @@ struct MyStruct {
## Exported Global singletons
*/
#![doc = concat!("When you export a [global singleton](https://slint-ui.com/releases/", env!("CARGO_PKG_VERSION"), "/docs/slint/src/reference/globals.html) from the main file,")]
#![doc = concat!("When you export a [global singleton](https://slint.dev/releases/", env!("CARGO_PKG_VERSION"), "/docs/slint/src/reference/globals.html) from the main file,")]
/*! it is also generated with the exported name. Like the main component, the generated struct have
inherent method to access the properties and callback:
@ -252,7 +252,7 @@ See the [documentation of the `Global` trait](Global) for an example.
#![cfg_attr(feature = "document-features", doc = document_features::document_features!())]
#![warn(missing_docs)]
#![deny(unsafe_code)]
#![doc(html_logo_url = "https://slint-ui.com/logo/slint-logo-square-light.svg")]
#![doc(html_logo_url = "https://slint.dev/logo/slint-logo-square-light.svg")]
#![cfg_attr(not(feature = "std"), no_std)]
extern crate alloc;

View file

@ -1,6 +1,6 @@
# Slint on Microcontrollers
![](https://slint-ui.com/blog/porting-slint-to-microcontrollers/rp-pico_and_screen.jpg)
![](https://slint.dev/blog/porting-slint-to-microcontrollers/rp-pico_and_screen.jpg)
The following sections explain how to use Slint to develop a UI on a Microcontroller (MCU) in a bare metal environment.
@ -36,7 +36,7 @@ you need to disable the default features.
In the snippet above, three features are selected:
* `compat-1-0`: We select this feature when disabling the default features. For a detailed explanation see our blog post ["Adding default cargo features without breaking Semantic Versioning"](https://slint-ui.com/blog/rust-adding-default-cargo-feature.html).
* `compat-1-0`: We select this feature when disabling the default features. For a detailed explanation see our blog post ["Adding default cargo features without breaking Semantic Versioning"](https://slint.dev/blog/rust-adding-default-cargo-feature.html).
* `unsafe-single-threaded`: Slint internally uses Rust's [`thread_local!`](https://doc.rust-lang.org/std/macro.thread_local.html) macro to store global data.
This macro is only available in the Rust Standard Library (std), but not in bare metal environments. As a fallback, the `unsafe-single-threaded`
feature changes Slint to use unsafe static for storage. This way, you guarantee to use Slint API only from a single thread, and not from interrupt handlers.

View file

@ -1,4 +1,4 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.0 OR LicenseRef-Slint-commercial
//! Module containing the private api that is used by the generated code.

Some files were not shown because too many files have changed in this diff Show more