Commit graph

297 commits

Author SHA1 Message Date
Micah Stanley
842354bd70 Shell: Add Setting to Auto Hide Panels so Applications Can Fill the Entire Device Screen Space
This merge request adds a new setting to auto hide the status and navigation panels so applications will be able to fill out the entire device screen area. Also, this adds a new quick settings toggle to quickly change this property.
2025-04-21 15:56:33 +00:00
l10n daemon script
7ea7550da5 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-04-19 01:30:30 +00:00
Sebastian Kügler
8a70d7c50d info kcm: make webpage optional
On some systems, the webpage info may be empty. In the UI, this would
lead to a broken button (since the UI is not visible). So let's hide
this button when the URL isn't set anyway.

Signed-off-by: Sebastian Kügler <sebas@kde.org>
2025-04-14 11:21:47 +00:00
Devin Lin
ebdb8bd848 kcms/mobileshell: Use js list model instead of ListModel
Use a proper JS list model instead of creating a ListModel and then appending items to it.
2025-04-08 15:56:18 +00:00
Sebastian Kügler
8b4abd134a info kcm: move vendorinfo block higher
If present, this is quite important information (e.g. model number,
serial, etc.), so give it a more prominent position.

For a default configured system, no visual change.

Signed-off-by: Sebastian Kügler <sebas@kde.org>
2025-04-08 12:35:19 +00:00
Oliver Kellogg
dc84693bfb kcms/mobileshell/ui/main.qml (FormCard.FormHeader): Extend i18n context. 2025-03-22 19:17:31 +01:00
Micah Stanley
5d443aa679 Status Bar: Battery Percentage Toggle/Limit to Internal Batteries
Adds a setting to toggle displaying the battery percentage and also limits it to only display the internal batteries.

Battery percentage on

![Screenshot_20250319_112119](/uploads/2585d843d9fd21c368dcbb1742f036f4/Screenshot_20250319_112119.png)

Battery percentage off

![Screenshot_20250319_112137](/uploads/26d0d1ab4170d097e8b2e6893d48788c/Screenshot_20250319_112137.png)
2025-03-19 20:09:33 +00:00
l10n daemon script
bd287571e8 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-03-16 01:30:57 +00:00
User8395
3a2c3bc742 lockscreen: add quick action buttons
Closes: #441 

Notes:
- Camera cannot be selected as an action due to #377 


![image](/uploads/a97cad90219897b730d88b8aa43d49f3/image.png){width=461 height=288}
2025-03-13 20:11:41 +00:00
Devin Lin
8d9ed17022 kcms/powermanagement: Move to powerdevil
Issue: https://invent.kde.org/plasma/plasma-mobile/-/issues/449

Companion MR: https://invent.kde.org/plasma/powerdevil/-/merge_requests/532

Move this KCM to powerdevil to share code.
2025-03-05 17:16:04 +00:00
Carl Schwan
d6cc9473c0 Move hotspot kcm to plasma-nm 2025-02-25 18:16:10 +01:00
Carl Schwan
cfdb1ae516 Move cellularnetwork kcm to plasma-nm 2025-02-25 17:11:25 +00:00
Carl Schwan
9a35cca1b6 Move back wifi kcm to plasma-nm 2025-02-25 16:58:07 +00:00
Carl Schwan
f4f0219d86
Fix inconsistent spacing 2025-02-24 23:46:10 +01:00
l10n daemon script
0bda495e7c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-02-08 01:27:47 +00:00
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
Carl Schwan
a648006799
Don't try to set parent of ComboBoxForm's internal dialog 2025-01-09 14:31:59 +01:00
Sebastian Kügler
85b9c82818 [wifi kcm]: add connection info page
This changeset adds a page with information about the currently active
wifi connection when clicking on the active connection item.

A traffic graph (much like in the desktop applet) shows current data
transfer rates.
An overview of connection information such as IP addresses, gateway,
access points, signal strength, security type, etc. complements this
information.

