Skip to content

Commit

Permalink
reuse: remove glob for markdown files
Browse files Browse the repository at this point in the history
Instead, place the copyright and license right into the source.

To satisfy reuse, this also removes the unnecessary MIT.txt
symlinks.
  • Loading branch information
tronical committed Aug 17, 2023
1 parent fc64542 commit 96d7bb1
Show file tree
Hide file tree
Showing 168 changed files with 159 additions and 23 deletions.
15 changes: 4 additions & 11 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,18 @@ Files: .gitattributes .gitignore */.gitignore .dockerignore .prettierignore .pre
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial

Files: *.md api/cpp/docs/*/*.html api/cpp/docs/*/*.css docs/*/*.css docs/*/*.html docs/*/book.toml docs/*/package.json
Files: api/cpp/docs/*/*.html api/cpp/docs/*/*.css docs/*/*.css docs/*/*.html docs/*/book.toml docs/*/package.json
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: MIT

Files: examples/*/LC_MESSAGES/*.mo examples/*/sdkconfig*
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: MIT

Files: helper_crates/vtable/*.md
Files: .github/issue_template.md
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
License: MIT

Files: helper_crates/const-field-offset/*.md
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: MIT or Apache-2.0

Files: api/*/*.json
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
Expand All @@ -51,15 +48,11 @@ Files: editors/sublime/LSP.sublime-settings
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial

Files: editors/tree-sitter-slint/binding.gyp editors/tree-sitter-slint/CONTRIBUTING.md
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial

Files: tools/slintpad/*.html tools/slintpad/styles/*.css tools/slintpad/*.json
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial

Files: editors/vscode/*.json editors/vscode/README.md editors/vscode/css/*.css editors/tree-sitter-slint/corpus/*.txt editors/vscode/static/**/*.html editors/vscode/static/assets/img/bg-dark.svg editors/vscode/static/assets/img/slint-*.svg
Files: editors/vscode/*.json editors/vscode/css/*.css editors/tree-sitter-slint/corpus/*.txt editors/vscode/static/**/*.html editors/vscode/static/assets/img/bg-dark.svg editors/vscode/static/assets/img/slint-*.svg
Copyright: Copyright © SixtyFPS GmbH <info@slint.dev>
License: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Changelog
All notable changes to this project are documented in this file.

Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Contributing

We warmly welcome contributions to the project. Let's discuss ideas or questions
Expand Down
1 change: 1 addition & 0 deletions FAQ.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->

# Frequently Asked Questions: <!-- omit in toc -->

Expand Down
1 change: 1 addition & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Slint License

You can use Slint under ***any*** of the following licenses, at your choice:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial -->
# ![Slint](./logo/slint-logo-full-light.svg#gh-light-mode-only)![Slint](./logo/slint-logo-full-white.svg#gh-dark-mode-only)

<!-- cSpell: ignore ChipTrack Moiré Trolltech valign Woboq -->
Expand Down
1 change: 1 addition & 0 deletions api/cpp/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial -->
# Slint-cpp

## A C++ UI toolkit
Expand Down
1 change: 1 addition & 0 deletions api/cpp/docs/cmake.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
<!-- cSpell: ignore ccmake dslint femtovg skia winit -->

# Installing Or Building With CMake
Expand Down
1 change: 1 addition & 0 deletions api/cpp/docs/generated_code.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Generated code

The Slint compiler called by the build system will generate a header file for the root `.slint`
Expand Down
1 change: 1 addition & 0 deletions api/cpp/docs/getting_started.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Getting Started

Once Slint is built, you can use it in your CMake application or library
Expand Down
1 change: 1 addition & 0 deletions api/cpp/docs/overview.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Overview

The following sections explain how to integrate your `.slint` designs into your
Expand Down
1 change: 1 addition & 0 deletions api/cpp/docs/types.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Type Mappings

