Commit graph

407 commits

Author SHA1 Message Date
Devin Lin
b7f1a5b379 homescreens/halcyon: Add drag and drop reordering of favourites 2022-06-29 00:22:42 -04:00
Devin Lin
4f3b9a1fae homescreens/halcyon: Fix gridview alignment, rename file to be more descriptive 2022-06-28 13:43:55 -04:00
Devin Lin
02bcf78742 homescreens/halcyon: Use ExtendedAbstractButton 2022-06-28 13:26:36 -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
Devin Lin
c4806c6fb5 navigationpanel: Cap width of buttons at 80% of panel 2022-06-27 21:47:15 -04:00
Devin Lin
e18d5f73ed osd/volume: Don't use padding in SwipeListItem to fix warnings 2022-06-27 17:29:34 -04:00
Devin Lin
5519abd82c navigationpanel: Properly cap width for wide screens 2022-06-27 17:28:41 -04:00
Devin Lin
eff9d3df9a homescreen: Don't play zoom animation when going between maximized window states 2022-06-27 16:53:40 -04:00
Devin Lin
d9fd104e08 lockscreen: Fix margins of notifications and centering 2022-06-25 14:38:47 -04:00
Devin Lin
0a76701af5 widgets/notifications: Use smaller button text, and adjust sizing
Fixes an issue where the ListView was sometimes not tall enough to hold the content despite the list not overflowing.

