Commit graph

767 commits

Author SHA1 Message Date
Simon Hausmann
d61a929e34 Move widgets out of builtins/ and into its own section under the language reference 2023-08-15 12:04:43 +02:00
Simon Hausmann
2f66331b2b doc: re-order language reference
Move builtins to after the syntax, so that it's

- intro
- concepts
- syntax
- builtins
2023-08-15 12:04:43 +02:00
Simon Hausmann
b775ec45af Move widget style selection under advanced topics 2023-08-15 10:43:49 +02:00
Simon Hausmann
5058b80cd6 Rename reference/src/language/reference to reference/src/language/syntax
This is the reference about the syntax, not a reference in a reference :)
2023-08-15 10:43:49 +02:00
Simon Hausmann
6412c2d8aa Improve wording of getting started
Without the language introduction, this needs a little clarification.
2023-08-15 10:43:49 +02:00
Simon Hausmann
18031c7a43 Move "Getting Started" into the Introduction section 2023-08-15 10:43:49 +02:00
Simon Hausmann
bf7e7e7323 Move debugging techniques under advanced topics in the Slint reference 2023-08-15 10:43:49 +02:00
Simon Hausmann
870e0e541d Restructure the Slint reference documentation
- Move the language reference into a sub-section of its own
- Made Reciples & Examples a top-level section

