Commit graph

45 commits

Author SHA1 Message Date
Devin Lin
a8b858dc3e Remove kirigami version in imports
This fixes potential issues stemming from pinning versions on Kirigami
qml api imports
2026-03-06 22:08:07 -05:00
Devin Lin
ac635a71d1 shell: Fix close button margin 2025-12-13 11:24:59 -05:00
Devin Lin
a39401100f shell: Rework configuration implementation
This reworks the implementation of the applet/containment configuration
so that it is more optimized for the mobile experience and fixes lateral
navigation (between categories).

Changes:
- Always show a list of category modules (switching from the navigation
  tab bar) in order to support more modules at once
- Split the wallpaper and containment switching view into two modules
- Add a close button at the top
- Add an animation when the window opens and closes
- Refactor the code so that it is clear which files are imported by the
  shell, and which are implementation details
2025-10-05 09:47:35 -04:00
Christoph Wolk
970dc01ca1 shell/configuration: track unsaved changes signal
plasma-desktop added support for a unsavedChanges property in applet
configuration pages to inform the dialog that the present state is
modifed from the saved state in cases where the automatic tracking of
cfg_ properties does not work. This is intended to replace most uses of
the configurationChanged signal, which does not allow communicating that
the previous state has been restored and saving is no longer necessary.
plasma-mobile automatically saves changes, so does not need to do
special handling here, but it does need to track changes in this
property to work correctly with applets that have switched to this
method.

This change adds a handler for changes to this property similar to the
existing handler for the configurationChanged signal.
2025-04-11 13:54:07 +02:00
Devin Lin
eb9509ce68 Remove trailing whitespace 2024-07-26 23:47:44 -04:00
Devin Lin
1dbd1505dc shell: Move wallpaper selector to homescreens directly 2024-01-02 03:32:15 +00:00
Devin Lin
f4aec3f0fc shell: Fix WallpaperSelector 2023-12-29 12:13:52 -05:00
Devin Lin
1cf51ae694 shell: Fix containment and wallpaper switching from being broken
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/290
2023-12-28 15:55:23 -05:00
ivan tkachenko
22f7d490ba
Revert "Port away from PlasmaCore and PlasmaExtras to Kirigami"
This (partially) reverts commit 127bbdf653.

Only incorrect changes from Kirigami.Units.largeSpacing to
Kirigami.Units.gridUnit are reverted. Only Plasma.Units were buggy.
2023-11-08 21:16:19 +03:00
Devin Lin
173b19a23f shell: Remove recolorIcons call for NavigationTabButton
Remove property usage removed by https://invent.kde.org/frameworks/kirigami/-/merge_requests/1355
2023-11-05 14:33:52 -08:00
Devin Lin
580afdfc9c folio: Rewrite
fix landscape favourites bar drag and drop, and cleanup folder

fix drawer scrolling

add settings
2023-10-22 04:08:28 +00:00
Devin Lin
cf333bb784 homescreen: Fix opening configuration dialog 2023-09-27 22:38:54 -07:00
Devin Lin
27e63a167d porting: Finish ksvg port 2023-09-26 21:18:39 -07:00
Carl Schwan
a12a106439
shell configuration: Port to FormCard 2023-09-21 21:05:10 +02:00
Nate Graham
cc50aee72d Remove versioning from PlasmaCore module imports
It's unneeded in Qt6 and can cause subtle issues.
2023-09-05 09:34:49 -06:00
Marco Martin
42cccf8e7f port to Kirigami.Icon
Part of https://invent.kde.org/plasma/plasma-workspace/-/issues/82

PlasmaCore.IconItem will be removed; now only the kirigami icon
should be used.
2023-08-18 09:08:07 +00:00
Alexey Andreyev
127bbdf653 Port away from PlasmaCore and PlasmaExtras to Kirigami
See also:

