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,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