The types used for properties in `.slint` design markup each translate to specific types in C++.
Expand Down
1 change: 0 additions & 1 deletion api/cpp/esp-idf/slint/LICENSES/MIT.txt

This file was deleted.

1 change: 1 addition & 0 deletions api/cpp/esp-idf/slint/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial -->
# Slint

[![Component Registry](https://components.espressif.com/components/slint/slint/badge.svg)](https://components.espressif.com/components/slint/slint)
Expand Down
1 change: 1 addition & 0 deletions api/cpp/tests/multiple-includes/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial -->
This is a test making sure that the header can be included in several file without causing multiple definitions
1 change: 1 addition & 0 deletions api/napi/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial -->
# Slint-napi (pre-Alpha)

This is a restart of `Slint-node` based on [napi-rs](https://github.com/napi-rs/napi-rs). The current state is `pre-Alpha` what means it is not yet ready for testing and use.
Expand Down
1 change: 1 addition & 0 deletions api/node/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial -->
# Slint-node (Beta)

[![npm](https://img.shields.io/npm/v/slint-ui)](https://www.npmjs.com/package/slint-ui)
Expand Down
1 change: 1 addition & 0 deletions api/node/cover.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Slint-node (Beta)

[![npm](https://img.shields.io/npm/v/slint-ui)](https://www.npmjs.com/package/slint-ui)
Expand Down
1 change: 0 additions & 1 deletion api/rs/macros/LICENSES/MIT.txt

This file was deleted.

1 change: 1 addition & 0 deletions api/rs/macros/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial -->
**NOTE**: This library is an **internal** crate for the [Slint project](https://slint.rs).
This crate should **not be used directly** by applications using Slint.
You should use the `slint` crate instead.
Expand Down
1 change: 1 addition & 0 deletions api/rs/slint/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial -->
# Slint

[![Crates.io](https://img.shields.io/crates/v/slint)](https://crates.io/crates/slint)
Expand Down
1 change: 1 addition & 0 deletions api/rs/slint/mcu.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Slint on Microcontrollers

![](https://slint.dev/blog/porting-slint-to-microcontrollers/rp-pico_and_screen.jpg)
Expand Down
1 change: 1 addition & 0 deletions docs/building.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Slint Build Guide

This page explains how to build and test Slint.
Expand Down
1 change: 1 addition & 0 deletions docs/development.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Slint development guide

The build instructions are in the [building.md](./building.md) file.
Expand Down
1 change: 1 addition & 0 deletions docs/install_qt.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Install Qt

TLDR; If you are redirected to this document because of a link in the warning that Qt wasn't found and
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/advanced/debugging_techniques.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Debugging Techniques

On this page we're presenting different techniques and tools we've built into Slint that may help you track down different issues you may be running into, during the design and development.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/advanced/style.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Selecting a Widget Style

The widget style is selected at compile time of your project. The details depend on which programming
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/introduction/supported_platforms.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Supported Platforms

Slint runs on many desktop and embedded platforms and micro-controllers.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/builtins/callbacks.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Builtin Callbacks

## `init()`
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/builtins/elements.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Builtin Elements

## Common properties
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/builtins/functions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Builtin Functions

## `animation-tick() -> duration`
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/builtins/globals.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Builtin Global Singletons

## `TextInputInterface`
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/builtins/namespaces.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Builtin Namespaces

The following namespaces provide access to common constants such as special keys or named colors.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/concepts/container.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Container Components

When creating components, it's sometimes useful to influence where child
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/concepts/file.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# The `.slint` File

User interfaces are written in the Slint language and saved in files with the `.slint` extension.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/concepts/focus.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Focus Handling

Certain elements such as `TextInput` accept not only input from the mouse/finger but
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/concepts/fonts.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Font Handling

Elements such as `Text` and `TextInput` can render text and allow customizing the appearance of the text through
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/concepts/layouting.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Positioning and Layout of Elements

All visual elements are shown in a window. The `x` and `y` properties store
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/concepts/purity.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Purity

Slint's property evaluation is lazy and "reactive". Property
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/concepts/translations.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Translations

Use Slint's translation infrastructure to make your application available in different languages.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/animations.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Animations

Declare animations for properties with the `animate` keyword like this:
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/callbacks.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Callbacks

Components may declare callbacks, that communicate changes of state
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Comments

C-style comments are supported:
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/conditions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Conditional Element

The `if` construct instantiates an element only if a given condition is true.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/expressions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Expressions

Expressions are a powerful way to declare relationships and connections in your
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/functions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Functions

Declare helper functions with the `function` keyword.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/globals.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Global Singletons

Declare a global singleton with `global Name { /* .. properties or callbacks .. */ }` to
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/identifiers.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Identifiers

Identifiers can be composed of letter (`a-zA-Z`), of numbers (`0-9`), or of the underscore (`_`) or the dash (`-`).
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/legacy_syntax.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Legacy Syntax

To maintain compatibility with earlier version of Slint, the pre-1.0 syntax that declared
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/modules.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Modules

Components declared in a `.slint` file can be used as elements in other
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/properties.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Properties

All elements have properties. Built-in elements come with common properties such
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/repetitions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Repetition

Use the `for`-`in` syntax to create an element multiple times.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/statements.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Statements

Callback handlers may contain complex statements:
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/states.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# States

The `states` statement allows to declare states and set properties of multiple elements in one go:
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/syntax/types.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
# Types

All properties in Slint have a type. Slint knows these basic types:
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/aboutslint.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `AboutSlint`

This element displays a "Made with Slint" badge.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/button.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `Button`

A simple button. Common types of buttons can also be created with [`StandardButton`](#standardbutton).
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/checkbox.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `CheckBox`

Use a `CheckBox` to let the user select or deselect values, for example in a list with multiple options. Consider using a `Switch` element instead if the action resembles more something that's turned on or off.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/combobox.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `ComboBox`

A button that, when clicked, opens a popup to select a value.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/gridbox.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `GridBox`

A `GridBox` is a [`GridLayout`](../builtins/elements.md#gridlayout) where the spacing and padding values
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/horizontalbox.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `HorizontalBox`

A `HorizontalBox` is a [`HorizontalLayout`](../builtins/elements.md#verticallayout-and-horizontallayout) where the spacing and padding values
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/lineedit.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `LineEdit`

A widget used to enter a single line of text. See [`TextEdit`](#textedit) for
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/listview.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `ListView`

A ListView is like a Scrollview but it should have a `for` element, and the content are
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/progressindicator.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `ProgressIndicator`

The `ProgressIndicator` informs the user about the status of an on-going operation, such as loading data from the network.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/scrollview.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `ScrollView`

A Scrollview contains a viewport that is bigger than the view and can be
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/slider.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `Slider`

### Properties
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/spinbox.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `SpinBox`

### Properties
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/standardbutton.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `StandardButton`

The StandardButton looks like a button, but instead of customizing with `text` and `icon`,
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/standardlistview.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `StandardListView`

Like ListView, but with a default delegate, and a `model` property which is a model of type
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/standardtableview.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `StandardTableView`

The `StandardTableView` represents a table of data with columns and rows. Cells
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/switch.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `Switch`

A `Switch` is a representation of a physical switch that allows users to turn things on or off. Consider using a `CheckBox` instead if you want the user to select or deselect values, for example in a list with multiple options.
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/tabwidget.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `TabWidget`

`TabWidget` is a container for a set of tabs. It can only have `Tab` elements as children and only one tab will be visible at
Expand Down
1 change: 1 addition & 0 deletions docs/reference/src/language/widgets/textedit.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
## `TextEdit`

Similar to [`LineEdit`](#lineedit)`, but can be used to enter several lines of text
Expand Down
Loading

0 comments on commit 96d7bb1

Please sign in to comment.