Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
The QDesignerWidgetDataBaseItemInterface class provides an interface that is used to access individual items in \QD's widget database. More...
#include <abstractwidgetdatabase.h>
Public Member Functions | |
QDesignerWidgetDataBaseItemInterface ()=default | |
virtual | ~QDesignerWidgetDataBaseItemInterface ()=default |
Destroys the interface. | |
virtual QString | name () const =0 |
Returns the name of the widget. | |
virtual void | setName (const QString &name)=0 |
virtual QString | group () const =0 |
Returns the name of the group that the widget belongs to. | |
virtual void | setGroup (const QString &group)=0 |
virtual QString | toolTip () const =0 |
Returns the tool tip to be used by the widget. | |
virtual void | setToolTip (const QString &toolTip)=0 |
virtual QString | whatsThis () const =0 |
Returns the "What's This?" help for the widget. | |
virtual void | setWhatsThis (const QString &whatsThis)=0 |
virtual QString | includeFile () const =0 |
Returns the name of the include file that the widget needs when being built from source. | |
virtual void | setIncludeFile (const QString &includeFile)=0 |
virtual QIcon | icon () const =0 |
Returns the icon used to represent the item. | |
virtual void | setIcon (const QIcon &icon)=0 |
virtual bool | isCompat () const =0 |
Returns true if this type of widget is provided for compatibility purposes (e.g. | |
virtual void | setCompat (bool compat)=0 |
If compat is true, the widget is handled as a compatibility widget; otherwise it is handled normally by \QD. | |
virtual bool | isContainer () const =0 |
Returns true if this widget is intended to be used to hold other widgets; otherwise returns false. | |
virtual void | setContainer (bool container)=0 |
If container is true, the widget can be used to hold other widgets in \QD; otherwise \QD will refuse to let the user place other widgets inside it. | |
virtual bool | isCustom () const =0 |
Returns true if the widget is a custom widget; otherwise return false if it is a standard Qt widget. | |
virtual void | setCustom (bool custom)=0 |
If custom is true, the widget is handled specially by \QD; otherwise it is handled as a standard Qt widget. | |
virtual QString | pluginPath () const =0 |
Returns the path to use for the widget plugin. | |
virtual void | setPluginPath (const QString &path)=0 |
virtual bool | isPromoted () const =0 |
Returns true if the widget is promoted; otherwise returns false. | |
virtual void | setPromoted (bool b)=0 |
If promoted is true, the widget is handled as a promoted widget by \QD and will use a placeholder widget to represent it; otherwise it is handled as a standard widget. | |
virtual QString | extends () const =0 |
Returns the name of the widget that the item extends. | |
virtual void | setExtends (const QString &s)=0 |
virtual void | setDefaultPropertyValues (const QList< QVariant > &list)=0 |
Sets the default property values for the widget to the given list. | |
virtual QList< QVariant > | defaultPropertyValues () const =0 |
Returns a list of default values to be used as properties for the item. | |
The QDesignerWidgetDataBaseItemInterface class provides an interface that is used to access individual items in \QD's widget database.
\inmodule QtDesigner
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.
Definition at line 19 of file abstractwidgetdatabase.h.
|
default |
|
virtualdefault |
Destroys the interface.
|
pure virtual |
Returns a list of default values to be used as properties for the item.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Returns the name of the widget that the item extends.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Returns the name of the group that the widget belongs to.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Returns the icon used to represent the item.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Returns the name of the include file that the widget needs when being built from source.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Returns true if this type of widget is provided for compatibility purposes (e.g.
Qt3Support widgets); otherwise returns false.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Returns true if this widget is intended to be used to hold other widgets; otherwise returns false.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Returns true if the widget is a custom widget; otherwise return false if it is a standard Qt widget.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
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 \QD by either standard Qt widgets or readily-available custom widgets.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Returns the name of the widget.
Implemented in qdesigner_internal::WidgetDataBaseItem.
Referenced by testing.tools.encode_pdf_filter._PdfStream::RegisterByName().
|
pure virtual |
Returns the path to use for the widget plugin.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
If compat is true, the widget is handled as a compatibility widget; otherwise it is handled normally by \QD.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
If container is true, the widget can be used to hold other widgets in \QD; otherwise \QD will refuse to let the user place other widgets inside it.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
If custom is true, the widget is handled specially by \QD; otherwise it is handled as a standard Qt widget.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Sets the default property values for the widget to the given list.
Implemented in qdesigner_internal::WidgetDataBaseItem.
Implemented in qdesigner_internal::WidgetDataBaseItem.
Implemented in qdesigner_internal::WidgetDataBaseItem.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Implemented in qdesigner_internal::WidgetDataBaseItem.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
If promoted is true, the widget is handled as a promoted widget by \QD and will use a placeholder widget to represent it; otherwise it is handled as a standard widget.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Returns the tool tip to be used by the widget.
Implemented in qdesigner_internal::WidgetDataBaseItem.
|
pure virtual |
Returns the "What's This?" help for the widget.
Implemented in qdesigner_internal::WidgetDataBaseItem.