Commit graph

71 commits

Author SHA1 Message Date
Simon Hausmann
35c972c227
Add example of rendering a Bevy scene into Slint (#8380)
Some checks are pending
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, beta) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, stable) (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.82) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / python_test (windows-2022) (push) Blocked by required conditions
CI / cpp_test_driver (macos-13) (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / mcu-embassy (push) Blocked by required conditions
CI / ffi_32bit_build (push) Blocked by required conditions
CI / docs (push) Blocked by required conditions
CI / wasm (push) Blocked by required conditions
CI / wasm_demo (push) Blocked by required conditions
CI / tree-sitter (push) Blocked by required conditions
CI / updater_test (0.3.0) (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
2025-05-19 15:25:40 +02:00
Olivier Goffart
3e94bd2167 Janitor: Remove trailing whitespaces from all files
`git grep -I -l -O'sed -i "s/[[:space:]]*$//"' -e ''`
2025-01-10 13:23:22 +01:00
Nigel Breslaw
92534a8a27
1.9 Organise docs folder. (#7005)
Move astro files to docs/astro
2024-12-05 15:40:04 +02:00
Nigel Breslaw
4c1ececc67
1.9 docs: Flesh out docs guide 2024-12-05 00:19:37 +02:00
Simon Hausmann
65fb9d84b4 Correct and simplify Node demo/examples instructions 2024-11-14 14:10:02 +01:00
Simon Hausmann
e01a121165 Move weather demo to demos/ sub-folder 2024-10-26 09:39:52 +02:00
Simon Hausmann
a98d4709be Move printer demo and energy-monitor into new top-level demos/ folder
These are showing off use-cases for Slint, but they're not examples showing individual Slint features.

Also removed the old printerdemo while at it.
2024-10-25 12:09:32 +02:00
Nigel Breslaw
048c0eaf08
Update example readmes
Tidy up the main examples/README.md.
All the main examples now live in a table with a thumbnail and description.
Then each project has it's own README.md with more details.
2024-08-13 11:35:39 +02:00
Simon Hausmann
b1dab29366 Fix Node.js example instructions 2024-08-01 13:37:20 +02:00
Justyna Hudziak
33c84b67b4 weather-demo: initial commit 2024-07-22 13:34:35 +02:00
Florian Blasius
b7fb5bf718 Fix code link for todo-mvc on readme 2024-06-14 07:42:46 +02:00
Florian Blasius
a00e3361ac Two small fixes to todo-mvc example 2024-06-13 13:52:44 +02:00
Florian Blasius
b76f16bd3f Fix layout in README.md for examples 2024-06-13 13:08:27 +02:00
Florian Blasius
0870585c32
Added TodoMVC example (Rust mock version) (#5396)
* Added TodoMVC example (Rust mock version)

* TodoMVC: use visible-width instead of width for selection items

and format

* TodoMVC: layout fix for qt checkbox

* TdodoMVC: fix license issues in the example

* Update examples/todo_mvc/ui/views/task_list_view.slint

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* TdodoMVC: fix license issues in the example

* TodoMVC: code review changes

* TodoMVC: code review changes

* Update .reuse/dep5

Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>

* Update examples/todo_mvc/rust/src/adapters/navigation_adapter.rs

Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>

* Update examples/todo_mvc/rust/src/adapters/navigation_adapter.rs

Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>

* TodoMVC: refactor task list model (code review feedback)

* TodoMVC: code review feedback

* Update examples/todo-mvc/rust/src/mvc/controllers/task_list_controller.rs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* TodoMVC: add missing link in dep5

* dep5 fix

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-06-13 13:05:44 +02:00
Olivier Goffart
80868d14c8
Map example. Loading tiles from OpenStreetMap
* Map example. Loading tiles from OpenStreetMap

This example shows how to tiled rendering and async image loading
2024-06-12 12:16:59 +02:00
Chris Chinchilla
7afa34a7e1
Rename tutorial to quickstart (#4941) 2024-04-04 13:26:24 +02:00
Florian Blasius
b7b0266454
added image-filter example typescript port (#3907)
* added image-filter example typescript port

* Update examples/imagefilter/node/main.ts

Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>

* Update examples/imagefilter/node/main.ts

Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>

* Update examples/imagefilter/node/package.json

Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>

* Update examples/imagefilter/node/package.json

Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>

* Update examples/imagefilter/node/tsconfig.json

Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>

---------

Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2023-11-13 15:42:37 +01:00
Olivier Goffart
b7f57eba1e Fix readme of opengl_texture example
Fix typos + add screenshot
2023-09-15 06:49:50 +02:00
Tobias Hunger
0139eea4f9 xtask: Fix up license headers
* Keep project related .md files triple licensed as the rest of the
  crate
* Make vtable MIT OR Apache 2.0 (as suggested by @ogoffart)
2023-08-17 08:55:28 +02:00
Simon Hausmann
96d7bb132c reuse: remove glob for markdown files
Instead, place the copyright and license right into the source.

To satisfy reuse, this also removes the unnecessary MIT.txt
symlinks.
2023-08-17 08:55:28 +02:00
Olivier Goffart
11dea135f7 Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
Simon Hausmann
59a45c6268
Fix markdown tables 2023-06-01 17:40:54 +02:00
Simon Hausmann
ced5803026 Add an example that shows how to combine ffmpeg with Slint
This is a minimal example, that can be used as basis to implement
hardware acceleration for video playback later.
2023-06-01 17:36:52 +02:00
Simon Hausmann
eadfec64a3 Add support for importing OpenGL textures into Slint
This is the initial API for Slint to borrow OpenGL textures from the
application for rendering.
2023-06-01 15:56:55 +02:00
Simon Hausmann
e2180ea0f9 SixtyFPS -> Slint 2023-05-23 17:14:42 +02:00
Olivier Goffart
1425c1f5d3 Update URL to 7guis 2023-04-30 11:41:49 +02:00
Nuno Mendes
8a9ab3e295 fix(readme): table of virtual keyboard example 2023-04-22 07:18:08 +02:00
Simon Hausmann
4d502a9f96 Add a C++ version of the Virtual Keyboard example 2023-04-14 11:39:02 +02:00
Florian Blasius
bcb9d1ef83
virtual keyboard example (#2490)
* Update examples/virtual_keyboard/rust/Cargo.toml

Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>

* Update internal/core/window.rs

Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>

* Update internal/core/api.rs

Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>

* Update internal/core/api.rs

Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>

* Update internal/core/api.rs

Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>

* Update internal/core/api.rs

Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>

* code review fixes

---------

Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
2023-04-13 08:36:40 +02:00
Simon Hausmann
d5bd87862b Add the energy monitor to the examples README 2023-03-29 21:12:41 +02:00
Simon Hausmann
bbdc8955cb doc: Fix path to slide puzzle main.rs 2023-03-29 17:54:18 +02:00
Simon Hausmann
5c3aa0f46d Rename "Online Editor" to "SlintPad" 2023-03-29 08:57:40 +02:00
Florian Blasius
b87705aa56
Add mcu support to the carousel example (#1744)
The carousel example can be now also run on the supported mcu devices
2022-10-19 14:54:39 +02:00
Florian Blasius
e5bf4c05de
Add example for custom carousel widget (#1739)
Add a new example that contains a custom carousel widget
2022-10-18 14:01:17 +02:00
Lukas Jung
7d5998cb81
Add 7GUIs Readme (#1266) 2022-05-19 14:27:52 +02:00
Olivier Goffart
cd429c5718 Update cargo-ui URL 2022-02-10 20:37:18 +01:00
Olivier Goffart
0eba0e3e4a Leftover .60 2022-02-09 13:37:46 +01:00
Olivier Goffart
1425ef63de Change the Url from sixtyfps.io to slint-ui.com
Also, change the URL of the logo in the docs
2022-02-08 08:52:46 +01:00
Olivier Goffart
00ff5e21a7 Update git repository URL 2022-02-08 08:26:21 +01:00
Simon Hausmann
125b90a64b Merge remote-tracking branch 'origin/master' into wip/rename
Conflicts:
	api/cpp/cbindgen.rs
	api/cpp/include/slint.h
	examples/CMakeLists.txt
	examples/imagefilter/Cargo.toml
	examples/plotter/main.rs
	internal/backends/mcu/lib.rs
2022-02-04 16:47:20 +01:00
Simon Hausmann
0e6b4080d6 Add a Rust example that demonstrates GL rendering under a scene 2022-02-04 15:41:53 +01:00
Olivier Goffart
3594c20153 Replace SixtyFPS in many locations (Uppercase) 2022-02-02 15:49:18 +01:00
Olivier Goffart
69908a32b6 Rename sixtyfps-viewer -> slint-viewer 2022-02-02 13:19:40 +01:00
Olivier Goffart
03534039d6 Replace more .60 by .slint
Mainly an automated change with
    git grep -O"sed -i 's/\.60/.slint/g'" -w "\.60"

and some manual checks
2022-02-02 10:12:31 +01:00
Tobias Hunger
842f75e653 [reorg]: Move api/sixtyfps-rs/sixtyfps-* into api/rs 2022-01-31 18:24:33 +01:00
Olivier Goffart
8fec471785
Add screenshot of CargoUI in the examples/README 2021-10-21 17:53:06 +02:00
Olivier Goffart
4d496c2c44 Fix a table in the example README 2021-08-13 11:48:12 +02:00
Simon Hausmann
e24ff2bff4 Add the plotter wasm build to the example README 2021-08-11 17:23:39 +02:00
Olivier Goffart
b62d600a3a Make the imagefilter demo self-contained 2021-08-11 15:44:36 +02:00
Simon Hausmann
8879af374a Add the plotter example to the README
The screenshot link is broken right now, but that's due to the website.

Hopefully in the future we can add a wasm version.
2021-08-10 22:45:32 +02:00