mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-06-11 16:57:43 +00:00
Slide-out panel with brightness, volume, Wi-Fi, Bluetooth, and airplane mode. Fully gamepad-navigable; D-pad and stick input routed to the panel while open. System status bar (clock, battery, connectivity) added to game center header. Lutris games discovered from ~/.local/share/lutris/pga.db, Heroic from ~/.config/heroic/store_cache/ JSON files. Deduplication extended to cover all launcher sources. Desktop entries launched via KIO::ApplicationLauncherJob to expand Exec field codes. Generic commands parsed with KShell::splitArgs. SQLite uses RAII cleanup guard. Clamped SDL axis, rumble, and LED values. Renamed rumble params from frequency to intensity. GamepadManager uses singleton factory. setPlayerIndex checks SDL return. FavouritesBar popup uses screen virtualX/Y for multi-monitor. |
||
|---|---|---|
| .. | ||
| qml | ||
| applicationlistmodel.cpp | ||
| applicationlistmodel.h | ||
| CMakeLists.txt | ||
| delegatetoucharea.cpp | ||
| delegatetoucharea.h | ||
| dragstate.cpp | ||
| dragstate.h | ||
| favouritesmodel.cpp | ||
| favouritesmodel.h | ||
| folioapplication.cpp | ||
| folioapplication.h | ||
| folioapplicationfolder.cpp | ||
| folioapplicationfolder.h | ||
| foliodelegate.cpp | ||
| foliodelegate.h | ||
| foliosettings.cpp | ||
| foliosettings.h | ||
| foliowidget.cpp | ||
| foliowidget.h | ||
| homescreen.cpp | ||
| homescreen.h | ||
| homescreenstate.cpp | ||
| homescreenstate.h | ||
| Messages.sh | ||
| metadata.json | ||
| pagelistmodel.cpp | ||
| pagelistmodel.h | ||
| pagemodel.cpp | ||
| pagemodel.h | ||
| README.md | ||
| widgetcontainer.cpp | ||
| widgetcontainer.h | ||
| widgetsmanager.cpp | ||
| widgetsmanager.h | ||
| windowlistener.cpp | ||
| windowlistener.h | ||
Folio Homescreen
This is the paged homescreen for Plasma Mobile.
How it works
Most of the homescreen is in C++ in order to keep logic together, with QML only responsible for the display and user input.
As such, all the positioning and placement of delegates on the screen are top down from the model, as well as drag and drop behaviour.
TODO
- BUG: If an app gets uninstalled, the homescreen UI needs to ensure that delegates are updated
- BUG: landscape favourites bar duplication when dragging icon from it sometimes
- BUG: can't insert delegates in-between very well in landscape favourites bar
- BUG: drag and drop animation when rejected on a different page
- IMPROVEMENT: can make the touch area only the icon?
- FEATURE: Add folio/halcyon switcher in initial-start
- FEATURE: add widget import/export
- FEATURE: keyboard navigation
- FEATURE: touchpad navigation
- FEATURE: option to darken wallpaper
- FEATURE: option to turn off row/column swap
- PERFORMANCE: ensure that the widget config overlays are in loaders