Olivier Goffart
2144975cca
iot-dashboard: better initial size
2021-07-08 14:27:27 +02:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Olivier Goffart
2f71547040
iot-dashboard: remove useless layout
...
This was fixed
2021-06-29 14:54:47 +02:00
Olivier Goffart
fbc6925dc0
iot-dashboard: layout adjustment
...
Add spacing to layout which now default to 0,
Since the default height for image depends on the width, reset to what
we expect
2021-06-22 14:26:54 +02:00
Olivier Goffart
ee00c9eb92
Rename maximum- and minimum- properties to max- and min-
...
Issue #259
2021-06-14 10:28:30 +02:00
Simon Hausmann
43e7407669
Use the same default font sizes as C++
...
On my screen with a dpr of 2 this aligns QSkinny/Qt with GL and Qt backend
2021-06-03 16:31:57 +02:00
Simon Hausmann
f6ae29d256
Set the font size on all Text elements
...
... according to what's set in either Skin.cpp or the corresponding .cpp file.
2021-06-03 16:30:19 +02:00
Simon Hausmann
4d2989cfc3
Small typo fix
2021-06-03 15:29:29 +02:00
Simon Hausmann
f02c392334
Fix horizontal alignment of text in the menu bar
...
The C++ version codes 14 pixels as width for all the icons, thus aligning the text as well.
The aspect ratio is preserved.
2021-06-03 15:26:39 +02:00
Olivier Goffart
b0a0c3bd27
iot-dashboard: Improve the graphs bu using Path
2021-06-03 12:59:35 +02:00
Olivier Goffart
e386e86acb
iot-dashboard: first attempt at the usage graph
2021-06-03 12:59:35 +02:00
Simon Hausmann
8ac1d0e68f
Fix the layout of the light intensity
...
This matches the appearance of the C++ version more closely.
2021-06-03 11:53:25 +02:00
Simon Hausmann
d5ac54a833
Bring the element names and structure a bit more in sync with the C++ version
2021-06-03 09:27:46 +02:00
Simon Hausmann
8d328e1c1b
Add range values to the light intensity control
2021-06-02 18:40:20 +02:00
Simon Hausmann
866264b909
Some work towards the light intensity
2021-06-02 12:34:14 +02:00
Simon Hausmann
1970924bb1
Fix rendering of the circle progress bars in the iot dashboard
...
The stroking shows strange artefacts with both Qt and femtovg. Filling
looks much better with both.
Unfortunately this triggered a bug in lyon's arc_to, for which this patch also
pulls in a fix.
2021-06-02 11:13:41 +02:00
Simon Hausmann
7de783bbe1
Remove unnecessary viewbox position
2021-05-21 19:51:00 +02:00
Simon Hausmann
e7bc91c804
Add support for specifying the viewbox of path elements
2021-05-21 19:51:00 +02:00
Simon Hausmann
a7ce64657c
Restore source compatibility for drop-shadow-blur
...
Let's keep source compatibility and define `drop-shadow-blur` to be a radius.
The CSS spec says that the standard deviation is half of the radius.
We just need to scale again and increase the shadow rect to make sure that no borders are visible.
2021-05-20 12:14:05 +02:00
Simon Hausmann
bb7b301b10
GL backend: new box drop shadow implementation
...
This replaces the box gradient with a new implementation that
behaves like the HTML Canvas element, by applying a gaussian
blur to the alpha of the rectangle to shadow.
The drop-shadow-blur property is changed to be now just a "level", like
the HTML Canvas shadowBlur property, which is defined to be half of the
standard deviation of the gaussian blur to be applied.
2021-05-20 08:50:02 +02:00
Olivier Goffart
839e1acd53
iot-dashboard: use a Path to draw the pie chart
...
Somehow the Path element is not so easy to use
2021-05-19 00:27:42 +02:00
Simon Hausmann
25d0b604e9
Change the humidity in the iot dashboard to random values every four seconds
2021-05-18 13:07:26 +02:00
Simon Hausmann
b0fdd9c264
Begin rework the C++ iot dashboard
...
Implement the Clock as a C++ widget that shows the current time
2021-05-17 15:43:42 +02:00
Simon Hausmann
952f07bbf6
Split the dashboard .60 files
...
This is in preparation for a C++ interpreter version
2021-05-17 10:49:24 +02:00