This paves the way for adding more top-level sections, such as advanced topics (with debugging techniques), or the list of supported
platforms.
2023-08-15 10:43:49 +02:00
Kavindra Palaraja
f8e9d62379 Change "Slint design markup language" to "Slint language" to make it clearer and catchier. 2023-08-09 14:13:51 +02:00
Simon Hausmann
a7cb1cfed6 doc: Add links to VS Code and our extension 2023-08-08 17:54:43 +02:00
darknight
37488f015d Refactoring: define macro rules to group builtin structs
apply new macro for struct declaration, type register,
doc generation, cpp header generation, struct-value conversion.
2023-08-03 11:01:18 +02:00
Olivier Goffart
a29123a498 Remove invalid comments seen in the code review 2023-07-27 12:04:16 +02:00
Tobias Hunger
1fb9b6de41 docs: Sort type tables 2023-07-27 12:04:16 +02:00
Tobias Hunger
2840886d28 Add component-factory type to Slint language
Add a type "component-factory" to the Slint language.
2023-07-27 12:04:16 +02:00
Florian Blasius
297b55dbdd
Added item-pointer-event to StdListView (#3165) 2023-07-26 14:43:55 +02:00
ogoffart
aebaa7d6c9 Bump version number to 1.2.0 2023-07-25 10:44:53 +00:00
Florian Blasius
d65c8a1774
Added current-item-changed to StdListView and current-row-change to StdTableView (#3135) 2023-07-23 08:42:28 +02:00
Aleš Katona
44fb865ad4
add row-pointer-event callback to tableview (#3082) 2023-07-19 08:34:24 +02:00
Florian Blasius
0b867f4564 Documented SpinBox edited callback 2023-07-18 09:49:05 +02:00
Olivier Goffart
a0acee2e4b
Document the issue triaging and labels (#3094) 2023-07-17 20:18:21 +02:00
Olivier Goffart
967a57e430 Revert "Prepare for release"
This reverts commit cbc6cfed5b.
2023-07-10 11:10:10 +02:00
Olivier Goffart
cbc6cfed5b Prepare for release 2023-07-10 10:30:06 +02:00
Olivier Goffart
eb257774e8
Add modifiers to PointerEvent
* Add modifiers to PointerEvent

Closes #2686
2023-07-06 09:54:43 +02:00
Florian Blasius
496ca987b9
Added splitter to responsive recipe (#3040) 2023-07-04 16:06:29 +02:00
Simon Hausmann
14a5cf57e8 doc: Remove translations from the recipes
This is built into Slint now.
2023-06-30 13:31:07 +02:00
Olivier Goffart
e836e42997 Docs: don't commit the generated enums.md to the repo
Just generate it as we build the docs
2023-06-30 09:55:35 +02:00
it-a-me
1c263997df fixed grammar and spelling of development.md 2023-06-30 08:01:42 +02:00
Olivier Goffart
7a88dba2e7 Add clear-selection() to all our input fields 2023-06-28 17:07:55 +02:00
Olivier Goffart
31b3dc21c8 Documentation: document default values
As discussed in https://github.com/slint-ui/slint/discussions/2966
2023-06-27 12:29:53 +02:00
Simon Hausmann
bcca47615b doc: Fix broken grammar
"Annotate custom the properties" -> "Annotate extra properties"

(extra instead of custom because that's how we introduced them earlier)
2023-06-27 11:00:01 +02:00
Simon Hausmann
246541f44a Prospective fix for pipenv errors about invalid specifiers
PEP 508 requires a comparator for version_one, so specify some.
2023-06-27 10:13:39 +02:00
Simon Hausmann
ab4c8699ae doc: Fix example of ProgressIndicator
Use 50% instead of 50 for the property that has a value between 0 and 1...
2023-06-26 16:52:41 +02:00
ogoffart
c8c9496722 Bump version number to 1.1.1 2023-06-26 12:50:02 +00:00
Olivier Goffart
e1c651d5df Revert "Prepare for release by changing the URL in slint-docs-preview.html"
This reverts commit b1a01fb05a.

Release is done
2023-06-26 14:47:55 +02:00
Olivier Goffart
b1a01fb05a Prepare for release by changing the URL in slint-docs-preview.html
Note that the Cargo.lock which is usually part of this commit was done
in a previsous commit
2023-06-26 12:42:11 +02:00
runiq
65712e89ae Fix some links in Rust tutorial 2023-06-23 11:03:57 +02:00
Simon Hausmann
a259095353 Attempt at improving the preview of the GroupBox widget example
Put some real widget into it, so that it becomes visually clearer in the
preview that this is about grouping widgets - even if the fluent design
that's used in the preview has no frame around it.
2023-06-21 11:57:37 +02:00
Simon Hausmann
ab0e38c76d
Merge absolute-x and absolute-y "virtual" properties into absolute-position (#2942)
The type of thep property is `Point`, which existed before. It was
mapped to `slint::private_unstable_api::re_exports::Point` (euclid) and
is now mapped to slint::LogicalPosition (also in C++).
2023-06-21 08:17:57 +02:00
Florian Blasius
2656dfad7d
Refactor ProgressIndicator api according to api review. (#2937)
* Refactor ProgressIndicator api according to api review.

* Update docs/language/src/builtins/widgets.md

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

* Capping progress also for native.

---------

Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
2023-06-20 12:27:48 +02:00
Aurindam Jana
83f789120b Adapt docs front-page to new web design
https://github.com/slint-ui/slint/issues/2922
2023-06-20 10:57:03 +02:00
Simon Hausmann
533046ea06
Separate GroupBox and GridBox (#2927)
Fixes #2901
2023-06-19 22:47:32 +02:00
Simon Hausmann
9103b9172e Various edits to the translations conceptual docs 2023-06-18 20:14:59 +02:00
Olivier Goffart
11dea135f7 Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
Tobias Hunger
24c822dd60 xtask: Make docs MIT license 2023-06-16 09:14:20 +02:00
Tobias Hunger
04d1229685 Fix licnese information using xtask 2023-06-16 09:14:20 +02:00
ogoffart
641cab0e75 Bump version number to 1.1.0 2023-06-15 16:01:28 +00:00
Aurindam Jana
789cb3b735
Set MIT license to snippets under doc (#2891) 2023-06-15 11:21:16 +02:00
Simon Hausmann
401a6dda4d
Fix preview in SlintPad and VS code web extension (#2871)
The interpreter now creates the window typically in show(), so similar
to commit a8fcb5acd6 make show() return a
promise and invoke show() from within the event loop.

Amends d98c6773e1
2023-06-13 16:29:43 +02:00
Olivier Goffart
72de76b71a Documentation for enums 2023-06-12 13:02:14 +02:00
Olivier Goffart
d8b0737b1d Translations: disable gettext by default for C++ and the viewer
Can cause problem when compiling on windows or mac
2023-06-08 16:56:10 +02:00