QDesignerMetaDataBaseItemInterface Class

The QDesignerMetaDataBaseItemInterface class provides an interface to individual items in Qt Designer's meta database. \inmodule QtDesigner \internal. More...

Header: #include <QDesignerMetaDataBaseItemInterface>

Public Functions

virtual ~QDesignerMetaDataBaseItemInterface()
virtual bool enabled() const = 0
virtual QString name() const = 0
virtual void setEnabled(bool enabled) = 0
virtual void setName(const QString &name) = 0
virtual void setTabOrder(const QList<QWidget *> &tabOrder) = 0
virtual QList<QWidget *> tabOrder() const = 0

Detailed Description

This class allows individual items in Qt Designer's meta-data database to be accessed and modified. Use the QDesignerMetaDataBaseInterface class to change the properties of the database itself.

Member Function Documentation

[virtual constexpr noexcept] QDesignerMetaDataBaseItemInterface::~QDesignerMetaDataBaseItemInterface()

Destroys the item interface to the meta-data database.

[pure virtual] bool QDesignerMetaDataBaseItemInterface::enabled() const

Returns whether the item is enabled.

See also setEnabled().

[pure virtual] QString QDesignerMetaDataBaseItemInterface::name() const

Returns the name of the item in the database.

See also setName().

[pure virtual] void QDesignerMetaDataBaseItemInterface::setEnabled(bool enabled)

If enabled is true, the item is enabled; otherwise it is disabled.

See also enabled().

[pure virtual] void QDesignerMetaDataBaseItemInterface::setName(const QString &name)

Sets the name of the item to the given name.

See also name().

[pure virtual] void QDesignerMetaDataBaseItemInterface::setTabOrder(const QList<QWidget *> &tabOrder)

Sets the tab order in the form using the list of widgets defined by tabOrder.

See also tabOrder().

[pure virtual] QList<QWidget *> QDesignerMetaDataBaseItemInterface::tabOrder() const

Returns a list of widgets in the order defined by the form's tab order.

See also setTabOrder().