cut
1.2.1-pre1
|
Collection of widget plugins. More...
#include <CutWidgetsCollection.hpp>
Public Member Functions | |
CutWidgetsCollection (QObject *parent=0) | |
Constructor for widget plugin collection. More... | |
virtual QList< QDesignerCustomWidgetInterface * > | customWidgets () const |
Returns the list of widget plugins. More... | |
Collection of widget plugins.
Wraps together all the CUT Widgets in one library.
This Collection class groups in a QList container all plugins that enables Qt Designer to be aware of CUT widgets. This collection implements the QDesignerCustomWidgetCollectionInterface, which enables Qt Designer to query this collection.
The collection of plugins is hardcoded.
|
explicit |
Constructor for widget plugin collection.
It creates new widget plugins and appends them to the m_widgets QList.
Constructs the widget collection of CUT with parent as object parent. The parent of an object may be viewed as the object's owner. In the case of widget collections, an internal QObject of Qt Designer application will act as parent. The parent is in charge of destruction of its childs.
parent | Pointer to QObject that will act as parent of this collection. |
|
virtual |
Returns the list of widget plugins.
Used by Qt Designer.
The contents of the CUT widget collection is hardcoded its constructor.