ExtensionSystem Namespace
Przestrzeń nazw ExtensionSystem zawiera klasy należące do podstawowego systemu wtyczek. Więcej...
| Header: | #include <ExtensionSystem> |
Klasy
| class | IPlugin |
| struct | PluginArgumentDescription |
| struct | PluginDependency |
| class | PluginDetailsView |
| class | PluginErrorView |
| class | PluginManager |
| class | PluginSpec |
| class | PluginView |
Funkcje
| Result | invoke(QObject *target, const char *slot, const Args &... args) |
Szczegółowy opis
Podstawowy system rozszerzeń zawiera menedżer wtyczek i klasy pomocnicze, a także interfejs IPlugin, który musi zostać zaimplementowany przez dostawców wtyczek.
Klasy
klasa IPlugin
Klasa IPlugin jest abstrakcyjną klasą bazową, którą należy zaimplementować osobno dla każdej wtyczki. Więcej...
klasa PluginArgumentDescription
Klasa PluginArgumentDescription przechowuje listę opisów argumentów wiersza poleceń, które przetwarza wtyczka. Więcej...
klasa PluginDependency
Klasa PluginDependency zawiera identyfikator oraz wymagany numer kompatybilnej wersji zależności wtyczki. Więcej...
klasa PluginDetailsView
Klasa PluginDetailsView implementuje widżet wyświetlający zawartość pliku „ PluginSpec ”. Więcej...
klasa PluginErrorView
Klasa PluginErrorView implementuje widżet wyświetlający stan i komunikat o błędzie obiektu PluginSpec. Więcej...
klasa PluginManager
Klasa PluginManager implementuje podstawowy system wtyczek, który zarządza wtyczkami, ich cyklem życia oraz zarejestrowanymi obiektami. Więcej...
klasa PluginSpec
Klasa PluginSpec zawiera informacje o metadanych wbudowanych w wtyczkę oraz informacje o jej aktualnym stanie. Więcej...
klasa PluginView
Klasa PluginView implementuje widżet, który wyświetla listę wszystkich wtyczek oraz ich stan. Więcej...
Dokumentacja funkcji
template <typename Result, typename... Args> Result ExtensionSystem::invoke(QObject *target, const char *slot, const Args &... args)
Wywołuje metodę ` slot ` na obiekcie ` target `, przekazując argumenty ` args ` według nazw za pośrednictwem systemu metod meta biblioteki Qt.
Zwraca wynik wywołania mety.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.