Commit graph

42 commits

Author SHA1 Message Date
Arnold Loubriat
d790150735 Use AccessibleRole::ListItem inside examples 2024-09-16 09:15:39 +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
Olivier Goffart
9f6db89770 Examples: port simple_input.sh to the new syntax
As discussed in https://github.com/slint-ui/slint/discussions/5383
(and #5342)
2024-06-11 09:06:07 +02:00
Florian Blasius
4ec63a9c71
cleanup examples according to upcoming code guidelines (#3809) 2023-11-02 11:04:40 +01:00
Tobias Hunger
b12575a4c4 janitor: Go over our spell checking setup
* Extend the cspell word list
* Remove those extensions from individual source files
* white-list licenses and such as we should not meddle with those
* Fix spelling
2023-10-16 09:01:51 +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
Aurindam Jana
e4338300de
Change license for examples to MIT (#2887) 2023-06-15 11:23:17 +02:00
Simon Hausmann
ac75cb02f9 Fix warning about implicit export 2023-01-23 16:22:04 +01:00
Florian Blasius
520df46998
Update examples to new syntax (#2067)
* run slint-updater on examples
* manual syntax updates
2023-01-16 12:11:25 +00:00
Olivier Goffart
91dabcbddf Use functions in our examples, instead of callback 2022-12-06 14:56:25 +01:00
Christoph Herzog
4304a27a12 Fix typo in bash example README 2022-05-07 16:41:01 +02:00
Tobias Hunger
4230ac2572
Update copyright information to reflect name change
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00
Olivier Goffart
d4c1130130 Rename more occurences 2022-02-02 17:19:31 +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
0c0a783095 Rename all our .60 files to .slint 2022-02-02 10:05:45 +01:00
Olivier Goffart
0308f86cd4 Rename sixtyfps_widgets.60 to std-widgets.slint 2022-02-01 18:58:54 +01:00
Tobias Hunger
0063476aff Update license information
Use the reuse tool to get a better grip on licenses used in sixtyfps.
Fix a couple of licenses along the way.

* Uses creative commons for our own logo (commercial use!)
* Fixes some license information found in README files and documents
  them with proper .license files.
* Document Apache/MIT for helper_crates/const-field-offset which matches
  what its documentaion site says it uses.
* Add a list of licenses that apply to crates we publish and the tooling
  we have.

This patch only adds static information and does not contain any tooling
support.
2022-01-20 14:45:02 +01:00
Tobias Hunger
bfca0e3573 Mass update copyright messages to be more REUSE compliant 2021-12-22 10:06:12 +01:00
Olivier Goffart
f8c00b19b5 Add link to the examples from the sixtyfps-viewer README 2021-10-21 18:03:56 +02:00
Simon Hausmann
912913d88d Fix sysinfo_macos.sh with mount points that have spaces in their path 2021-10-12 14:00:18 +02:00
Simon Hausmann
15f2b19a95 Reorder sysinfo.60 once more
... to match the blog :-)
2021-10-12 11:35:38 +02:00
Simon Hausmann
64ec25f8e3 Clean up sysinfo.60 a little
Re-order the first properties and bindings for improved readability
2021-10-12 11:26:35 +02:00
Olivier Goffart
396820243d Fix typo and size in the sysinfo script
(The default size was too small to see the picture on my machine because of
the long CPU string)
2021-10-08 19:22:30 +02:00
Simon Hausmann
39a713c2e7 Update examples/bash/README.md
Mention the sysinfo scripts

Co-authored-by: Olivier Goffart <ogoffart@sixtyfps.io>
2021-10-08 09:33:09 +02:00
Simon Hausmann
0c4da4809f Split out the memory into a separate tab
and add some more information about memory and swap
2021-10-08 09:33:09 +02:00
Simon Hausmann
bcf4f2b3de Add an icon to the general tab 2021-10-08 09:33:09 +02:00
Olivier Goffart
7c813a70fd sysinfo example: Improve the disk use section 2021-10-07 11:27:10 +02:00
Olivier Goffart
19200fefac sysinfo script: escape strings 2021-10-07 11:24:07 +02:00
Simon Hausmann
434f13a741 Use "close" instead of "ok" in the sysinfo dialog
Because that's what the button does, there's no need to "okay" :)
2021-10-07 11:09:55 +02:00
Simon Hausmann
35907dd098 Fix typo 2021-10-07 11:04:49 +02:00
Simon Hausmann
0bfb0fce4e Fix capitalization of simple input dialog 2021-10-06 16:15:32 +02:00
Simon Hausmann
301f142001 Add missing colon for simple input dialog eaxmple 2021-10-06 15:24:48 +02:00
Simon Hausmann
fcf55084ab Show the OS name in the sysinfo example 2021-10-04 16:47:28 +02:00
Simon Hausmann
02e01ba04f Show host uptime information 2021-10-04 16:38:18 +02:00
Simon Hausmann
f0fc877f4e Combine the CPU and Mem tab into a General one 2021-10-04 16:38:18 +02:00
Simon Hausmann
9b5e05e41b Provide a macOS version of the sysinfo bash script 2021-10-04 16:38:18 +02:00
Olivier Goffart
aef4b024b4 sysinfo_linux.sh: WIP to show the partitions 2021-10-04 16:38:18 +02:00
Simon Hausmann
e464b473d6 Initial version of a shell script that uses the json mode to show system info 2021-10-04 16:38:18 +02:00
Olivier Goffart
672c95db42 Add an example using bash and jq 2021-09-30 17:51:14 +02:00