cumbia-qtcontrols 1.x
Qt widgets on top of the cumbia C++ library
|
The QuXtraWidgetPluginLoader class finds the plugin that exports a widget with a given file name. More...
#include <quxtrawidgetpluginloader.h>
Public Member Functions | |
QuXtraWidgetPluginLoader () | |
virtual | ~QuXtraWidgetPluginLoader () |
bool | isAvailable (const QString &classnam) |
QuXtraWidgetPluginLoader::isAvailable returns true if the widget with the given class name is made provided by one of the available extrawidget plugins. More... | |
QuXtraWidgetPluginI * | getPlugin (const QString &classnam) const |
The QuXtraWidgetPluginLoader class finds the plugin that exports a widget with a given file name.
The plugin file names providing extra widgets (see the QuXtraWidgetPluginI) must be in one of the following forms:
More generally, the file name must contain the following regular expression:
that matches somewhere in the name one of the keywords xwidgetplugin, xtrawidgetplugin, extrawidgetplugin with an optional dash between widget and plugin.
QuXtraWidgetPluginLoader::QuXtraWidgetPluginLoader | ( | ) |
|
virtual |
QuXtraWidgetPluginI * QuXtraWidgetPluginLoader::getPlugin | ( | const QString & | classnam | ) | const |
References QuXtraWidgetPluginI::catalogue(), and CuPluginLoader::getPluginAbsoluteFilePaths().
Referenced by isAvailable().
bool QuXtraWidgetPluginLoader::isAvailable | ( | const QString & | classnam | ) |
QuXtraWidgetPluginLoader::isAvailable returns true if the widget with the given class name is made provided by one of the available extrawidget plugins.
classnam | the widget name (widget class name) |
References getPlugin().