Also adjusts button text to be smaller.
2022-06-25 14:37:56 -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
74285d9261 mmplugin: Check for nullptr 2022-06-23 19:45:47 -04:00
Aleix Pol
7b163661d5 PipeWireThumbnail, Record: Wayland handling doesn't belong in KPipeWire 2022-06-23 11:25:08 +02:00
Devin Lin
0deef11ba7 components: Attempt to fix some cyclic dependencies 2022-06-22 11:48:46 -04:00
Devin Lin
c3835b9a3b components: Use consistent documentation 2022-06-22 11:14:30 -04:00
Devin Lin
304ba155b6 components: Fix ExtendedAbstractButton pressAndHold 2022-06-22 10:48:59 -04:00
Devin Lin
9922c8d5d2 components: Introduce ExtendedAbstractButton, port homescreen to it 2022-06-21 18:38:21 -04:00
Devin Lin
6ed9a7d65a quicksettings: Move related files into folder 2022-06-18 17:14:21 -04:00
Devin Lin
b41e1f2b8a homescreen: Start refactoring and cleaning
fix
2022-06-18 15:42:39 -04:00
Yari Polla
131c3bd911 taskswitcher/lockscreen: trim flick containers and optimise 2022-06-09 19:17:47 +02:00
Devin Lin
a173cf9b9d homescreens/halcyon: Add new homescreen 2022-06-08 18:09:35 -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
d6cc2918e0 widgets/notifications: Specify InvokeBehavior when invoking action 2022-06-06 20:39:16 -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
Aleix Pol
ecd1515217 Add a Record QuickSetting
Allows to record the current output conveniently from the drop-down.
2022-05-30 00:07:52 +00:00
Aleix Pol
b0e2065a63 PipeWireThumbnail: Port to KPipeWire
It's the same components just in a different place. No need to do much
porting.
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
2c61bb1723 kcm & taskswitcher: Add option to toggle application previews 2022-05-21 10:54:51 -04: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
0368834d2c components/marqueelabel: avoid useless double binding 2022-05-18 00:54:01 +00: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
1ebd1ecefc mediacontrolwidget: make playerItem loadable 2022-05-16 20:17:03 +02:00
Yari Polla
443662d2fd mediacontrolwidget: use MarqueeLabel for title and artist 2022-05-16 20:15:48 +02:00
Yari Polla
6fabcea605 taskswitcher: binding fixes 2022-05-14 02:15:37 +00:00
Yari Polla
d22df8f6fa taskswitcher: avoid double binding in thumbnail 2022-05-14 02:15:37 +00:00
Yari Polla
a462ad4263 taskswitcher: fixes for opening phase 2022-05-14 02:15:37 +00:00
Volker Krause
4b1c8dcc59 Use version-less macro for Qt6 2022-05-13 17:30:45 +02:00
Laurent Montel
bd95cd47a4 We depend against qt5.15 2022-05-13 08:36:53 +02:00
Laurent Montel
322e23614c Fix compile against qt5 2022-05-13 08:35:29 +02:00
Laurent Montel
0636309578 databaseChanged is deprecated => in code we export "apps" by default
=> we can port it.
now all compile fine in qt6
2022-05-13 08:32:52 +02:00
Laurent Montel
2da23eae0a Adapt build system for building against qt6 2022-05-13 08:27:13 +02:00
Devin Lin
5f127460c7 kcm: Fix vibration intensity property setting 2022-05-05 21:25:36 -04:00
Devin Lin
9a575ad42e kcm: Add vibration intensity and duration 2022-05-05 21:02:18 -04:00
Yari Polla
fc300d1a28 taskswitcher: implement left/right swipe gesture 2022-05-03 01:38:42 +02:00
Yari Polla
26aaa808b0 taskswitcher: disable input handlers while in gesture 2022-05-03 01:38:32 +02:00
Yari Polla
863485075c quicksettings: remove unused rightPadding property in MarqueeLabel 2022-04-30 15:16:02 +00:00
Yari Polla
e0ce7f3cec components: fix 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
Devin Lin
62e7dce24a kcm: Add reduced animation mode
Implement #190 reduced animations mode
2022-04-29 20:02:37 -04:00
Devin Lin
2201ebd1d7 Remove QtFeedback dependency 2022-04-29 18:59:14 -04:00
Devin Lin
3353cfc498 kcm: Add vibration setting for shell, and add vibrations
We can control shell vibrations from here, which can be replaced once there is a mechanism to control system-wide vibrations for QtFeedback.
2022-04-29 16:15:59 -04:00
Devin Lin
151bb9dbfc quicksettings: Fix delegate text size regression 2022-04-28 20:15:13 -04:00
Yari Polla
02bc67af81 taskswitcher: add delay for tasks reordering 2022-04-29 00:00:17 +00:00
Yari Polla
8f1289139f quicksettings: use MarqueeLabel for quicksettings status label 2022-04-28 21:04:19 +00:00
Yari Polla
6ebbf71ca1 components: implement marquee label component 2022-04-28 21:04:19 +00:00
Yari Polla
d75e8b6f78 taskswitcher: invert tasks ordering 2022-04-28 21:37:47 +02:00
Devin Lin
174843767f taskswitcher: Remove requestLastActivatedReorderDelay calls
This was removed upstream https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1661
2022-04-26 14:13:52 -04:00
Laurent Montel
401620e365 Fix some qt6 compile errors 2022-04-24 13:44:41 +02:00
Nicolas Fella
6099bf491f Use undeprecated install dirs
Using kde-dev-scripts/kf5/cmakelists_install_vars.pl
2022-04-21 01:27:43 +00:00
Yari Polla
de1b92e0c2 taskswitcher: add support for task reordering based on opening history 2022-04-13 15:04:55 +02:00
Devin Lin
f99e8ff037 homescreen: Don't animate if task switcher is visible 2022-04-11 17:43:38 -04:00
Devin Lin
4e95a4abc3 taskswitcher: Fix animations when opening from homescreen 2022-04-11 17:14:35 -04:00
Devin Lin
7871212461 mobileshell: Split out minimized geometry unset from window minimize 2022-04-11 16:47:20 -04:00
Devin Lin
8d43419803 taskswitcher: Use OutQuint animation curve for app activate animation
This feels less jumpy than InOutQuad
2022-04-11 16:34:25 -04:00
Devin Lin
84440498e0 taskswitcher: Fix double KWin & containment animation with windows
Fixes #136
2022-04-11 16:19:16 -04:00
Devin Lin
e120f19601 mobileshell: Remove active window timer length to be immediate
We don't need a long delay, the shortest possible one works as well.
2022-04-11 11:55:56 -04:00
Devin Lin
2deea1b4d0 components: Port Direction enum to c++ to improve load times
According to flame graph testing with qmlprofiler, this caused quite some overhead in QML.
2022-04-10 13:28:32 -04:00
Devin Lin
bbe9bbf94c widgets/mediaplayer: Add support for controlling multiple media sources
Implement #135
2022-04-08 21:48:42 -04:00
Devin Lin
55efc9165e widgets/notifications: Fix background clicking being on top of notifications 2022-04-08 17:02:25 -04:00
Devin Lin
b3884be926 actiondrawer: Dismiss on click on empty background area 2022-04-07 20:23:36 -04:00
Devin Lin
57192b772b actiondrawer: Add restricted permission mode, and implement on lockscreen 2022-04-07 14:11:08 -04:00
Devin Lin
3969973e51 mobileshell: Refactor and collapse stackBefore and stackAfter into ShellUtil 2022-04-07 10:52:12 -04:00
Devin Lin
629b10486a kcm: Use MobileShellSettings rather than custom implementation 2022-04-06 22:54:35 -04:00
Devin Lin
b905bafcb5 taskswitcher: Improve zoom animation and add cursor shape on tasks 2022-04-06 22:08:47 -04:00
Devin Lin
6830370b55 quicksettings: Scale animation on delegate tap 2022-04-06 21:55:06 -04:00
Devin Lin
3488d2b0f3 panel & taskpanel: Fix panel colour on homescreen when shell windows are open
Fixes #161
2022-04-06 21:18:47 -04:00
Devin Lin
3d9b344f52 taskswitcher: Add task zoom animation 2022-04-06 20:33:23 -04:00
Devin Lin
06b02473d6 homescreen: Fix zoom animation when going from homescreen to switcher 2022-04-06 20:33:06 -04:00
Devin Lin
192d36da46 quicksettings: Improve text contrast 2022-04-06 20:32:38 -04:00
Devin Lin
dd7bd6a18f volumeosd: Fix settings launch 2022-04-06 20:32:23 -04:00
Devin Lin
c8a366cbbd homescreen: Add scale animation when going to homescreen 2022-04-06 17:59:36 -04:00
Devin Lin
f861e2df3f mobileshell: Move KWayland related window functions to utility class 2022-04-06 17:18:20 -04:00
Devin Lin
cec4f412d7 actiondrawer: Use higher quicksettings text contrast 2022-04-06 13:48:17 -04:00
Devin Lin
5e48cb1cc1 homescreen: Fix stackBefore call 2022-04-06 13:40:28 -04:00
Devin Lin
2e6c1f837e homescreen: Collapse library into mobileshell and containment 2022-04-05 22:06:05 -04:00
Devin Lin
2f84b07bbc quicksettings: Add save and update timers so kcm ordering is always correct 2022-03-21 10:25:45 -04:00
Devin Lin
210042a6bf libmobileshell: Move back to QML plugin
Move from a C++ library + QML plugin to a QML plugin only for simplicity, since the homescreen switching architecture will be done from Plasma, and so use of the shell library only needs to be from QML.
2022-03-21 10:00:09 -04:00
Devin Lin
529f42296a homescreen: Ensure signal is listened to for closing startup feedback on error 2022-03-20 14:24:44 -04:00
Kevin Kofler
7e47315bcb mmplugin: set all connections to not autoconnect on setMobileDataEnabled(false) (#182)
When disabling mobile data, instead of setting the autoconnect flag to
true for the current active connection, set it to false for all
connections without exception. When reenabling mobile data, instead of
looking for a connection with autoconnect set, look for the connection
with the latest last use timestamp, set that one to autoconnect, and
also connect it immediately.

There should not be any connection with autoconnect enabled if mobile
data is disabled, because that makes NetworkManager reconnect it after a
reboot or a modem restart. The autoconnect state on the modem is
apparently lost on reboot.

Also change the SignalIndicator::mobileDataEnabled() getter to account
for the above.

Fixes #182.
2022-03-20 13:59:32 -04:00
Devin Lin
cf7e48e65c components/mobileshell: Move to libmobileshell library 2022-03-16 23:20:51 -04:00
Devin Lin
4b53b4da5c Revert "Add support for task reordering based on ordering history"
This reverts commit 3a09014754
2022-03-12 22:17:12 +00:00
Yari Polla
3a09014754 Add support for task reordering based on ordering history 2022-03-12 21:56:13 +01:00
Devin Lin
b92ba78e00 mobileshell: Move quicksettings to folder 2022-03-10 23:52:53 -05:00
Devin Lin
5e04c65550 Add option to toggle qt quick compiler 2022-03-10 22:40:21 -05:00
Aleix Pol
a6a331f469 Remove last two uses of PlasmaComponents 2.0
They were only used for Labels
2022-03-05 18:53:39 +00:00
Devin Lin
e1d1f8ee1a components/mobileshell: Use qrc and qtquickcompiler to improve load times
Also enables us to check for QML syntax errors and compile time.
2022-03-05 13:52:26 -05:00
Devin Lin
5cb056dd3e actiondrawer: Darken landscape drawer background to be easier to read 2022-02-19 22:08:58 -05:00
Devin Lin
70ff2fd0e4 homescreen: Fix app drawer not interactable in empty space
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/176, where spaces without app delegates are not able to be interacted with. All usages of QQC2.Control should be replaced by MobileShell.BaseItem, which prevents flicks from being stolen from parent flickables.
2022-02-18 17:54:25 -05:00
Devin Lin
8f9f722ca7 navigationpanel: Add ability to toggle between gesture only and shown navigation panel modes
Addresses: https://invent.kde.org/plasma/plasma-phone-components/-/issues/140
2022-02-13 04:23:57 +00:00
Devin Lin
6d6b38ac46 quicksettings: Add status for mobile data not being available 2022-02-12 23:08:28 -05:00
Devin Lin
0131710c23 mmplugin: Use NM autoconnect instead of wwanEnabled for mobile data
Add supported function
fix
fix
fix
fix
fix
fix
fix
fix
cleanup
fix
fix
fix
fix
2022-02-12 23:08:23 -05:00
Devin Lin
d9719b8845 lockscreen: Refactor swipe and use mobileshell notification component 2022-02-12 00:19:44 -05:00
Devin Lin
dca8064ca2 actiondrawer: Use passed in notifications model and settings 2022-02-11 17:50:17 -05:00
Devin Lin
27015d1749 taskswitcher: Ensure window is in maximized state when activating 2022-02-11 13:12:56 -05:00
Devin Lin
0dae893cd2 taskswitcher: Remove global variable calls 2022-02-11 13:09:19 -05:00
Devin Lin
b323a83add quicksettings: Make mobile data quick setting use NM API directly 2022-02-10 22:50:09 -05:00
Devin Lin
5660a9e016 mmplugin: Fix SIM being reported as locked when no sim is inserted 2022-02-10 22:13:25 -05:00
Aleix Pol
120d8904be Properly compare strings
No need to modify the strings to ignore the casing
2022-01-25 01:45:14 +01:00
Devin Lin
dd4000d838 homescreen: Don't disable flick tracking unnecessarily 2022-01-14 23:56:34 -05:00
Devin Lin
4b61f55b4a homescreen: Only close app drawer after startup feedback is fullscreen 2022-01-14 23:48:34 -05:00
Devin Lin
e555a444aa widgets/krunner: Fix keyboard focus being invoked on shell startup 2022-01-13 19:57:27 -05:00
Devin Lin
626089800a homescreen: Close app drawer when app is launched 2022-01-13 19:42:01 -05:00
Devin Lin
dd3303818b homescreen: Reset app drawer position when opened 2022-01-13 19:41:34 -05:00
Devin Lin
db29d4b236 widgets/krunner: No predictive text 2022-01-09 18:53:39 +00:00
Devin Lin
f7554adf8f widgets/krunner: Ensure plasma style is being followed 2022-01-08 15:00:16 -05:00
Devin Lin
db8ab82778 widgets/krunner: Fix keyboard focus 2022-01-03 11:49:18 -05:00
Devin Lin
e46381fdb5 widgets/krunner: Fix icon name 2022-01-03 01:03:19 -05:00
Devin Lin
8f732c330f actiondrawer: Fix widget references 2022-01-03 00:36:58 -05:00
Devin Lin
f22a1e0b8c homescreen: Add search widget 2022-01-03 00:25:44 -05:00
Devin Lin
f849a5fea5 homescreen: Adjust swipe threshold to be more lenient for horizontal swipes 2022-01-01 21:09:10 -05:00
Devin Lin
29bbb1a178 homescreen: Fix applet removal not persisting 2022-01-01 20:49:49 -05:00
Devin Lin
f3925f2ac0 homescreen: Fix applet edit function calls 2022-01-01 00:37:03 -05:00
Devin Lin
68b7d3897e homescreen: Fix non-existent property calls and remove unused file 2021-12-31 23:26:44 -05:00
Devin Lin
058de1555e homescreen: Fix removing apps from homescreen not persisting 2021-12-31 22:16:13 -05:00
Devin Lin
edb0b58309 homescreen: Remove non-existent signal emit 2021-12-31 10:31:56 -05:00
Devin Lin
24b03d0e49 startupfeedback: Fix property call 2021-12-31 10:31:29 -05:00
Devin Lin
7c710d46f3 taskswitcher: Bring back task preview if it doesn't close within 3 secs 2021-12-31 00:18:35 -05:00
Devin Lin
aff0064b62 homescreen: Fix favourites strip swipe 2021-12-30 21:11:21 -05:00
Devin Lin
3e8fa8f8e8 Fix licensing header 2021-12-30 19:51:51 -05:00
Devin Lin
57a4a28fe3 homescreen: Extract out state management to HomeScreenState and use single flickable 2021-12-30 19:49:08 -05:00
Devin Lin
46c1aa8fc8 startupfeedback: Ensure touch events don't go behind 2021-12-29 21:01:33 -05:00
Devin Lin
1d3ffa707d startupfeedback: Optimize animation playback on slower devices with delay 2021-12-29 10:47:19 -05:00
Devin Lin
906c169f26 startupnotifier: Import and integrate into homescreen for performance 2021-12-29 00:08:32 -05:00
Devin Lin
76b923f48d taskswitcher: Close if window has popped up in front 2021-12-28 21:56:40 -05:00
Devin Lin
516c690038 actiondrawer: Fix non-existent function call 2021-12-27 19:59:25 -05:00
Devin Lin
6e658fee1a taskswitcher: Cleanup 2021-12-27 19:58:21 -05:00
Devin Lin
484e088508 actiondrawer: Reduce background opacity if no notifications are shown 2021-12-27 19:13:35 -05:00
Devin Lin
7adea6fd3d actiondrawer: Ensure that new swipes always re-open the overlay 2021-12-27 19:03:00 -05:00
Devin Lin
fd88eb36e9 taskswitcher: Add darken effect for not centered tasks 2021-12-27 19:01:01 -05:00
Devin Lin
264de1b6df taskswitcher: Apply scale on entire task list, rather than single task 2021-12-27 18:29:14 -05:00
Devin Lin
cccde09f3d taskswitcher: Remove QQC2.Control from Task to avoid touch conflicts 2021-12-27 18:02:41 -05:00
Devin Lin
a75349f93e taskswitcher: Add icon behind thumbnail preview in case it doesn't load 2021-12-27 13:07:34 -05:00
Devin Lin
2f27eb848d taskswitcher: Fix tapping outside of delegate to close 2021-12-27 10:05:05 -05:00
Devin Lin
1c81cd34b4 taskswitcher: Rewrite without listview and extract state to TaskSwitcherState 2021-12-27 01:35:24 -05:00
Devin Lin
7a1a32724b homescreen: Fix swipe down gesture conflict with taskpanel 2021-12-26 00:21:42 -05:00
Devin Lin
54f10f9f13 mobileshell/taskswitcher: Remove unneeded gesture area 2021-12-25 13:33:40 -05:00
Devin Lin
cb30fd1a06 homescreen: Fix negative cache buffer on GridViewAppDrawer 2021-12-25 00:00:27 -05:00
Devin Lin
4057122fb0 taskswitcher: Move component to homescreen and remove popup window 2021-12-24 22:31:33 -05:00
Devin Lin
2d87bb3e65 taskpanel: Extract navbar and task switcher to components/mobileshell 2021-12-24 19:18:38 -05:00
Devin Lin
25b010e006 components/mobileshell: Remove missing component 2021-12-24 04:00:28 +00:00
Devin Lin
58f59e24b9 Move mmplugin to components folder 2021-12-23 11:17:03 -05:00
Devin Lin
4a3f855173 REUSE compliance, add check to CI, drop unused components 2021-12-23 16:02:41 +00:00
Devin Lin
6653ad6e54 panel: Refactor panel and implement blue ocean mockups 2021-12-22 23:29:00 +00:00
Devin Lin
67863e7e54 homescreen: Remove non-existent function call 2021-11-29 23:18:18 +00:00
Devin Lin
dcbdf8f101 Add overswipe gesture 2021-10-28 22:08:36 -04:00
Devin Lin
90138d5442 Revamp task switcher 2021-10-28 22:08:36 -04:00
Devin Lin
25e0f99f43 homescreen: Add swipe down panel gesture 2021-10-28 21:54:52 -04:00
Aleix Pol
0cd4f91ec4 Port away from PlasmaComponents 2.0 on most places 2021-10-22 16:34:03 +00:00
Devin Lin
b091ce2ac3 Rework app drawer layout and open/close behaviour logic 2021-10-22 15:48:31 +00:00
Devin Lin
7df05e09be panel: Rework panel layout, and refactoring 2021-10-12 13:50:36 +00:00
Aleix Pol
3fc96fbc25 Close the application started notification when the job failed to open
So far, we leave the splash on which is confusing.

https://invent.kde.org/teams/plasma-mobile/issues/-/issues/70
2021-09-16 06:20:33 +00:00
Aleix Pol
4bba6ac402 units -> PlasmaCore.Units 2021-09-13 18:59:35 +02:00
Aleix Pol
30344fd697 drawer: Fix animation
Don't use tapping on an application to start it like the start of a
drawer dragging session
2021-09-10 02:51:01 +00:00
Aleix Pol
a97fe3bc02 Place the external items at the end 2021-07-21 13:36:43 +00:00
Aleix Pol
dd888a707f Make it possible for QuickSettings to be created in a KPackage
Move the NightColor one into a KPackage to prove it
2021-07-21 13:36:43 +00:00
Aleix Pol
9ac1cc139e Move QuickSettingsModel to C++ 2021-07-21 13:36:43 +00:00
Nicolas Fella
204207f2a9 Remove dead code
It's unused.
2021-07-14 17:44:15 +00:00
Nicolas Fella
992950085d Simplify apps model
The current code iterates over each service group separately and adds its apps. This leads to duplicate entries when an app is in multiple groups.

Since we are not actually interested in the group info, only in a flat list of all apps with some filters, we can simplify this.
2021-06-11 17:44:38 +00:00
Aleix Pol
d332582328 Port away from the global "theme" object to PlasmaCore.Theme
Like we've done for the rest of Plasma
2021-06-10 16:14:41 +02:00
Aleix Pol
182d7501d0 OpenDrawerButton: Use a colour that exists 2021-06-10 16:13:25 +02:00
Nicolas Fella
c9d1d737aa Use alternateBackgroundColor for OpenDrawerButton
With a dark the current one dark whereas the controls below are all bright
2021-05-14 05:01:19 +00:00
Marco Martin
7c9549b7da export launcherDelegate property 2021-05-05 17:37:31 +02:00
Marco Martin
fb920a3f9f manage the case of appDrawer not present 2021-05-05 16:46:54 +02:00
Marco Martin
77291587bd port stackbefore/stackAfter out of plasmoid.nativeInterface 2021-05-05 16:19:55 +02:00
Marco Martin
840d50047a export model for launcherrepeater 2021-05-05 15:59:26 +02:00
Marco Martin
690abebfd5 Make components out of the homescreen
Move most of the homescreen pieces in a QML import
that can be reused making it easier to do alternative homescreens
2021-05-05 12:31:08 +02:00
Marco Martin
8483bcbe0f fix controlling from the bottom panel 2021-05-04 12:46:27 +02:00
Nicolas Fella
21a3bcafe4 Convert license headers to SPDX 2021-03-02 22:45:25 +01:00
Marco Martin
a1b7ef5d36 minimize to launcher when the switcher is not visible 2020-07-30 17:20:07 +02:00
Marco Martin
ece092bf98 croll up homescreen when there are no tasks 2020-07-23 17:09:37 +02:00
Marco Martin
3f32a18b62 make use of HomeScreenControls 2020-07-22 17:17:10 +02:00
Marco Martin
7e6f6b063e proper module name 2020-07-22 16:18:51 +02:00
Marco Martin
6d0265c3e2 add mobile shell private components
this will be used for inter-containment communication between the
panels and the homescreen
2020-07-22 16:13:20 +02:00
Marco Martin
77ae2a21f0 remove local fullscreenpanel component 2019-09-18 15:31:04 +02:00
Jonah Brüchert
47bcdee043 Modernize using clang-tidy 2018-12-31 04:13:55 +01:00
Michael Eden
9e68bc049b Improve dialer UI and format phone number
Summary:
This makes the buttons more evenly spaced and formats the number as you type!

old: {F6084821}
new (updated): {F6084822}

The plan is to bring the entire dialer page down to about half its current size to support searching through contacts as one dials a number.

Reviewers: bshah, #plasma:_mobile, mart

Reviewed By: #plasma:_mobile, mart

Subscribers: ngraham

Differential Revision: https://phabricator.kde.org/D13936
2018-08-02 15:48:21 -04:00
Bhushan Shah
7af3e39cd7 Merge branch 'master' into bshah/stuff 2018-02-12 21:16:14 +05:30
Marco Martin
57a016320b use showFullScreen() instead of visible=true 2018-02-12 16:37:35 +01:00
Bhushan Shah
eb6b01b558 Don't fullscreen windows from the showEvent
Martin says this probably results in the loops, and setting window state
to fullscreen from constructor should be enough.
2018-02-12 14:07:12 +05:30
Bhushan Shah
0d626dc7ad Some changes
- uncomment to make it frameless window hint
- set window state to fullscreen
2018-02-11 16:15:57 +05:30
Bhushan Shah
02fd43edb8 use wayland to fullscreen and skip taskbar
doesn't work for now
2018-02-10 19:12:38 +05:30
Marco Martin
2a91ee4e21 install qmldir 2017-11-13 14:49:57 +01:00
Marco Martin
9ae7d849a8 move the mobileshell import here, without paged icons 2017-11-08 12:25:15 +01:00