![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qdesigner_formbuilder_p.h>
Public Member Functions | |
| NewFormWidgetFormBuilder (QDesignerFormEditorInterface *core, const DeviceProfile &deviceProfile=DeviceProfile()) | |
| Public Member Functions inherited from qdesigner_internal::QDesignerFormBuilder | |
| QDesignerFormBuilder (QDesignerFormEditorInterface *core, const DeviceProfile &deviceProfile=DeviceProfile()) | |
| virtual QWidget * | createWidget (DomWidget *ui_widget, QWidget *parentWidget=nullptr) |
| QDesignerFormEditorInterface * | core () const |
| QString | systemStyle () const |
| Public Member Functions inherited from QFormBuilder | |
| QFormBuilder () | |
| Constructs a new form builder. | |
| ~QFormBuilder () override | |
| Destroys the form builder. | |
| QStringList | pluginPaths () const |
| Returns the list of paths the form builder searches for plugins. | |
| void | clearPluginPaths () |
| Clears the list of paths that the form builder uses to search for custom widget plugins. | |
| void | addPluginPath (const QString &pluginPath) |
| Adds a new plugin path specified by pluginPath to the list of paths that will be searched by the form builder when loading a custom widget plugin. | |
| void | setPluginPath (const QStringList &pluginPaths) |
| Sets the list of plugin paths to the list specified by pluginPaths. | |
| QList< QDesignerCustomWidgetInterface * > | customWidgets () const |
| Returns a list of the available plugins. | |
| Public Member Functions inherited from QAbstractFormBuilder | |
| QAbstractFormBuilder () | |
| Constructs a new form builder. | |
| virtual | ~QAbstractFormBuilder () |
| Destroys the form builder. | |
| QDir | workingDirectory () const |
| Returns the current working directory of the form builder. | |
| void | setWorkingDirectory (const QDir &directory) |
| Sets the current working directory of the form builder to the specified directory. | |
| virtual QWidget * | load (QIODevice *dev, QWidget *parentWidget=nullptr) |
| Loads an XML representation of a widget from the given device, and constructs a new widget with the specified parent. | |
| virtual void | save (QIODevice *dev, QWidget *widget) |
| Saves an XML representation of the given widget to the specified device in the standard UI file format. | |
| QString | errorString () const |
| Returns a human-readable description of the last error occurred in load(). | |
Additional Inherited Members | |
| Static Public Member Functions inherited from qdesigner_internal::QDesignerFormBuilder | |
| static QWidget * | createPreview (const QDesignerFormWindowInterface *fw, const QString &styleName, const QString &appStyleSheet, const DeviceProfile &deviceProfile, QString *errorMessage) |
| static QWidget * | createPreview (const QDesignerFormWindowInterface *fw, const QString &styleName=QString()) |
| static QWidget * | createPreview (const QDesignerFormWindowInterface *fw, const QString &styleName, const QString &appStyleSheet, QString *errorMessage) |
| static QWidget * | createPreview (const QDesignerFormWindowInterface *fw, const QString &styleName, const QString &appStyleSheet) |
| static QPixmap | createPreviewPixmap (const QDesignerFormWindowInterface *fw, const QString &styleName=QString(), const QString &appStyleSheet=QString()) |
| Protected Types inherited from QAbstractFormBuilder | |
| using | DomPropertyHash = QHash<QString, DomProperty*> |
| using | IconPaths = std::pair<QString, QString> |
| Static Protected Member Functions inherited from QFormBuilder | |
| static QWidget * | widgetByName (QWidget *topLevel, const QString &namename) |
| Static Protected Member Functions inherited from QAbstractFormBuilder | |
| static QString | toString (const DomString *str) |
| static DomPropertyHash | propertyMap (const QList< DomProperty * > &properties) |
| static QMetaEnum | toolBarAreaMetaEnum () |
| static const DomResourcePixmap * | domPixmap (const DomProperty *pp) |
| Protected Attributes inherited from QAbstractFormBuilder | |
| QScopedPointer< QFormBuilderExtra > | d |
Definition at line 114 of file qdesigner_formbuilder_p.h.
| qdesigner_internal::NewFormWidgetFormBuilder::NewFormWidgetFormBuilder | ( | QDesignerFormEditorInterface * | core, |
| const DeviceProfile & | deviceProfile = DeviceProfile() ) |
Definition at line 379 of file qdesigner_formbuilder.cpp.
|
overrideprotectedvirtual |
Reimplemented from QAbstractFormBuilder.
Definition at line 385 of file qdesigner_formbuilder.cpp.