KanoopGuiQt 1.3.0
Qt GUI utility library
Loading...
Searching...
No Matches
WidgetPluginCollection Class Reference

Qt Designer plugin collection exposing KanoopGuiQt custom widgets. More...

#include <widgetplugincollection.h>

+ Inheritance diagram for WidgetPluginCollection:
+ Collaboration diagram for WidgetPluginCollection:

Public Member Functions

 WidgetPluginCollection (QObject *parent=nullptr)
 Construct and populate the list of custom widget descriptors.
 
virtual QList< QDesignerCustomWidgetInterface * > customWidgets () const override
 Return all custom widget descriptors in this collection.
 

Detailed Description

Qt Designer plugin collection exposing KanoopGuiQt custom widgets.

WidgetPluginCollection implements QDesignerCustomWidgetCollectionInterface so that all custom KanoopGuiQt widgets are registered with Qt Designer as a single plugin. The list of widgets is populated in the constructor.

Definition at line 15 of file widgetplugincollection.h.

Constructor & Destructor Documentation

◆ WidgetPluginCollection()

WidgetPluginCollection::WidgetPluginCollection ( QObject *  parent = nullptr)
explicit

Construct and populate the list of custom widget descriptors.

Parameters
parentOptional QObject parent

Member Function Documentation

◆ customWidgets()

virtual QList< QDesignerCustomWidgetInterface * > WidgetPluginCollection::customWidgets ( ) const
overridevirtual

Return all custom widget descriptors in this collection.

Returns
List of QDesignerCustomWidgetInterface pointers

The documentation for this class was generated from the following file: