|  | Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions |

# QDesignerWidgetDataBaseItemInterface Class Reference

The QDesignerWidgetDataBaseItemInterface class provides an interface that is used to access individual items in Qt Designer's widget database. More...

    #include <QDesignerWidgetDataBaseItemInterface>

Part of the QtDesigner module.

- List of all members, including inherited members

### Public Functions

- virtual ~QDesignerWidgetDataBaseItemInterface ()
- virtual QList<QVariant> defaultPropertyValues () const = 0
- virtual QString extends () const = 0
- virtual QString group () const = 0
- virtual QIcon icon () const = 0
- virtual QString includeFile () const = 0
- virtual bool isCompat () const = 0
- virtual bool isContainer () const = 0
- virtual bool isCustom () const = 0
- virtual bool isPromoted () const = 0
- virtual QString name () const = 0
- virtual QString pluginPath () const = 0
- virtual void setCompat ( bool compat ) = 0
- virtual void setContainer ( bool container ) = 0
- virtual void setCustom ( bool custom ) = 0
- virtual void setDefaultPropertyValues ( const QList<QVariant> & list ) = 0
- virtual void setExtends ( const QString & s ) = 0
- virtual void setGroup ( const QString & group ) = 0
- virtual void setIcon ( const QIcon & icon ) = 0
- virtual void setIncludeFile ( const QString & includeFile ) = 0
- virtual void setName ( const QString & name ) = 0
- virtual void setPluginPath ( const QString & path ) = 0
- virtual void setPromoted ( bool promoted ) = 0
- virtual void setToolTip ( const QString & toolTip ) = 0
- virtual void setWhatsThis ( const QString & whatsThis ) = 0
- virtual QString toolTip () const = 0
- virtual QString whatsThis () const = 0

## Detailed Description

The QDesignerWidgetDataBaseItemInterface class provides an interface that is used to access individual items in Qt Designer's widget database.

This class enables individual items in the widget database to be accessed and modified. Changes to the widget database itself are made through the QDesignerWidgetDataBaseInterface class.

## Member Function Documentation

### QDesignerWidgetDataBaseItemInterface::~QDesignerWidgetDataBaseItemInterface () `[virtual]`

Destroys the interface.

### QList<QVariant> QDesignerWidgetDataBaseItemInterface::defaultPropertyValues () const `[pure virtual]`

Returns a list of default values to be used as properties for the item.

### QString QDesignerWidgetDataBaseItemInterface::extends () const `[pure virtual]`

Returns the name of the widget that the item extends.

### QString QDesignerWidgetDataBaseItemInterface::group () const `[pure virtual]`

Returns the name of the group that the widget belongs to.

### QIcon QDesignerWidgetDataBaseItemInterface::icon () const `[pure virtual]`

Returns the icon used to represent the item.

### QString QDesignerWidgetDataBaseItemInterface::includeFile () const `[pure virtual]`

Returns the name of the include file that the widget needs when being built from source.

### bool QDesignerWidgetDataBaseItemInterface::isCompat () const `[pure virtual]`

Returns true if this type of widget is provided for compatibility purposes (e.g. Qt3Support widgets); otherwise returns false.

See also setCompat().

### bool QDesignerWidgetDataBaseItemInterface::isContainer () const `[pure virtual]`

Returns true if this widget is intended to be used to hold other widgets; otherwise returns false.

See also setContainer().

### bool QDesignerWidgetDataBaseItemInterface::isCustom () const `[pure virtual]`

Returns true if the widget is a custom widget; otherwise return false if it is a standard Qt widget.

See also setCustom().

### bool QDesignerWidgetDataBaseItemInterface::isPromoted () const `[pure virtual]`

Returns true if the widget is promoted; otherwise returns false.

Promoted widgets are those that represent custom widgets, but which are represented in Qt Designer by either standard Qt widgets or readily-available custom widgets.

See also setPromoted().

### QString QDesignerWidgetDataBaseItemInterface::name () const `[pure virtual]`

Returns the name of the widget.

### QString QDesignerWidgetDataBaseItemInterface::pluginPath () const `[pure virtual]`

Returns the path to use for the widget plugin.

### void QDesignerWidgetDataBaseItemInterface::setCompat ( bool compat ) `[pure virtual]`

If compat is true, the widget is handled as a compatibility widget; otherwise it is handled normally by Qt Designer.

See also isCompat().

### void QDesignerWidgetDataBaseItemInterface::setContainer ( bool container ) `[pure virtual]`

If container is true, the widget can be used to hold other widgets in Qt Designer; otherwise Qt Designer will refuse to let the user place other widgets inside it.

See also isContainer().

### void QDesignerWidgetDataBaseItemInterface::setCustom ( bool custom ) `[pure virtual]`

If custom is true, the widget is handled specially by Qt Designer; otherwise it is handled as a standard Qt widget.

See also isCustom().

### void QDesignerWidgetDataBaseItemInterface::setDefaultPropertyValues ( const QList<QVariant> & list ) `[pure virtual]`

Sets the default property values for the widget to the given list.

### void QDesignerWidgetDataBaseItemInterface::setExtends ( const QString & s ) `[pure virtual]`

### void QDesignerWidgetDataBaseItemInterface::setGroup ( const QString & group ) `[pure virtual]`

### void QDesignerWidgetDataBaseItemInterface::setIcon ( const QIcon & icon ) `[pure virtual]`

### void QDesignerWidgetDataBaseItemInterface::setIncludeFile ( const QString & includeFile ) `[pure virtual]`

### void QDesignerWidgetDataBaseItemInterface::setName ( const QString & name ) `[pure virtual]`

### void QDesignerWidgetDataBaseItemInterface::setPluginPath ( const QString & path ) `[pure virtual]`

### void QDesignerWidgetDataBaseItemInterface::setPromoted ( bool promoted ) `[pure virtual]`

If promoted is true, the widget is handled as a promoted widget by Qt Designer and will use a placeholder widget to represent it; otherwise it is handled as a standard widget.

See also isPromoted().

### void QDesignerWidgetDataBaseItemInterface::setToolTip ( const QString & toolTip ) `[pure virtual]`

### void QDesignerWidgetDataBaseItemInterface::setWhatsThis ( const QString & whatsThis ) `[pure virtual]`

### QString QDesignerWidgetDataBaseItemInterface::toolTip () const `[pure virtual]`

Returns the tool tip to be used by the widget.

### QString QDesignerWidgetDataBaseItemInterface::whatsThis () const `[pure virtual]`

Returns the "What's This?" help for the widget.