Start the Qt Quick rewrite of the launcher in qt/
A QML UI with feature parity as the goal: home grid that fills the screen with dense packing and pinned cells, drag to reorder or into an empty cell, widget resize handles snapping to the grid, the app drawer with search and long-press menu, sheets, and the widget picker. HomeActivity (a QtActivity) keeps the Android parts and hosts native widget views over the QML slots, as the WebView shell did. A desktop backend serves the demo data, so qt/tests/e2e.cpp drives the UI end to end offscreen; CI runs it and builds an APK that installs next to the current launcher as ultra Home (Qt). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
This commit is contained in:
33 files changed
+3680
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <QQuickImageProvider>
|
||||
|
||||
// image://icon/a:COMPONENT is an app's icon, image://icon/w:PROVIDER a widget's.
|
||||
// On a phone HomeActivity draws them; on a desktop they are lettered discs.
|
||||
// QML asks with the key percent-encoded and an optional "?n" suffix that only
|
||||
// busts the pixmap cache after the app list changes.
|
||||
class IconProvider : public QQuickImageProvider {
|
||||
public:
|
||||
IconProvider() : QQuickImageProvider(QQuickImageProvider::Image) {}
|
||||
QImage requestImage(const QString &id, QSize *size, const QSize &requested) override;
|
||||
};
|
||||
Reference in new issue
Block a user