Signed-off-by: Sebastian Kügler <sebas@kde.org>
2025-01-03 17:47:17 +01:00
Sebastian Kügler
d9ff4a9898 import TrafficMonitor from plasma-nm
Signed-off-by: Sebastian Kügler <sebas@kde.org>
2025-01-03 17:47:17 +01:00
l10n daemon script
fd1f5e2e60 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-12-28 01:34:33 +00:00
l10n daemon script
b993b510a4 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-12-15 01:40:00 +00:00
l10n daemon script
8b70761dcd SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-12-02 01:32:06 +00:00
l10n daemon script
f3da7d632c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-11-29 01:27:27 +00:00
Devin Lin
4569296128 kcms/time: Modernize and cleanup code
The time KCM backend code is quite old and is somewhat buggy because
toggling any option causes all fields to update. I cleaned up the code
and isolated different options from each other, and ensured the QML UI
bindings stay up to date. I also moved the date popup to a loader so
that it isn't loaded at start.
2024-11-15 09:53:51 -08:00
Carl Schwan
6ce0058188
time kcm: Lazy load the date picker 2024-11-15 13:07:45 +01:00
Carl Schwan
55f2deb33d
Fix translation extraction 2024-11-15 12:48:53 +01:00
l10n daemon script
a2d8105d08 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-11-08 01:25:01 +00:00
Devin Lin
6a5a89313f kcms/time: Fix layout of time dialog and port date dialog to DatePopup
Some changes in Kirigami.Dialog recently completely broke the dialog, we
apparently now have to manually set dimensions on children. Use
DatePopup from Kirigami Addons in order to reduce the code needed here.
2024-11-04 20:34:57 -08:00
l10n daemon script
6759ec9307 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-10-28 01:24:44 +00:00
Sebastian Kügler
50ba0d6897 [mobileshell kcm]: option to control status bar scale
This change adds a drop-down in the mobileshell kcm allowing setting the
status bar height (as its scale factor).

Also, smallish capitalization fix, this page is still not consistent,
but a little more now.

Signed-off-by: Sebastian Kügler <sebas@kde.org>
2024-10-25 17:53:25 +00:00
Devin Lin
d854f26062 kcms/cellularnetwork: Fix available networks list elements not being
full-width
2024-10-12 01:25:44 +00:00
l10n daemon script
480650b4d4 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-10-11 01:26:14 +00:00
Devin Lin
59cbccfe52 kcms/time: Don't insert "local" option into timezones dropdown
It isn't selected by default, and also causes the time to disappear when
selected.
2024-10-09 19:43:48 -07:00
l10n daemon script
4077fb3baa SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-10-10 01:23:11 +00:00
l10n daemon script
3fbf619c01 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-10-09 01:24:16 +00:00
l10n daemon script
b1918cfc58 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-10-01 01:23:26 +00:00
Marco Mattiolo
ac91c9fe11 Drop semicolon after Q_UNUSED() for consistency through the repo 2024-09-28 06:31:00 +00:00
Marco Mattiolo
d79274cbe7 Manages new cases introduced in ModemManager 1.20 2024-09-28 06:31:00 +00:00
Marco Mattiolo
edb8c91d66 Fix deprecated declarations from QLocale 2024-09-28 06:31:00 +00:00
l10n daemon script
0dfa399b7b SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-09-25 01:24:12 +00:00
l10n daemon script
f10228cee8 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-09-24 01:22:51 +00:00
l10n daemon script
bd836d5da9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-09-23 01:22:19 +00:00
l10n daemon script
cd4f98e3d9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-09-22 01:25:06 +00:00
l10n daemon script
369f250f17 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-09-17 01:23:52 +00:00
l10n daemon script
d7a967cd02 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-09-16 01:25:47 +00:00
l10n daemon script
e49068db5e SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-09-15 01:25:56 +00:00
l10n daemon script
309285fb39 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-09-14 01:26:05 +00:00
l10n daemon script
4186e230f7 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-09-13 01:24:38 +00:00
Carl Schwan
82b21794f9
Fix extraction of translations
Using i18n('') prevent the strings to be extracted
2024-09-12 10:56:15 +02:00
l10n daemon script
62a2633f72 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-08-28 01:30:06 +00:00
Laurent Montel
8c2faecb96 Remove virtual keyword when we use override 2024-08-19 07:39:01 +02:00
Devin Lin
2961fa7ea7 kcms/cellularnetwork: Remove unused file
PopupDialog hasn't been used for a long time, usage was replaced by
Kirigami.Dialog, and then by a page.
2024-07-27 14:50:18 +00:00
Devin Lin
1702354d3f Use Kirigami.Units.cornerRadius in most radius values
This takes the place of using smallSpacing for the most part.
2024-07-27 00:02:05 -04:00
Devin Lin
eb9509ce68 Remove trailing whitespace 2024-07-26 23:47:44 -04:00
l10n daemon script
0e1d42db39 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-07-01 01:17:27 +00:00
Mr. Athozus
45fa06e3f1 kcms/mobiledata: Move EditProfileDialog to EditProfilePage
As requested in #277 by Devin. I mark this as a draft because there are small issues that need to be fixed, but 75% is working right now.

