#include "cc_tools_qt/PluginProperties.h"
Accumulation of various properties of Plugin.
|
using | ConfigWidgetCreateFunc = std::function< QWidget *()> |
| Type of callback to be used when a widget responsible to configure the plugin needs to be allocated. The allocated widget will be owned by the application. The plugin won't need to delete it explicitly.
|
|
using | FiltersCreateFunc = std::function< ListOfFilters()> |
| Type of callback to be used to allocate a Filter objects.
|
|
using | GuiActionsCreateFunc = std::function< ListOfGuiActions()> |
| Type of callback to be used to allocate QAction to be displayed in the main toolbar of GUI application.
|
|
using | ListOfFilters = QList< FilterPtr > |
| List of Filter objects.
|
|
using | ListOfGuiActions = QList< QAction * > |
| List of dynamically allocated QAction objects.
|
|
using | ProtocolCreateFunc = std::function< ProtocolPtr()> |
| Type of callback to be used to allocate a Protocol object.
|
|
using | SocketCreateFunc = std::function< SocketPtr()> |
| Type of callback to be used to allocate a Socket object.
|
|
◆ GuiActionsCreateFunc
Type of callback to be used to allocate QAction to be displayed in the main toolbar of GUI application.
The allocated QAction objects will be owned by the application. The plugin won't need to delete them explicitly.
◆ getCustomProperty()
QVariant cc_tools_qt::PluginProperties::getCustomProperty |
( |
const QString & |
name | ) |
const |
Get custom property.
- Parameters
-
- Returns
- Value of the property
◆ setConfigWidgetCreateFunc()
Assign callback for configuration widget creation.
- Parameters
-
[in] | func | Callback function |
- Returns
*this
◆ setCustomProperty()
PluginProperties & cc_tools_qt::PluginProperties::setCustomProperty |
( |
const QString & |
name, |
|
|
QVariant && |
val |
|
) |
| |
Set custom property.
- Parameters
-
[in] | name | Name of the property |
[out] | val | Property value |
◆ setFiltersCreateFunc()
Assign callback for Filter allocation.
- Parameters
-
[in] | func | Callback function |
- Returns
*this
◆ setGuiActionsCreateFunc()
Assign callback for list of QAction allocation.
- Parameters
-
[in] | func | Callback function |
- Returns
*this
◆ setProtocolCreateFunc()
Assign callback for Protocol allocation.
- Parameters
-
[in] | func | Callback function |
- Returns
*this
◆ setSocketCreateFunc()
Assign callback for Socket allocation.
- Parameters
-
[in] | func | Callback function |
- Returns
*this
The documentation for this class was generated from the following file: