mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-27 06:33:08 +00:00
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
27 lines
796 B
CMake
27 lines
796 B
CMake
set(homescreen_SRCS
|
|
homescreen.cpp
|
|
applicationlistmodel.cpp
|
|
favoritesmodel.cpp
|
|
)
|
|
|
|
add_library(plasma_containment_phone_homescreen MODULE ${homescreen_SRCS})
|
|
|
|
kcoreaddons_desktop_to_json(plasma_containment_phone_homescreen package/metadata.desktop)
|
|
|
|
target_link_libraries(plasma_containment_phone_homescreen
|
|
Qt::Gui
|
|
KF5::Plasma
|
|
Qt::Qml
|
|
Qt::Quick
|
|
KF5::I18n
|
|
KF5::Service
|
|
KF5::KIOGui
|
|
KF5::Notifications
|
|
KF5::WaylandClient
|
|
)
|
|
|
|
|
|
install(TARGETS plasma_containment_phone_homescreen DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/applets)
|
|
|
|
plasma_install_package(package org.kde.phone.homescreen)
|
|
|