- [x] Adding connection works
- [x] Loading existing connection works
- [x] Update existing connections works
- [ ] Show updated list of profiles without restarting the kcm
- [ ] Find a way to use that in initial start (because the whole software is going left-to-right, so pushing an edit page to the right might not be intuitive)

I'm still wondering if using checkboxes for 4G/3G/2G might not be better.
2024-06-29 00:48:01 +00:00
Devin Lin
1dfcda39d3 kcms/wifi: Fix toggle not updating the first time
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/363
2024-06-27 22:53:29 -04:00
Mr. Athozus
8f9db42e8f Add setting for showing date in status bar
As the title said.

Requested in plasma-mobile/plasma-settings#17

I marked it as a draft because there is a small regression which removes vertical alignment of right icons.
2024-06-28 02:05:42 +00:00
l10n daemon script
518b94e018 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-28 01:25:09 +00:00
Devin Lin
a930eabbb2 kcms/wifi: Add WPA3 support
BUG: 483729
https://invent.kde.org/plasma/plasma-mobile/-/issues/336

This implements WPA3 support in the wifi KCM. However, the wifi KCM in general is missing implementations for many things (ex. WPA2/3 enterprise). We really should eventually pursue https://invent.kde.org/teams/plasma-mobile/issues/-/issues/294
2024-06-24 13:30:05 +00:00
l10n daemon script
00edc45f4d SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-22 01:21:15 +00:00
F_Chao Fengchao
a1f8938fbc Fix: Changing the power settings does not take effect in time. 2024-06-16 23:11:45 +00:00
Florian RICHER
45ee6df973 Add setInitialized(true) after set ipv6 settings 2024-06-16 23:00:01 +00:00
Florian RICHER
24d5a2f223 Force to set ipv6 method to auto 2024-06-16 23:00:01 +00:00
Marius P
17e92e72fc Proofreading 2024-06-17 00:02:08 +03:00
l10n daemon script
9131752fd3 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-08 01:20:22 +00:00
l10n daemon script
f7851a3f8f SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-04-25 01:16:26 +00:00
Nicolas Fella
1b2fb7230f [kcms/power] Rename translation catalog to match plugin name
Otherwise translations don't work
2024-04-03 12:56:32 +02:00
Devin Lin
e35ec4d20e kcms/time: Fix timezone dialog constantly popping up and down the keyboard while typing
We need to ensure that there isn't an index set on the listview
2024-03-17 23:26:34 -04:00
l10n daemon script
07e2acbc1b SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-03-16 01:16:20 +00:00
l10n daemon script
a8e6caf7c0 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-03-14 01:15:01 +00:00
l10n daemon script
4ca3a25d4f SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-03-09 01:15:44 +00:00
l10n daemon script
28e6d523fb SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-03-08 01:13:51 +00:00
Devin Lin
0e280a94ca kded/autodetectapn: Add background service to automatically add APN connections
We use the Android APN list here in order to determine the APN settings from SIM information.

Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/285

Address feedback
2024-02-23 15:35:31 +00:00
Luis Büchi
646be07c6c potential fix for gesture-only mode not working
call reconfigure in mobiletaskswitcher constructor to make it set the touch border.
this fixes the gesture-only mode in my setup, though one oddity remains: it only starts working after using the action drawer once - that may be an issue with my dev setup though.
2024-02-19 04:03:58 +00:00
Alexander Lohnau
907363c594 Remove Qt module includes 2024-02-16 13:38:23 +01:00
Devin Lin
aea30553b1 kcms/mobiledata: Clarify behavior when networkmanager wwanEnabled is off
In NetworkManager, there is a global "wwanEnabled" setting. We do not typically deal with this because toggling it off shuts off cellular in ModemManager (the mobile data toggle just disconnects the connection instead).