https://pointieststick.com/2023/06/14/call-to-action-easy-porting-opportunity-in-plasma/
2023-07-25 01:13:52 +00:00
Alexey Andreyev
2275e2d7dd port QML to KSvg
Search and replace all the occurrences of Svg/FrameSvgItem/SvgItem
to their new implementation from KSvg.
Changes only namespace, API is the same

See also:
https://invent.kde.org/frameworks/ksvg/-/issues/1
2023-07-10 02:04:42 +03:00
Alexander Lohnau
5479e29bd6 Use org.kde.kcmutils instead of org.kde.kcm module
The latter will be removed, because the files were moved to kcmutils
2023-06-06 21:31:58 +02:00
Yari Polla
684431a0af shell/configuration: adapt to Kirigami API change 2023-03-13 15:01:15 +01:00
Yari Polla
25e4ef3ab4 shell/configuration: fix applet 2023-03-06 22:25:42 +01:00
Yari Polla
5183fce7f7 ConfigurationAppletPage: make sure item and plasmoid are not null 2023-03-06 18:00:57 +01:00
Devin Lin
827e17225b shell: Update NavigationTabButton width 2022-12-19 12:39:18 -05:00
Devin Lin
f4877406e3 shell: Update to new usage of FormComboBoxDelegate 2022-11-18 17:37:07 -05:00
Nicolas Fella
e2bfa2212f Port away from KQuickControlsAddons.QIconItem 2022-10-23 16:07:00 +00:00
Devin Lin
85d70bb589 shell: Fix containment being applied immediately 2022-09-10 12:41:41 -04:00
Devin Lin
23185d9edf shell: Fix containment/applet configs not being saved immediately 2022-09-10 00:21:19 -04:00
Devin Lin
ccdba75a3c shell: Fix wallpaper config footer being cutoff 2022-09-10 00:18:39 -04:00
Devin Lin
d230cb7a0b shell: Fix warnings and use recolorIcon on bottom navbar 2022-07-01 00:14:12 -04:00
Devin Lin
8b6095c864 shell: Load applet configuration dynamically, and add animation 2022-06-25 13:04:26 -04:00
Devin Lin
1919a39d81 shell: Load wallpaper selector only when necessary 2022-06-25 12:43:11 -04:00
Devin Lin
61375dc48e shell: Load wallpaper images asynchronously 2022-06-23 15:06:06 -04:00
Devin Lin
102ff4db1b shell: Fix crashes caused by importing mobileshell component 2022-06-23 14:15:02 -04:00
Devin Lin
47eebd4959 shell: Update containment configuration appearance UI 2022-06-23 00:46:36 -04:00
Devin Lin
436b2660d2 shell: Update configuration dialogs based on desktop, use new UI for wallpaper selector 2022-06-23 00:16:20 -04:00
Devin Lin
dee476e773 shell: Import applet/containment configuration dialogs
Import from plasma-nano so that we can better use it from plasma-mobile.
2022-06-22 14:59:34 -04:00
Marco Martin
e1d7844b82 make plamo shell inherit from plasma nano 2019-09-04 17:33:01 +02:00
Marco Martin
6df97ae3a7 smaller config window that fits in screen 2015-10-15 14:51:11 +02:00
Marco Martin
f848819e7b proper position of the panel 2015-10-15 14:38:37 +02:00
Marco Martin
3d825bbcf6 panel at left like the widget explorer 2015-10-01 17:54:49 +02:00
Marco Martin
92d3b613ee support applets configuration dialog
needs a way to disable the button for those that
don't have a config dialog
2015-09-25 15:10:05 +02:00
Marco Martin
2ed4578a55 wallpaper and applets config as a sidepanel 2015-09-25 14:04:28 +02:00
Marco Martin
ee4defd92f instant apply 2014-11-20 15:19:37 +01:00
Marco Martin
87f8ef61b7 get rid of the comboboxes 2014-11-20 11:28:26 +01:00
Marco Martin
2384ff36d9 wallpaper config 2014-11-19 21:25:09 +01:00