Commit Graph
4 Commits
Author SHA1 Message Date
Aleix Pol Gonzalez 7409bd4cc0 Make sure that the layer property gets initialised
Much like with the rest of the properties, we should set whichever value
was in the interface and then subscribe to changes in the property.
Otherwise, the layer doesn't get forwarded to the surface if the value
was set before its initialisation.

Signed-off-by: Victoria Fischer <[email protected]>
2024-09-24 15:06:13 +02:00
Aleix Pol GonzalezandMarco Martin 44e011e2c6 declarative: Add a QML extension object for accessing the margins property
Otherwise we get the following error message:
Property "margins" with type "QMargins", which is not a value type

Signed-off-by: Victoria Fischer <[email protected]>
2024-05-20 10:01:24 +00:00
Aleix Pol GonzalezandAleix Pol Gonzalez 5cf8ad46b1 Align layershell-qt with the rest of KDE frameworks at a licence level
Makes it possible to use in certain places that otherwise it couldn't
be.

Signed-off-by: Victoria Fischer <[email protected]>
2024-02-12 14:15:06 +00:00
Aleix Pol Gonzalez 143fd1755a Expose the Window interface to QML
If we are designing our UI's windows from QML, it makes sense that we
might want to configure how they're placed from the same place.

Everything was already in place but for a few technical bits which this
change adds.

Signed-off-by: Victoria Fischer <[email protected]>
2023-07-13 11:23:01 +02:00