shift-shell/kcms/info
Sebastian Kügler 6c746e62d5 [info kcm]: add vendorinfo card
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>
2025-01-17 09:51:12 +00:00
..
ui [info kcm]: add vendorinfo card 2025-01-17 09:51:12 +00:00
CMakeLists.txt Remove trailing whitespace 2024-07-26 23:47:44 -04:00
distroinfo.cpp kcms: Move KCMs from plasma-settings 2023-03-13 18:45:47 -07:00
distroinfo.h kcms: Move KCMs from plasma-settings 2023-03-13 18:45:47 -07:00
hardwareinfo.cpp kcms: Move KCMs from plasma-settings 2023-03-13 18:45:47 -07:00
hardwareinfo.h kcms: Move KCMs from plasma-settings 2023-03-13 18:45:47 -07:00
info.cpp [info kcm]: add vendorinfo card 2025-01-17 09:51:12 +00:00
info.h [info kcm]: add vendorinfo card 2025-01-17 09:51:12 +00:00
kcm_mobile_info.json SVN_SILENT made messages (.desktop file) - always resolve ours 2024-12-15 01:40:00 +00:00
Messages.sh kcms: Ensure reuse headers exist 2023-03-13 19:09:23 -07:00
softwareinfo.cpp kcms: Move KCMs from plasma-settings 2023-03-13 18:45:47 -07:00
softwareinfo.h kcms: Move KCMs from plasma-settings 2023-03-13 18:45:47 -07:00