![]() |
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) |
![]() | |
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 47 of file widgetdatabase.cpp.
QString qdesigner_internal::WidgetDataBaseItem::addPageMethod | ( | ) | const |
Definition at line 207 of file widgetdatabase.cpp.
QString qdesigner_internal::WidgetDataBaseItem::baseClassName | ( | ) | const |
Definition at line 236 of file widgetdatabase.cpp.
|
static |
Definition at line 217 of file widgetdatabase.cpp.
|
overridevirtual |
Returns a list of default values to be used as properties for the item.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 182 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the name of the widget that the item extends.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 167 of file widgetdatabase.cpp.
QStringList qdesigner_internal::WidgetDataBaseItem::fakeSignals | ( | ) | const |
Definition at line 197 of file widgetdatabase.cpp.
QStringList qdesigner_internal::WidgetDataBaseItem::fakeSlots | ( | ) | const |
Definition at line 187 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the name of the group that the widget belongs to.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 67 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the icon used to represent the item.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 107 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 97 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 117 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 127 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 137 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 157 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the name of the widget.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 57 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the path to use for the widget plugin.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 147 of file widgetdatabase.cpp.
Definition at line 212 of file widgetdatabase.cpp.
Definition at line 241 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 122 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 132 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 142 of file widgetdatabase.cpp.
|
overridevirtual |
Sets the default property values for the widget to the given list.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 177 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 172 of file widgetdatabase.cpp.
void qdesigner_internal::WidgetDataBaseItem::setFakeSignals | ( | const QStringList & | fs | ) |
Definition at line 202 of file widgetdatabase.cpp.
void qdesigner_internal::WidgetDataBaseItem::setFakeSlots | ( | const QStringList & | fs | ) |
Definition at line 192 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 72 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 112 of file widgetdatabase.cpp.
|
overridevirtual |
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 102 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 62 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 152 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 162 of file widgetdatabase.cpp.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 82 of file widgetdatabase.cpp.
|
overridevirtual |
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 92 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the tool tip to be used by the widget.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 77 of file widgetdatabase.cpp.
|
overridevirtual |
Returns the "What's This?" help for the widget.
Implements QDesignerWidgetDataBaseItemInterface.
Definition at line 87 of file widgetdatabase.cpp.