Add Platform::focusedView() and respective signal

Implemented as QGuiApplication::focusObjectChanged() for Qt,
other frontends will have their own impl.
This commit is contained in:
Sergio Martins
2022-04-05 21:53:52 +01:00
parent 43faf85eb4
commit 3ba4bc2d08
5 changed files with 49 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ public:
Platform_qtquick();
~Platform_qtquick() override;
const char *name() const override;
std::shared_ptr<ViewWrapper> focusedView() const override;
};
}