Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QDesignerComponents Class Reference

The QDesignerComponents class provides a central resource for the various components used in the \QD user interface. More...

#include <qdesigner_components.h>

+ Collaboration diagram for QDesignerComponents:

Static Public Member Functions

static void initializeResources ()
 Initializes the resources used by the components.
 
static void initializePlugins (QDesignerFormEditorInterface *core)
 Initializes the plugins used by the components.
 
static QDesignerFormEditorInterfacecreateFormEditor (QObject *parent)
 Constructs a form editor interface with the given parent.
 
static QDesignerFormEditorInterfacecreateFormEditorWithPluginPaths (const QStringList &pluginPaths, QObject *parent)
 Constructs a form editor interface with the given pluginPaths and the parent.
 
static QDesignerWidgetBoxInterfacecreateWidgetBox (QDesignerFormEditorInterface *core, QWidget *parent)
 Returns a new widget box interface with the given parent for the core interface.
 
static QDesignerPropertyEditorInterfacecreatePropertyEditor (QDesignerFormEditorInterface *core, QWidget *parent)
 Returns a new property editor interface with the given parent for the core interface.
 
static QDesignerObjectInspectorInterfacecreateObjectInspector (QDesignerFormEditorInterface *core, QWidget *parent)
 Returns a new object inspector interface with the given parent for the core interface.
 
static QDesignerActionEditorInterfacecreateActionEditor (QDesignerFormEditorInterface *core, QWidget *parent)
 Returns a new action editor interface with the given parent for the core interface.
 
static QObjectcreateTaskMenu (QDesignerFormEditorInterface *core, QObject *parent)
 Returns a new task menu with the given parent for the core interface.
 
static QWidgetcreateResourceEditor (QDesignerFormEditorInterface *core, QWidget *parent)
 Returns a new resource editor with the given parent for the core interface.
 
static QWidgetcreateSignalSlotEditor (QDesignerFormEditorInterface *core, QWidget *parent)
 Returns a new signal-slot editor with the given parent for the core interface.
 
static QStringList defaultPluginPaths ()
 Returns the default plugin paths of Qt Widgets Designer's plugin manager.
 

Detailed Description

The QDesignerComponents class provides a central resource for the various components used in the \QD user interface.

\inmodule QtDesigner

The QDesignerComponents class is a factory for each of the standard components present in the \QD user interface. It is mostly useful for developers who want to implement a standalone form editing environment using \QD's components, or who need to integrate \QD's components into an existing integrated development environment (IDE).

See also
QDesignerFormEditorInterface, QDesignerObjectInspectorInterface, QDesignerPropertyEditorInterface, QDesignerWidgetBoxInterface

Definition at line 21 of file qdesigner_components.h.

Member Function Documentation

◆ createActionEditor()

QDesignerActionEditorInterface * QDesignerComponents::createActionEditor ( QDesignerFormEditorInterface * core,
QWidget * parent )
static

Returns a new action editor interface with the given parent for the core interface.

Definition at line 211 of file qdesigner_components.cpp.

◆ createFormEditor()

QDesignerFormEditorInterface * QDesignerComponents::createFormEditor ( QObject * parent)
static

Constructs a form editor interface with the given parent.

Definition at line 104 of file qdesigner_components.cpp.

◆ createFormEditorWithPluginPaths()

QDesignerFormEditorInterface * QDesignerComponents::createFormEditorWithPluginPaths ( const QStringList & pluginPaths,
QObject * parent )
static

Constructs a form editor interface with the given pluginPaths and the parent.

Since
6.7

Definition at line 114 of file qdesigner_components.cpp.

◆ createObjectInspector()

QDesignerObjectInspectorInterface * QDesignerComponents::createObjectInspector ( QDesignerFormEditorInterface * core,
QWidget * parent )
static

Returns a new object inspector interface with the given parent for the core interface.

Definition at line 204 of file qdesigner_components.cpp.

◆ createPropertyEditor()

QDesignerPropertyEditorInterface * QDesignerComponents::createPropertyEditor ( QDesignerFormEditorInterface * core,
QWidget * parent )
static

Returns a new property editor interface with the given parent for the core interface.

Definition at line 197 of file qdesigner_components.cpp.

◆ createResourceEditor()

QWidget * QDesignerComponents::createResourceEditor ( QDesignerFormEditorInterface * core,
QWidget * parent )
static

Returns a new resource editor with the given parent for the core interface.

Definition at line 218 of file qdesigner_components.cpp.

◆ createSignalSlotEditor()

QWidget * QDesignerComponents::createSignalSlotEditor ( QDesignerFormEditorInterface * core,
QWidget * parent )
static

Returns a new signal-slot editor with the given parent for the core interface.

Definition at line 238 of file qdesigner_components.cpp.

◆ createTaskMenu()

QObject * QDesignerComponents::createTaskMenu ( QDesignerFormEditorInterface * core,
QObject * parent )
static

Returns a new task menu with the given parent for the core interface.

Definition at line 123 of file qdesigner_components.cpp.

◆ createWidgetBox()

QDesignerWidgetBoxInterface * QDesignerComponents::createWidgetBox ( QDesignerFormEditorInterface * core,
QWidget * parent )
static

Returns a new widget box interface with the given parent for the core interface.

Definition at line 157 of file qdesigner_components.cpp.

◆ defaultPluginPaths()

QStringList QDesignerComponents::defaultPluginPaths ( )
static

Returns the default plugin paths of Qt Widgets Designer's plugin manager.

Returns
Plugin paths
Since
6.7

Definition at line 249 of file qdesigner_components.cpp.

◆ initializePlugins()

void QDesignerComponents::initializePlugins ( QDesignerFormEditorInterface * core)
static

Initializes the plugins used by the components.

Definition at line 95 of file qdesigner_components.cpp.

◆ initializeResources()

void QDesignerComponents::initializeResources ( )
static

Initializes the resources used by the components.

Definition at line 88 of file qdesigner_components.cpp.


The documentation for this class was generated from the following files: