Devin Lin
dffa0a9581
components: Port to MultiEffect
2023-05-12 22:07:48 -04:00
Devin Lin
32af510193
actiondrawer: Revert flickable change
...
Reverts the flickable change from 238d8a78cf , it seems to cause the animation to reset when dragging from pinned -> full size.
2023-03-25 23:45:48 -07:00
Yari Polla
238d8a78cf
components/mobileshell: resize flickables
2023-03-21 12:03:05 +01:00
Devin Lin
f25840bfc2
mobileshellstate: Move to DBus API instead of trying to use shared QML context
...
This also allows us to trigger behaviour from other processes that import mobileshell
2023-03-19 18:32:52 -07:00
Devin Lin
2d1610aaa2
mobileshell: Add constants singleton to reduce dependency on mobileshellstate
2023-03-18 22:06:48 -07:00
Devin Lin
95d1ec87b1
actiondrawer: Smoothen the brightness slider so that it doesn't jump when sending events
2023-03-18 20:05:44 -07:00
Devin Lin
2653e2d816
actiondrawer: Fix typo
2023-03-18 17:32:19 -07:00
Devin Lin
79e99a9cfe
shellsettingsplugin: Extract out from mobileshell component
2023-03-18 12:28:28 -07:00
Devin Lin
462d99b83f
quicksettings: Extract out from mobileshell into separate plugin
2023-03-16 19:44:36 -07:00
Marco Martin
acd8605a4f
Port dataengine usage to plasma5support
...
DataEngines are deprecated and are being splitted in a (temporary lived)
compat library called plasma5support
2023-03-08 14:26:36 +01:00
Yari Polla
2cf0d35f0c
Update file ActionDrawerOpenSurface.qml
2023-03-06 11:49:25 +00:00
Devin Lin
f0c756214a
Port QtGraphicalEffects
2023-03-03 06:01:23 +00:00
Devin Lin
c873dffce8
homescreen: Fix bottom margin in gesture mode
2022-12-10 22:05:25 -05:00
Devin Lin
1c82b58c11
actiondrawer: Load async
2022-12-10 21:40:33 -05:00
Devin Lin
bdcbe4d6f7
mobileshellstate: Heavily refactor to remove global shell margins to fix window binding loops
...
Having a global set margins and orientation (that were calculated from the panel containment) caused a lot of issues with the way bindings were evaluated across panels, and with high coupling.
Now use properties from within containments to determine shell margins instead, which removes the dependency on other containments for measurements. This allows us to get rid of TaskPanelControls as well!
Fixes: https://invent.kde.org/teams/plasma-mobile/issues/-/issues/198
2022-12-10 21:05:13 -05:00
Devin Lin
6314aaf4ae
actiondrawer: Use simpler and more performant widescreen panel logic without clipping
2022-12-06 19:01:42 -05:00
Devin Lin
79798d57e7
actiondrawer: Introduce fix for black text even when opacity is 0
2022-12-05 11:12:45 -05:00
Devin Lin
79fe77eaea
actiondrawer: Use Expo animations for pane movement
2022-12-04 12:09:00 -05:00
Devin Lin
146bccc57f
actiondrawer: Fix call to non-existent property
2022-11-24 12:04:11 -05:00
Devin Lin
f4877406e3
shell: Update to new usage of FormComboBoxDelegate
2022-11-18 17:37:07 -05:00
Devin Lin
df65a0e0f2
mobileshell: Remove compile time QtFeedback dependency, and make it optional
2022-11-12 11:15:36 -05:00
Devin Lin
7d3bf39750
mobileshell: Refactor and extract state to mobileshellstate plugin
...
This avoids mixing plasmashell state with our MobileShell component library (which really shouldn't have state at all).
2022-11-12 11:15:36 -05:00
Devin Lin
f85df674f1
quicksettings: Limit to 5 rows maximum on one page
...
Any more than that, and it gets disorienting for long phones.
2022-11-11 21:29:05 -05:00
Devin Lin
ff51677daa
quicksettings: Fix scrollview indicators
2022-09-24 17:34:57 -04:00
Devin Lin
1830b9dd2a
quicksettings/donotdisturb: Move do not disturb button to quick setting
2022-09-10 12:41:08 -04:00
Devin Lin
620fd8a433
quicksettings: Fix row count calculation
2022-07-10 23:18:34 -04:00
Devin Lin
fbc644fced
mobileshell: Implement base flickable with higher maximum swipe speed
2022-07-08 21:59:55 -04:00
Devin Lin
ba597e1de2
homescreens/halcyon: Turn off layer, and use handlers for grid delegates
2022-06-28 12:31:18 -04:00
Devin Lin
3a0a744051
quicksettings: Fix brightness slider alignment, and forced row count
2022-06-27 23:47:51 -04:00
Yari Polla
d8399e88be
toppanel/notifications: add clean all and do not disturb
...
Hi, this MR adds "clear all" and "do not disturb" buttons to `NotificationsWidget`.
Few other corrections have been made:
- Transitions should now work correctly, plus they can be disabled via `MobileShell.MobileShellSettings.animationsEnabled`;
- Loaders are now asynchronous;
- List items have now their own margins, in order to not clip their shadows.\
It only remains to implement a context menu to set do not disturb mode for a given period of time. I think it's a secondary feature on which we can work later, but in case tell me what to do.
Unfortunately I can't test the lockscreen on a phone at the moment, and I cannot take a performance test as well. It would be great if someone tested all these things, otherwise I'll provide as soon as possible.
Closes: https://invent.kde.org/plasma/plasma-mobile/-/issues/134
2022-06-25 12:35:15 -04:00
Devin Lin
ee13948d37
tests: Add new folder for test snippets, and add QuickSettingsTest
2022-06-06 21:26:37 -04:00
Devin Lin
f8049783af
quicksettings: Add simple and performant shadow to delegates
2022-06-03 19:36:44 -04:00
Devin Lin
221799828d
kcm: Add ability to customise mode of action drawer swipe down
2022-05-30 23:37:00 -04:00
Aleix Pol
55eadf0377
QuickSettings: Provide a small test app to run QuickSettings
...
It's useful to limit what you are testing.
2022-05-30 00:07:52 +00:00
Devin Lin
7ecb92d3dd
actiondrawer: Improve openToPinnedMode to have drawer already maximized when dragging
2022-05-26 18:11:01 -04:00
Yari Polla
aa4ddf8afd
change property name
2022-05-25 18:13:29 +02:00
Yari Polla
fb8494fec4
actiondrawer: add ability to open and expand quicksettings with one stroke
2022-05-25 03:03:21 +02:00
Devin Lin
427c177a44
quicksettings: Remove debug message
2022-05-20 23:44:02 -04:00
Devin Lin
3e22b962f2
quicksettings: Fix enabled text always displaying "On"
2022-05-20 09:59:58 -04:00
Yari Polla
a2a9384bea
quicksettings: few other corrections
2022-05-17 00:55:31 +00:00
Yari Polla
47845000a7
quicksettings: bring back notification glow and well-positioned clock
2022-05-17 00:55:31 +00:00
Yari Polla
fa759eb79e
remove useless parameter
2022-05-17 00:55:31 +00:00
Yari Polla
b429b9c34e
quicksettings: few corrections for landscape view
2022-05-17 00:55:31 +00:00
Yari Polla
ab91a42e9e
quicksettings: fix media widget in landscape view
2022-05-17 00:55:31 +00:00
Yari Polla
ed0030eea3
quicksettings: fix landscape view
2022-05-17 00:55:31 +00:00
Yari Polla
ee951627b3
quicksettings: discern between portrait and landscape view
2022-05-17 00:55:31 +00:00
Yari Polla
166460f4c2
quicksettings: almost graphics fixes
2022-05-17 00:55:31 +00:00
Yari Polla
0f7dc0cf05
quicksettings: implement swipe view
2022-05-17 00:55:31 +00:00
Yari Polla
863485075c
quicksettings: remove unused rightPadding property in MarqueeLabel
2022-04-30 15:16:02 +00:00
Devin Lin
ce06af0e8a
Fix some animations not following setting
2022-04-30 11:07:07 -04:00