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.

Public Functions


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.


Copyright © 2005 Trolltech Trademarks
Qt 4.0.0