cut  1.2.1-pre1
Public Member Functions | List of all members
CutWidgetsCollection Class Reference

Collection of widget plugins. More...

#include <CutWidgetsCollection.hpp>

Inheritance diagram for CutWidgetsCollection:

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...
 

Detailed Description

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.

Warning
This class is not intended for developers, and is internal to CUT.

Constructor & Destructor Documentation

◆ CutWidgetsCollection()

CutWidgetsCollection::CutWidgetsCollection ( QObject *  parent = 0)
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.

Parameters
parentPointer to QObject that will act as parent of this collection.

Member Function Documentation

◆ customWidgets()

CutWidgetsCollection::customWidgets ( ) const
virtual

Returns the list of widget plugins.

Used by Qt Designer.

The contents of the CUT widget collection is hardcoded its constructor.


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