Disables gesture navigation when Action Drawer, Notification Popup Drawer, or VolumeOSD are visible as activating the task switcher in these situation can feel a bit weird.
Note:
~~Draft for in till I can get side loading working again so I can test it on device.~~
Still can't seem to get side loading working quite yet. Though, I did run the test I could from my laptop and it does seems to be working fine, so I will be removing this from draft.
Closes: #441
Notes:
- Camera cannot be selected as an action due to #377
{width=461 height=288}
Qt apps for the most part should already default to wayland, since we are in a wayland
session. Don't force apps that default to x11 to be wayland (same
behaviour as desktop).
Currently when the app starts, the scaling of all monitors gets changed
to a combobox value. This change makes it so that only the primary
monitor is affected, and that it only sets the scaling when the user
interacts with the combobox.
Cap the content width for wider screens, as the space is unnecessary
anyway.
Also use item y positioning for the animation instead of transform for
simplicity.
Currently delegates do not get deleted when removed from models. Due to
the complexity of drag state and other objects, we can't simply delete
the delegate when removed from the model because they might still be
involved in animations or other state at the time of removal. Use smart
pointers to have the delegate objects deleted instead.
QML unfortunately doesn't support QSharedPointer, so we need to expose raw pointers to it.
This change adds a card to the Information KCM which can be used to
display vendor-specific information (think of product info, serial or
model number, support info, etc.).
The information is read from a json file in /etc/vendorinfo.json, format
as follows:
'''
{
"Title" : "Vendor Information",
"Content" : [
{
"Key": "Model Number",
"Value": "24ABC-13N4"
},
{
"Key": "Serial Number",
"Value": "778899223344"
},
{
"Key": "Support Phone",
"Value": "+31 6 48370928"
}
]
}
'''
Title is the card header, each Key/Value block adds a TextDelegate. This
block is only displayed if the file actually exists and has a Title set.
Signed-off-by: Sebastian Kügler <sebas@kde.org>