Olivier Goffart
2b68995e1c
printerdemo_mcu: prettyfiy the checkbox and make the text clickable
2022-06-20 10:29:38 +02:00
Tobias Hunger
278e89314f
printerdemo_mcu: Align page_selection.svg to pixel grid ( #1360 )
...
Improve alignment of page_selection.svg to the pixel grid.
2022-06-17 18:20:02 +02:00
Tobias Hunger
d5d29f59f9
Polish Icons in printerdemo ( #1357 )
2022-06-17 14:03:04 +02:00
Simon Hausmann
ebb6dd4449
janitor: Fix typo
2022-04-19 16:58:06 +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
Simon Hausmann
26d205890c
Fix up email address seen in printer demo
2022-02-08 10:39:53 +01:00
Olivier Goffart
91e107150e
Merge remote-tracking branch 'origin/wip/rename'
...
Conflicts:
examples/opengl_underlay/index.html
examples/opengl_underlay/main.cpp
2022-02-08 07:29:41 +01:00
Tobias Hunger
ca469048c6
Replace cat picture used in examples
...
* Use a jpg over an png, which is much smaller
* Do not round the image
* Change the image file extensions used in the demos to reflect the
actual image format being used
* Do not use symlinks for images: This breaks the WASM demos
2022-02-07 15:29:13 +01:00
Olivier Goffart
16d4d2429a
Printer Demo: ability to change the image in the preview
2022-02-07 10:32:03 +01:00
Olivier Goffart
3594c20153
Replace SixtyFPS in many locations (Uppercase)
2022-02-02 15:49:18 +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
Olivier Goffart
d706d63ce1
Replace references to the .60 files that are now renamed with .slint
2022-02-02 10:12:31 +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
08df4aa6d2
Add configuration for the reuse tool
...
Add configuration for the [reuse-tool](https://github.com/fsfe/reuse-tool ) and
mark up license information.
2022-01-29 18:33:05 +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
acf2ef38a6
Don't put no-frame
on the printer demo example
...
Prefer just put it in a random test instead
2021-10-11 10:30:31 +02:00
Robert Broketa
c3c7765f80
Add no-frame
property for a borderless/frameless window
2021-10-11 10:21:21 +02:00
Olivier Goffart
07e2532c0b
Printer Demo: rename PrinterQueue component
...
PrinterQueue -> PrineterQueueView
PrinterQueueData -> PrinterQueue
2021-08-27 16:55:07 +02:00
Olivier Goffart
fefc7f31d0
Port the printer demo to use exported globals
2021-08-27 16:55:07 +02:00
Tobias Hunger
aea4ecca99
Apply pre-commit hooks to all files
2021-08-17 22:38:16 +02:00
Olivier Goffart
ffccef4e0c
Examples: replace all _ by - in identifiers
2021-08-10 22:21:01 +02:00
Simon Hausmann
043407eb74
Cleanup: Remove use of the Clip element
2021-08-09 13:01:30 +02:00
Simon Hausmann
530d47ff1a
printer demo: minor tweak
...
Like with regular check boxes, allow clicking on the text to also toggle
2021-07-23 14:33:13 +02:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Olivier Goffart
6f6f5fc1ee
printerdemo: Use a GridLayout
...
Now that the rowspan and colspan are no longer buggy
2021-07-02 12:30:07 +02:00
Olivier Goffart
ee00c9eb92
Rename maximum- and minimum- properties to max- and min-
...
Issue #259
2021-06-14 10:28:30 +02:00
Olivier Goffart
bf6c1deb33
Printer demo: fix cyclic dependency on the layout
...
`width: height;` cannot be allowed for an item in a layout
2021-05-11 14:59:57 +02:00
Olivier Goffart
b463e3cca4
WIP refactor layout
...
This commit add support for the box layout
2021-05-11 14:59:57 +02:00
Simon Hausmann
eb1ba121a2
Fix the size of the check boxes in the settings page
...
In the first row the check box is smaller than elsewhere.
The standard height used for spin boxes and combo boxes is 32px, so check boxes should have the same.
Otherwise there are only labels on that layout row and those should have a flexible
height.
2021-04-30 15:58:33 +02:00
Simon Hausmann
02d598ee64
Make clicking on the more button in the printer queue navigate to the printer queue
2021-04-30 15:24:08 +02:00
Simon Hausmann
141c05410e
Polish the combobox in the printer demo
...
Provide a highlight on hover
2021-04-30 15:11:40 +02:00
Olivier Goffart
0bb61cc1b3
Fix popup placmement and size with the qt backend
2021-04-26 17:29:06 +02:00
Olivier Goffart
8ca0eb65b3
Better animation of the expanding of the printer queue
2021-04-26 11:22:36 +02:00
Olivier Goffart
f104a8f80d
Printer demo: fix the print page layout
2021-04-26 10:42:46 +02:00
Olivier Goffart
97fe979e5b
Printer demo: Small adjustments to the print screen
2021-04-26 08:59:32 +02:00
Olivier Goffart
d8ebd42712
GL backend: fix vertical alignment of text
...
Fix issue in
https://github.com/sixtyfpsui/sixtyfps/issues/207#issuecomment-825780094
For the purpose of alignment, we need to use the font height, not the actual
text height, because otherwise it does not look visualy centered if the
text does not have letters that goes under the baseline
2021-04-25 14:20:35 +02:00
Simon Hausmann
297eb02dd6
Fix the alignment of the text in the buttons of the printer demo
...
The top padding of 5 pixels that should center the image results in the
text element being placed too far down.
Instead, let the horizontal layout assign a full height to the image and text and
let each take care of the content alignment.
Fixes #207
2021-04-23 16:08:03 +02:00
Olivier Goffart
91ed04a72c
Make length
(still the default for all property) be the logical length
...
And a new `physical_length` is now the physical_length unit
Note: this does not change the runtime part yet
2021-04-21 17:15:19 +02:00
Simon Hausmann
378a8f3596
Fit the printer demo's home buttons easily on the raspberry pi screen
...
Minor tweak to the button spacing a little
2021-04-16 13:55:28 +02:00
Simon Hausmann
f7ce1ba8b4
Generate registration code for custom fonts imported in .60 files
...
This removes the need to manually register fonts. This is initially
applied to the printer demo, but the other demos and removal of the
public manual registration API will come in follow-up commits.
2021-04-14 09:30:32 +02:00
Olivier Goffart
80b236489e
Add a clip
property that can be set to the Rectangle
2021-04-12 18:48:43 +02:00
Olivier Goffart
b45190ca2d
Flickable geometry
...
Issue #192
2021-04-09 19:14:48 +02:00
Olivier Goffart
689d4a3c16
Printer demo: fix issue after the viewport gets its own element
...
The layout inside the flickable will no longer be included to
size the paretn layout. We must not take the inner part of the layout
into account
2021-04-09 19:14:48 +02:00
Olivier Goffart
16cf03e85f
Printer demo: animation when extending the printing queue items
...
Thanks to the layout.minimum-height working properly
2021-04-08 20:23:24 +02:00
Olivier Goffart
a816712a79
Printer demo: give the combo box a popup
2021-03-22 18:09:14 +01:00
Olivier Goffart
c840b046ae
Rename the "resource" type to "image"
2021-03-10 17:24:31 +01:00
Tobias Hunger
639b42697e
Printerdemo: Do not allow 0 copies
...
Just a bit of polish. The functionality is already implemented, so use
it;-)
2021-03-05 20:09:13 +01:00
Simon Hausmann
b591f7de2c
Add Window.default-font-size
...
This allows getting rid of the `DemoText` element in the printer demo
2021-03-02 13:33:43 +01:00