Simon Hausmann
42efd20806
Remove workarounds for #179
2021-02-22 11:17:39 +01:00
Simon Hausmann
b0110badaf
Fix pages being rendered into the visible border radius during animations
...
When switching between Settings and Home Page view the animation would
show the pages being rendered into the border. This is
fixed by tightening the Clip element and fitting the pages
inside nicely.
Since the entire home page shifted to the right we can remove
the 16px x offset for the printer queue.
2021-02-22 11:17:39 +01:00
Simon Hausmann
c792f0d0de
Allow the document title to be rendered using an elision in the printer queue
...
This also adds the missing elision glyph to the NotoSans font as well as
the missing license file
2021-02-22 11:17:39 +01:00
Olivier Goffart
5a5cb51595
Printer demo: add some spacing
2021-02-22 11:17:39 +01:00
Olivier Goffart
7c5f609186
Remove hack because of broken GridLayout
2021-02-22 11:17:39 +01:00
Olivier Goffart
aabff4dae5
Print demo: some size adjusmtent
2021-02-22 11:17:39 +01:00
Olivier Goffart
6a3ec0465d
printer demo: Fix some invisible text in night mode
2021-02-22 11:17:39 +01:00
Olivier Goffart
b680840063
Some adjustment to the size of the printing queue in the home page of the printer demo
2021-02-22 11:17:39 +01:00
Simon Hausmann
dbd90b1500
Fix typo
2021-02-22 11:17:39 +01:00
Olivier Goffart
0ce370cbe5
Fix sizes in the printer demo home page
2021-02-22 11:17:39 +01:00
Simon Hausmann
cfb7af6b66
Also show a progress bar for waiting items
2021-02-22 11:17:39 +01:00
Simon Hausmann
90871d01eb
Add a hacky progress bar
2021-02-22 11:17:39 +01:00
Olivier Goffart
f757474ee1
Fix the look of the push button
...
For some reason the tex tis not propertly ventered vertically
Maybe a bug in the layout?
2021-02-22 11:17:39 +01:00
Olivier Goffart
33c0ff734a
Use the moon svg icon
2021-02-22 11:17:39 +01:00
Simon Hausmann
6461d44f6d
Select the Noto Sans font for the new printer demo
...
Use a new `DemoText` element throughout the code base that selects the
Noto Sans family. An ascii-only variant of the font is included in the
repo along with the shell script to do the conversion.
At the moment this only works with the interpreter, the other builds
still need adapting and will fall back to the system default font as
before.
2021-02-22 11:17:39 +01:00
Olivier Goffart
fa1494aef3
Adjust the size of the printer demo window
2021-02-22 11:17:39 +01:00
Olivier Goffart
0e6fe27767
Printer demo: checkbox
2021-02-22 11:17:39 +01:00
Olivier Goffart
363ab7976e
Use svg for the icons in controls
2021-02-22 11:17:38 +01:00
Simon Hausmann
a000e898e3
Some work on the wide printer queue item layout
2021-02-22 11:17:38 +01:00
Simon Hausmann
f7825c5a36
Fix the color of the border in the wide printer queue view
2021-02-22 11:17:38 +01:00
Simon Hausmann
55ea583abb
Start with the wide printer queue
2021-02-22 11:17:38 +01:00
Simon Hausmann
2b43587e79
Split out the line separate print details into a component
2021-02-22 11:17:38 +01:00
Simon Hausmann
c5a0bb44f3
Begin sharing the printer queue in the print page
...
This needs an additioal mode though to render a different layout
2021-02-22 11:17:38 +01:00
Simon Hausmann
3b3d3f95eb
Add a template for the print page
2021-02-22 11:17:38 +01:00
Simon Hausmann
9c027aebd0
Represent the printing progress as an integer in percent in the printer queue data structure
...
... in preparation for showing a progress bar on the print page
2021-02-22 11:17:38 +01:00
Simon Hausmann
ce02cda7d5
Fix heading style of copy and scan page
...
Align vertically the same as the printing queue on the home page, and
choose size and font weight.
2021-02-22 11:17:38 +01:00
Simon Hausmann
447ce1ced5
Add a "start scanning" button to the scan page
2021-02-22 11:17:38 +01:00
Simon Hausmann
a0dde2833a
Add a "start copying" button to the copy page
2021-02-22 11:17:38 +01:00
Simon Hausmann
7aa540b4f9
Fix font weight of queue item status text
2021-02-22 11:17:38 +01:00
Simon Hausmann
543f7fea14
Fix the letter spacing in the print queue status
2021-02-22 11:17:38 +01:00
Simon Hausmann
3a79805f21
Fix horizontal centering of "More" button in queue item
2021-02-22 11:17:38 +01:00
Simon Hausmann
eb09848e97
Try to unify font sizes in the global settings
...
This also fixes the size of the document title in the printing queue
2021-02-22 11:17:38 +01:00
Simon Hausmann
bf837a7999
Add a note about the missing button centering
2021-02-22 11:17:38 +01:00
Simon Hausmann
782244f8bb
Fix the font weight of the printing queue header
2021-02-22 11:17:38 +01:00
Simon Hausmann
341be9cb18
Fix placement of the printer name label and the printer queue items
2021-02-22 11:17:38 +01:00
Simon Hausmann
d3672a771e
Fix page placement within the main view
...
The padding can be reduced to more closely match the design
2021-02-22 11:17:38 +01:00
Simon Hausmann
d6ee61ebe1
Add a push button to the print queue details
2021-02-22 11:17:38 +01:00
Simon Hausmann
35402375f3
Fix size label color in print queue
2021-02-22 11:17:38 +01:00
Simon Hausmann
b9af0c7f30
Place the printer queue into a flickable
2021-02-22 11:17:38 +01:00
Olivier Goffart
fdbdfedacd
Small adjustments
2021-02-22 11:17:38 +01:00
Olivier Goffart
4e25edf83f
ScanPage
2021-02-22 11:17:38 +01:00
Olivier Goffart
52683e6b3d
Some progress on the printerdemo widgets
2021-02-22 11:17:38 +01:00
Olivier Goffart
b79f99c485
Print demo: Draft of a spin box
2021-02-22 11:17:38 +01:00
Simon Hausmann
47b2a6c569
Centralize the color for the outline of clickable items
...
In the "green" mode that's a distinctly different color.
Maybe this should be named after primary/secondary instead?
2021-02-22 11:17:38 +01:00
Simon Hausmann
3ccd2712f4
Make it possible to expand print queue item details
...
TODO: Animate the appearance/disappearance somehow...
2021-02-22 11:17:38 +01:00
Olivier Goffart
f72e82254b
Printer demo Sub-pages
2021-02-22 11:17:38 +01:00
Simon Hausmann
1233050b12
Use a tad bit of spacing inside a printer queue item
2021-02-22 11:17:38 +01:00
Simon Hausmann
60b67651b1
Fix the printer queue item background color
2021-02-22 11:17:38 +01:00
Olivier Goffart
3476ef0305
Make the Settings page less ugly
2021-02-22 11:17:38 +01:00
Olivier Goffart
492d094df1
Make the ink icon be a SVG
...
Note that the SVG exported by figma was corrupted, so i build one
manually by merging the two path
2021-02-22 11:17:38 +01:00