Simon Hausmann
e3ce136106
Provide a modern introduction to the language reference
2021-10-13 10:38:05 +02:00
Olivier Goffart
ae5f19e60f
Fix typo
2021-10-13 09:44:56 +02:00
Simon Hausmann
f7193d2c53
Mention DYLD_FRAMEWORK_PATH
in the Qt install docs
...
cc #566
2021-10-13 09:14:59 +02:00
Simon Hausmann
db60a5c4e1
Provide a slightly simpler language reference intro sentence
2021-10-12 10:30:46 +02:00
Olivier Goffart
f0f264a94a
Document the ternary operator
...
CC: https://github.com/sixtyfpsui/sixtyfps/discussions/562
2021-10-11 10:49:45 +02:00
Robert Broketa
c3c7765f80
Add no-frame
property for a borderless/frameless window
2021-10-11 10:21:21 +02:00
Olivier Goffart
98e1bb19db
Document the current-index property of the TabWidget
2021-10-07 12:21:11 +02:00
ogoffart
77fcd5221b
Bump version number to 0.1.4
2021-10-07 09:36:43 +00:00
Olivier Goffart
aad9921ed2
Revert "Update link of the interpreter in the documentation"
...
This reverts commit 2fffeba7cb
.
2021-10-06 15:55:05 +02:00
Olivier Goffart
2fffeba7cb
Update link of the interpreter in the documentation
2021-10-06 14:55:32 +02:00
Olivier Goffart
4844450d01
Update the version in docs
2021-10-06 14:54:22 +02:00
Simon Hausmann
c23f98968e
Add missing newline for doctests
2021-10-05 23:16:46 +02:00
Simon Hausmann
4a26faef9a
Add AboutSixtyFPS element
2021-10-05 23:16:46 +02:00
ogoffart
8b9717633e
Bump version number to 0.1.3
2021-10-05 10:31:45 +00:00
Olivier Goffart
ae3e1b4680
Allow normal Element to be in the Dialog's button row with dialog-button-role
2021-10-05 09:46:20 +02:00
Olivier Goffart
2716e4b4dd
TouchArea: add the pointer-event
callback
...
... instead of `pressed-changed`
This allows to see what mouse button was pressed.
Closes #535
2021-10-04 14:39:49 +02:00
Olivier Goffart
0aecece4ef
Add moved
and pressed-changed
callback to TouchArea
2021-10-01 14:53:25 +02:00
Olivier Goffart
7db9f3dfa9
Dialog: automatically add clicked callback for the standard button
...
And make the viewer listen to them and set them to automatically close dialogs
2021-09-30 10:21:13 +02:00
Olivier Goffart
9936dfc0eb
Apply suggestions from code review
...
Co-authored-by: Simon Hausmann <simon.hausmann@sixtyfps.io>
2021-09-29 16:25:44 +02:00
Olivier Goffart
7f05bfa309
Add the Dialog element
2021-09-29 16:25:44 +02:00
Olivier Goffart
671df0f24f
New widget: StandardButton
2021-09-29 16:25:44 +02:00
Olivier Goffart
f2774a41a5
Document logical and comparison operators
2021-09-24 09:43:23 +02:00
Olivier Goffart
28932a32a5
Mention the bool
type in the docs
2021-09-24 09:26:00 +02:00
Simon Hausmann
562842f19e
Bump minimum required CMake version from 3.16 to 3.19
...
The upcoming re-organization of the C++ header generation requires the
use of the CORROSION_ENVIRONMENT_VARIABLES target property, which in
turn requires CMake >= 3.19.
2021-09-18 07:32:53 +02:00
Jocelyn Turcotte
8558c1976e
Docs: Fix TouchArea's pressed-y
2021-09-11 17:20:18 +02:00
Olivier Goffart
ea104ed203
Revert "Change the version number in docs-preview.html"
...
This reverts commit 8fee7d6486
.
Revert now that the release is done
2021-09-09 10:45:13 +02:00
Olivier Goffart
8fee7d6486
Change the version number in docs-preview.html
2021-09-09 08:55:51 +02:00
Olivier Goffart
c56b965672
Update version number in docs
2021-09-09 08:54:19 +02:00
Olivier Goffart
8d15bc1427
Parser: make the parentheses around if
element optional
...
closes #466
2021-09-07 10:57:08 +02:00
Olivier Goffart
cbf22d494e
TextEdit
2021-09-06 21:52:12 +02:00
Ryan Van Gilder
80b230bdf1
Add image-rendering documentation
2021-09-06 10:03:51 +02:00
ogoffart
e54e03148f
Bump version number to 0.1.2
2021-09-04 10:08:51 +02:00
Olivier Goffart
4f1eacd6d8
LineEdit is now able to scroll to keep the cursor visible
2021-09-02 17:20:44 +02:00
Olivier Goffart
b2392c25c7
Basic support for Multi-line TextInput
2021-09-01 16:52:37 +02:00
Simon Hausmann
26a63fcf22
Change example docs of global exports to use a re-export
...
That's the more typical use-case to also deal with name spaces, where
this is done at import time.
The modified test case tries to ensure that this also works.
2021-08-27 13:38:57 +02:00
Simon Hausmann
85259b21b6
Provide an example of global exporting in the language reference
2021-08-27 13:36:48 +02:00
Olivier Goffart
b07d52cd23
Support aliases to callbacks in globals
2021-08-24 12:36:16 +02:00
Simon Hausmann
cdca921469
Apply the default text color from the style for the color
of Text
and TextInput
elements
...
We apply a default window background from the palette to all `Window`
elements, and likewise we need to apply the default text color to Text
elements to ensure a readable contrast.
This also fixes the default text color when using Qt/native style in
dark mode on macOS.
2021-08-23 15:03:18 +02:00
Marco Grassi
da1879f049
add missing opening html tag
2021-08-19 14:54:53 +02:00
Olivier Goffart
daddce2b5d
Revert "Change the version number in docs-preview.html"
...
This reverts commit 84298fd95a
.
The release is done, master branch now points to snapshots again
2021-08-19 10:47:13 +02:00
Olivier Goffart
84298fd95a
Change the version number in docs-preview.html
2021-08-19 09:57:13 +02:00
Olivier Goffart
7c3555e280
Update the version number that shows in the documentation
...
It does not update the version number in the README because
these are either not part of the versionized documentation
or the demantic versioning make it work anyway
2021-08-19 09:57:13 +02:00
Tobias Hunger
c7d27d5ace
Janitor: Fix clippy::redundant_clone
2021-08-18 00:24:51 +02:00
Tobias Hunger
aea4ecca99
Apply pre-commit hooks to all files
2021-08-17 22:38:16 +02:00
Olivier Goffart
c296a00286
Preview in documentation: make sure the preview is not duplicated for C++
2021-08-13 13:27:03 +02:00
Olivier Goffart
f6e2b97aab
Prospective fix for the double preview in the C++ docs
2021-08-12 20:37:31 +02:00
Olivier Goffart
ff441d3db6
Improve a bit the preview in the documentation with nightly rustdoc
...
The example are in a layout so "float:right" doesn't have an effect in that div
Instread, just put the preview inside the example.
This also remove the "Preview:" text
2021-08-12 13:57:36 +02:00
Olivier Goffart
bdeb64c518
Fix documentation preview and hightlighting of .60 code with nightly rustdoc
...
rustdoc changed the html generated. The code used to be in a `<code>`, now it is
in a `<pre>`
So this should wotk with both stable rust and nightly rust
2021-08-11 18:24:44 +02:00
Olivier Goffart
3b6b4442dd
Apply suggestions from code review
...
Co-authored-by: Simon Hausmann <simon.hausmann@sixtyfps.io>
2021-08-10 22:21:01 +02:00
Olivier Goffart
8b2d1f1d8f
Docs: replace underscores by dashes
2021-08-10 22:21:01 +02:00