Commit graph

98 commits

Author SHA1 Message Date
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
Marco Martin
b98c7ec224 remove dead code 2021-05-04 12:46:27 +02:00
Marco Martin
7c9dbf08f2 proepr positioning of fav strip 2021-05-04 12:46:27 +02:00
Marco Martin
c8078b8288 make the favorites slide together all the rest 2021-05-04 12:46:27 +02:00
Marco Martin
86b8269b55 proper margin for the nav pages 2021-05-04 12:46:27 +02:00
Marco Martin
73efc8a59d show last page with a + when dragging 2021-05-04 12:46:27 +02:00
Marco Martin
7b59670deb put the footer in the scroll away area 2021-05-04 12:46:27 +02:00
Marco Martin
434ec6fdf9 clicking panel home button goes to page 0 2021-05-04 12:46:27 +02:00
Marco Martin
66bf27b9e4 let LauncherRepeater know about thefavorite strip 2021-05-04 12:46:27 +02:00
Marco Martin
e27cdfdf55 mode droparea and appletslayout in own component
still casuses warnings and not fully functional but mostly works
2021-05-04 12:46:27 +02:00
Marco Martin
e27b45574c support auto scroll with actual dnd 2021-05-04 12:46:27 +02:00
Marco Martin
dff5809c59 better management of dragging to new pages 2021-05-04 12:46:27 +02:00
Marco Martin
70805d04eb finished moving the horizontal flicking in component 2021-05-04 12:46:27 +02:00
Marco Martin
5393452390 move the main flickable in own file 2021-05-04 12:46:27 +02:00
Marco Martin
401efee30f make containment a focusscope 2021-05-04 12:46:27 +02:00
Marco Martin
9c080a2676 snap for horizontal page scrolling 2021-05-04 12:42:26 +02:00
Marco Martin
e4d297dd73 multi page horizontal scrolling
possibility of dragging icons and applets beyon the horizontal screen
boundaries, creating multiple pages that can be horizontally flicked
2021-05-04 12:42:14 +02:00
Marco Martin
66f13653ae remove code pushed by mistake 2021-03-05 14:37:17 +01:00
Marco Martin
5814fd9696 apporder reflects favorites
keep in sync the first items of apporder which will always be favorites.

this should fix the favorites spontaeous reordering that sometimes
happen
2021-03-05 14:37:17 +01:00
Nicolas Fella
21a3bcafe4 Convert license headers to SPDX 2021-03-02 22:45:25 +01:00
Marco Martin
40f6abd78e enable the drag handler only when the containment has focus
this way it doesn't steal events anymore from the widget explorer
2021-02-22 14:59:15 +01:00
Marco Martin
ed91354960 respect max favorite count when dropping 2021-02-16 13:37:50 +01:00
Marco Martin
00d63af2da More familiar behavior for the App Drawer
This makes the behavior of the app drawer a bit more familiar and
slightly more similar to Android for now:

* The drawer always contains every application
* Applications are always alphabetically ordered
* The drawer opens completely, not staying stuck in "in between" states
* is possible to drag more copies of a single app on the homescreen/favorites
* possible to remove an icon from the homescreen or favorites

Two things have been prepared in there (but are material for 5.22 only,
so not finished)

* Things have been reordered such in a way that makes easy for most of
the qml files to become components to make easy for people to build
their own customized homescreen
* basic infrastructure is there to allow for multiple horizontal pages
scroll, though not implemented yet as needs changes to plasma-workspace
layouting code beforehand
2021-02-15 16:25:39 +05:30
Marco Martin
4458d7355e delay scroll reset after launch 2021-02-03 17:19:53 +01:00
Marco Martin
bb3225d4b5 bigger hit area for the up arrow 2020-08-20 17:15:56 +02:00
Marco Martin
54bb4a3946 no side borders 2020-08-13 12:07:46 +02:00
Marco Martin
b71adfeef3 custom look for scroll indicator 2020-08-13 11:52:53 +02:00
Marco Martin
93d8e2c130 up arrow becomes down 2020-08-13 11:45:05 +02:00
Marco Martin
f30008b3d9 a dark overlay over the main icons 2020-08-13 11:17:06 +02:00
Marco Martin
0eed8d3a90 add margin before search bar 2020-07-27 11:58:22 +02:00
Marco Martin
12c34a7a6a things go under the top panel 2020-07-23 17:12:19 +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
c8d9ef81d8 flick after manual drag 2020-07-22 15:18:52 +02:00
Marco Martin
a5d1f4d880 at least 4 favorites 2020-07-21 12:35:50 +02:00
Marco Martin
d6bd455b1e disable the scrollindicator
for some reason it seems interactive on the phone
2020-07-21 12:32:32 +02:00
Marco Martin
dae850dbc9 drag vertically also on the launcher strip 2020-07-21 12:23:50 +02:00
Marco Martin
cbdb6b6f05 reset position when launched 2020-07-16 14:51:58 +02:00
Marco Martin
ea01f911c5 remove click feedback anim 2020-02-11 16:14:54 +01:00
Marco Martin
91c92f8fa1 remove local feedbackWindow 2020-02-11 13:57:34 +01:00
Jonah Brüchert
842e9dd91a homescreen: Add gradient to seperator 2020-02-10 09:19:53 +00:00
Marco Martin
477d6c1c79 make sure to cancel edit when the user moves 2020-02-07 13:49:09 +01:00
Marco Martin
323ae5e50b consider bottom panel 2020-02-06 21:21:43 +01:00
Marco Martin
2ef0b5e15b no background for the icons 2020-02-06 16:57:49 +01:00
Marco Martin
ea57d633bb move krunner in a plasmoid 2020-02-05 20:25:52 +01:00
Marco Martin
38459f3e78 bottom panel transparent when showing desktop 2019-10-11 11:49:18 +02:00
Marco Martin
592481da73 fuse the top panel with krunner 2019-10-04 12:59:58 +02:00
Marco Martin
843b01508f get rid of old homescreen 2019-09-04 18:39:31 +02:00
Marco Martin
56dc2ad23f better icon sizing 2019-02-07 12:49:06 +01:00