![]() |
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 36 of file widgetdatabase_p.h.
|
explicit |
Definition at line 48 of file widgetdatabase.cpp.
| QString qdesigner_internal::WidgetDataBaseItem::addPageMethod | ( | ) | const |
Definition at line 208 of file widgetdatabase.cpp.
| QString qdesigner_internal::WidgetDataBaseItem::baseClassName | ( | ) | const |
Definition at line 237 of file widgetdatabase.cpp.
|
static |
Definition at line 218 of file widgetdatabase.cpp.
|
overridevirtual |
Returns a list of default values to be used as properties for the item.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 183 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the name of the widget that the item extends.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 168 of file widgetdatabase.cpp.
| QStringList qdesigner_internal::WidgetDataBaseItem::fakeSignals | ( | ) | const |
Definition at line 198 of file widgetdatabase.cpp.
| QStringList qdesigner_internal::WidgetDataBaseItem::fakeSlots | ( | ) | const |
Definition at line 188 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the name of the group that the widget belongs to.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 68 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the icon used to represent the item.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 108 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 98 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 118 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 128 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 138 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 158 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the name of the widget.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 58 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the path to use for the widget plugin.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 148 of file widgetdatabase.cpp.
Definition at line 213 of file widgetdatabase.cpp.
Definition at line 242 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 123 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 133 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 143 of file widgetdatabase.cpp.
|
overridevirtual |
Sets the default property values for the widget to the given list.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 178 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 173 of file widgetdatabase.cpp.
| void qdesigner_internal::WidgetDataBaseItem::setFakeSignals | ( | const QStringList & | fs | ) |
Definition at line 203 of file widgetdatabase.cpp.
| void qdesigner_internal::WidgetDataBaseItem::setFakeSlots | ( | const QStringList & | fs | ) |
Definition at line 193 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 73 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 113 of file widgetdatabase.cpp.
|
overridevirtual |
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 103 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 63 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 153 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 163 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 83 of file widgetdatabase.cpp.
|
overridevirtual |
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 93 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the tool tip to be used by the widget.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 78 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the "What's This?" help for the widget.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 88 of file widgetdatabase.cpp.