![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <widgetdatabase_p.h>
Public Member Functions | |
| WidgetDataBaseItem (const QString &name=QString(), const QString &group=QString()) | |
| QString | name () const override |
| Returns the name of the widget. | |
| void | setName (const QString &name) override |
| QString | group () const override |
| Returns the name of the group that the widget belongs to. | |
| void | setGroup (const QString &group) override |
| QString | toolTip () const override |
| Returns the tool tip to be used by the widget. | |
| void | setToolTip (const QString &toolTip) override |
| QString | whatsThis () const override |
| Returns the "What's This?" help for the widget. | |
| void | setWhatsThis (const QString &whatsThis) override |
| QString | includeFile () const override |
| Returns the name of the include file that the widget needs when being built from source. | |
| void | setIncludeFile (const QString &includeFile) override |
| QIcon | icon () const override |
| Returns the icon used to represent the item. | |
| void | setIcon (const QIcon &icon) override |
| bool | isCompat () const override |
| Returns true if this type of widget is provided for compatibility purposes (e.g. | |
| void | setCompat (bool compat) override |
| If compat is true, the widget is handled as a compatibility widget; otherwise it is handled normally by \QD. | |
| bool | isContainer () const override |
| Returns true if this widget is intended to be used to hold other widgets; otherwise returns false. | |
| void | setContainer (bool b) override |
| 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. | |
| bool | isCustom () const override |
| Returns true if the widget is a custom widget; otherwise return false if it is a standard Qt widget. | |
| void | setCustom (bool b) override |
| If custom is true, the widget is handled specially by \QD; otherwise it is handled as a standard Qt widget. | |
| QString | pluginPath () const override |
| Returns the path to use for the widget plugin. | |
| void | setPluginPath (const QString &path) override |
| bool | isPromoted () const override |
| Returns true if the widget is promoted; otherwise returns false. | |
| void | setPromoted (bool b) override |
| 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. | |
| QString | extends () const override |
| Returns the name of the widget that the item extends. | |
| void | setExtends (const QString &s) override |
| void | setDefaultPropertyValues (const QList< QVariant > &list) override |
| Sets the default property values for the widget to the given list. | |
| QList< QVariant > | defaultPropertyValues () const override |
| Returns a list of default values to be used as properties for the item. | |
| QString | baseClassName () const |
| void | setBaseClassName (const QString &b) |
| QStringList | fakeSlots () const |
| void | setFakeSlots (const QStringList &) |
| QStringList | fakeSignals () const |
| void | setFakeSignals (const QStringList &) |
| QString | addPageMethod () const |
| void | setAddPageMethod (const QString &m) |
| Public Member Functions inherited from QDesignerWidgetDataBaseItemInterface | |
| QDesignerWidgetDataBaseItemInterface ()=default | |
| virtual | ~QDesignerWidgetDataBaseItemInterface ()=default |
| Destroys the interface. | |
Static Public Member Functions | |
| static WidgetDataBaseItem * | clone (const QDesignerWidgetDataBaseItemInterface *item) |
Definition at line 38 of file widgetdatabase_p.h.
|
explicit |
Definition at line 49 of file widgetdatabase.cpp.
| QString qdesigner_internal::WidgetDataBaseItem::addPageMethod | ( | ) | const |
Definition at line 209 of file widgetdatabase.cpp.
| QString qdesigner_internal::WidgetDataBaseItem::baseClassName | ( | ) | const |
Definition at line 238 of file widgetdatabase.cpp.
|
static |
Definition at line 219 of file widgetdatabase.cpp.
|
overridevirtual |
Returns a list of default values to be used as properties for the item.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 184 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the name of the widget that the item extends.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 169 of file widgetdatabase.cpp.
| QStringList qdesigner_internal::WidgetDataBaseItem::fakeSignals | ( | ) | const |
Definition at line 199 of file widgetdatabase.cpp.
| QStringList qdesigner_internal::WidgetDataBaseItem::fakeSlots | ( | ) | const |
Definition at line 189 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the name of the group that the widget belongs to.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 69 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the icon used to represent the item.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 109 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the name of the include file that the widget needs when being built from source.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 99 of file widgetdatabase.cpp.
|
overridevirtual |
Returns true if this type of widget is provided for compatibility purposes (e.g.
Qt3Support widgets); otherwise returns false.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 119 of file widgetdatabase.cpp.
|
overridevirtual |
Returns true if this widget is intended to be used to hold other widgets; otherwise returns false.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 129 of file widgetdatabase.cpp.
|
overridevirtual |
Returns true if the widget is a custom widget; otherwise return false if it is a standard Qt widget.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 139 of file widgetdatabase.cpp.
|
overridevirtual |
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.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 159 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the name of the widget.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 59 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the path to use for the widget plugin.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 149 of file widgetdatabase.cpp.
Definition at line 214 of file widgetdatabase.cpp.
Definition at line 243 of file widgetdatabase.cpp.
|
overridevirtual |
If compat is true, the widget is handled as a compatibility widget; otherwise it is handled normally by \QD.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 124 of file widgetdatabase.cpp.
|
overridevirtual |
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.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 134 of file widgetdatabase.cpp.
|
overridevirtual |
If custom is true, the widget is handled specially by \QD; otherwise it is handled as a standard Qt widget.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 144 of file widgetdatabase.cpp.
|
overridevirtual |
Sets the default property values for the widget to the given list.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 179 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 174 of file widgetdatabase.cpp.
| void qdesigner_internal::WidgetDataBaseItem::setFakeSignals | ( | const QStringList & | fs | ) |
Definition at line 204 of file widgetdatabase.cpp.
| void qdesigner_internal::WidgetDataBaseItem::setFakeSlots | ( | const QStringList & | fs | ) |
Definition at line 194 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 74 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 114 of file widgetdatabase.cpp.
|
overridevirtual |
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 104 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 64 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 154 of file widgetdatabase.cpp.
|
overridevirtual |
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.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 164 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 84 of file widgetdatabase.cpp.
|
overridevirtual |
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 94 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the tool tip to be used by the widget.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 79 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the "What's This?" help for the widget.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 89 of file widgetdatabase.cpp.