Here we ensure that we address the case when "wwanEnabled" is off, and ensure that it's on when mobile data is toggled on. Also remove a check in the SIM page that seemed to depend on it.
2024-02-13 19:49:38 +00:00
Devin Lin
78781bcb6f kcms/wifi: Fix wi-fi dialog position, port to Kirigami.Dialog
The Wi-Fi dialog position currently goes under the keyboard, fix it by porting to Kirigami.Dialog
2024-02-11 23:56:12 +00:00
l10n daemon script
7f1e574816 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-01-29 01:12:33 +00:00
Jakob Petsovits
677d2c11db kcms/powermanagement: Move from power-management category up a level
Like its PowerDevil equivalent for desktop, the kcm_mobile_power.json
file now uses system-administration as parent category and the
previous power-management category's original weight of 20.
2024-01-25 10:35:41 -08:00
Devin Lin
037f24833c kcms/mobileshell: Remove gesture only navigation option for now
The KWin gesture currently does not work at all, so turning off the navigation panel makes it so the user cannot navigate.

See https://invent.kde.org/plasma/plasma-mobile/-/issues/300
2024-01-22 15:13:21 +00:00
l10n daemon script
bba776a5fb SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-01-05 02:08:21 +00:00
Emir SARI
f927e2631b Simplify the battery charge representation 2024-01-03 13:01:38 +00:00
Devin Lin
b895e8a203 kcms/powermanagement: Update to new powerdevil config
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/295
2024-01-02 14:17:41 -05:00
Devin Lin
77e59801d0 wallpaperimageplugin: Add plugin to allow for wallpaper editing in the shell 2024-01-02 03:32:15 +00:00
Jonah Brüchert
d919403366 kcms: time: Avoid calling waitForFinished 2023-12-30 17:53:34 +00:00
Nicolas Fella
42a0af5d7b Remove unnecessary id declaration from plugin metadata 2023-12-28 02:04:08 +01:00
Devin Lin
6b067b4a97 kcms/wifi: Don't show available card if there are no connections 2023-12-27 18:19:04 -05:00
Devin Lin
975443045b kcms/wifi: Only show saved networks section when there is an entry 2023-12-27 17:40:09 -05:00
Devin Lin
fc10a6fe10 kcms/wifi: Add checked icon to connected Wi-Fi network 2023-12-27 14:45:50 -05:00
l10n daemon script
4d29b0f0ac SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2023-12-22 02:13:13 +00:00
Devin Lin
2329e0a15d kcms/time: Overhaul UI
The old UI was very confusing to use, I changed it so that:
- Dialogs are used for the time and date picker, with user confirmation for changes
- Tumblers are not used for the time picker, use the time picker component from kclock
- Removed seconds selector (since it was always wrong)
- Fixed the time zone selector (it didn't work before)
- Properly support 24 hour time in the time picker

Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/286
2023-12-16 20:56:51 -08:00
Devin Lin
bcc553325c kcms/hotspot: Change UX to use a dialog rather than direct textfields
Otherwise it's not obvious to the user whether the changes were saved.
2023-12-16 18:42:52 -08:00
Devin Lin
8d564014b5 kcms: Don't add button row 2023-12-16 18:31:06 -08:00
l10n daemon script
dbe069edfa SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2023-12-17 02:07:26 +00:00
Devin Lin
17024dfdd4 kcms/wifi: Port to MobileForm
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/279
2023-12-16 14:33:02 -08:00
Devin Lin
c35e4a94d9 kcms/cellularnetworks: Don't prompt for password when unnecessary
scanDevices() is actually unnecessary here, and causes the polkit prompt to pop up as soon as the kcm is opened.

See https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/main/data/org.freedesktop.ModemManager1.conf.polkit
2023-12-16 04:44:56 +00:00
Devin Lin
09b3964906 kcms/cellularnetwork: Improve APN selection and available networks 2023-12-16 04:43:55 +00:00
Devin Lin
1c2ec93843 kcms/cellularnetwork: Fix error condition 2023-12-14 22:01:00 -08:00
Devin Lin
30262da8a5 kcms/cellularnetwork: Port to qcoro to make it async
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/284
2023-12-14 21:15:39 -08:00