Alexander Lohnau
bacfccd323
applets: Use K_PLUGIN_CLASS_WITH_JSON instead of K_EXPORT_PLASMA_APPLET_WITH_JSON
...
Task: https://phabricator.kde.org/T14542
2021-06-19 06:52:49 +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
0be66f024e
remove last remains of krunnerin homescreen directly
2021-05-04 14:14:45 +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
8ece4519b1
limit applet size to view size
2021-05-04 12:46:27 +02:00
Marco Martin
8cfdb80661
remove useless debug
2021-05-04 12:46:27 +02:00
Marco Martin
354ec7c8a5
restore contentY->offset sync
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
a79a7f31f8
dismiss applet edit mode by touch
2021-05-04 12:46:27 +02:00
Marco Martin
bd55057933
keep edit mode when drag stops
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
d7af742066
fix the horizontal or vertical scroll decision
2021-05-04 12:46:27 +02:00
Marco Martin
c3959d056d
clip
2021-05-04 12:46:27 +02:00
Marco Martin
0576a15acc
remove debug message
2021-05-04 12:46:27 +02:00
Marco Martin
9848184226
remove the spacer when dropping
2021-05-04 12:46:27 +02:00
Marco Martin
8a2d7edbb7
respect screen boundaries
2021-05-04 12:46:27 +02:00
Marco Martin
91e763d4a3
remove bottom margin from page indicator
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
ee6f80de62
fix auto scrolling with drag and drop
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
6366d5bfaf
more natural switching behavior
2021-05-04 12:46:27 +02:00
Marco Martin
f8cc7100aa
don't let horizontal scroll over limits
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
3ce188ee46
horizontal auto scroll works better
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
Alexander Lohnau
a5df3ebdcb
clang-tidy: Force braces around statements
2021-03-19 08:54:50 +01:00
Alexander Lohnau
854742efcc
Run clang-format
...
If you want git blame to ignore formatting revisions run:
git config blame.ignoreRevsFile .git-blame-ignore-revs
2021-03-19 08:52:24 +01:00
Alexander Lohnau
88ef5ea9b7
GIT_SILENT Prevent clang-format uglification
2021-03-19 08:51:58 +01: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
Devin Lin
7a740a2f5d
Tweak app drawer behavior
...
- Only trigger the app drawer open/close animation if the flick goes over an eighth of the screen so that small flicks do not trigger it
- Adjust easing curve to be OutQuad so that fast flicks don't feel slow (have to slow to a stop, and then animation triggers)
- Increase animation duration to account for OutQuad curve
- Animate opacity of application icons as the app drawer comes in and out
2021-02-22 16:08:43 +00: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
l10n daemon script
006cb7f865
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"
2021-02-18 07:54:49 +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
Yuri Chornoivan
cd4675b33e
Add i18n()
2021-02-10 19:00:51 +02:00
Marco Martin
4458d7355e
delay scroll reset after launch
2021-02-03 17:19:53 +01:00
Nicolas Fella
8f92f6b4d6
Use versionless Qt cmake target
...
This makes it easier to build against both Qt5 and Qt6
GIT_SILENT
2021-01-30 17:23:02 +01:00
l10n daemon script
7c6cabf4a1
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"
2020-12-20 06:16:31 +01:00