|  | Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions |

# QAbstractFormBuilder Class Reference

    #include <QAbstractFormBuilder>

Part of the QtDesigner module.

Inherited by QFormBuilder.

- List of all members, including inherited members

### Public Functions

- QAbstractFormBuilder ()
- virtual ~QAbstractFormBuilder ()
- virtual QWidget * load ( QIODevice * dev, QWidget * parentWidget = 0 )
- virtual void save ( QIODevice * dev, QWidget * widget )
- void setWorkingDirectory ( const QDir & directory )
- QDir workingDirectory () const

### Protected Functions

- virtual bool addItem ( DomLayoutItem * ui_item, QLayoutItem * item, QLayout * layout )
- virtual bool addItem ( DomWidget * ui_widget, QWidget * widget, QWidget * parentWidget )
- virtual void addMenuAction ( QAction * action )
- virtual void applyProperties ( QObject * o, const QList<DomProperty *> & properties )
- virtual void applyTabStops ( QWidget * widget, DomTabStops * tabStops )
- virtual bool checkProperty ( QObject * obj, const QString & prop ) const
- virtual QList<DomProperty *> computeProperties ( QObject * obj )
- virtual QWidget * create ( DomUI * ui, QWidget * parentWidget )
- virtual QWidget * create ( DomWidget * ui_widget, QWidget * parentWidget )
- virtual QLayout * create ( DomLayout * ui_layout, QLayout * layout, QWidget * parentWidget )
- virtual QLayoutItem * create ( DomLayoutItem * ui_layoutItem, QLayout * layout, QWidget * parentWidget )
- virtual QAction * create ( DomAction * ui_action, QObject * parent )
- virtual QActionGroup * create ( DomActionGroup * ui_action_group, QObject * parent )
- virtual QAction * createAction ( QObject * parent, const QString & name )
- virtual QActionGroup * createActionGroup ( QObject * parent, const QString & name )
- virtual DomActionRef * createActionRefDom ( QAction * action )
- virtual void createConnections ( DomConnections *, QWidget * )
- virtual void createCustomWidgets ( DomCustomWidgets * )
- virtual DomWidget * createDom ( QWidget * widget, DomWidget * ui_parentWidget, bool recursive = true )
- virtual DomLayout * createDom ( QLayout * layout, DomLayout * ui_layout, DomWidget * ui_parentWidget )
- virtual DomLayoutItem * createDom ( QLayoutItem * item, DomLayout * ui_parentLayout, DomWidget * ui_parentWidget )
- virtual DomSpacer * createDom ( QSpacerItem * spacer, DomLayout * ui_parentLayout, DomWidget * ui_parentWidget )
- virtual DomAction * createDom ( QAction * action )
- virtual DomActionGroup * createDom ( QActionGroup * actionGroup )
- virtual QLayout * createLayout ( const QString & layoutName, QObject * parent, const QString & name )
- virtual DomProperty * createProperty ( QObject * object, const QString & propertyName, const QVariant & value )
- virtual void createResources ( DomResources * )
- virtual QWidget * createWidget ( const QString & widgetName, QWidget * parentWidget, const QString & name )
- virtual QString iconToFilePath ( const QIcon & pm ) const
- virtual QString iconToQrcPath ( const QIcon & pm ) const
- virtual void layoutInfo ( DomLayout * layout, QObject * parent, int * margin, int * spacing )
- void loadComboBoxExtraInfo ( DomWidget * ui_widget, QComboBox * comboBox, QWidget * parentWidget )
- virtual void loadExtraInfo ( DomWidget * ui_widget, QWidget * widget, QWidget * parentWidget )
- void loadListWidgetExtraInfo ( DomWidget * ui_widget, QListWidget * listWidget, QWidget * parentWidget )
- void loadTreeWidgetExtraInfo ( DomWidget * ui_widget, QTreeWidget * treeWidget, QWidget * parentWidget )
- virtual QIcon nameToIcon ( const QString & filePath, const QString & qrcPath )
- virtual QPixmap nameToPixmap ( const QString & filePath, const QString & qrcPath )
- virtual QString pixmapToFilePath ( const QPixmap & pm ) const
- virtual QString pixmapToQrcPath ( const QPixmap & pm ) const
- void reset ()
- DomColorGroup * saveColorGroup ( const QPalette & palette )
- void saveComboBoxExtraInfo ( QComboBox * widget, DomWidget * ui_widget, DomWidget * ui_parentWidget )
- virtual DomConnections * saveConnections ()
- virtual DomCustomWidgets * saveCustomWidgets ()
- virtual void saveDom ( DomUI * ui, QWidget * widget )
- virtual void saveExtraInfo ( QWidget * widget, DomWidget * ui_widget, DomWidget * ui_parentWidget )
- void saveListWidgetExtraInfo ( QListWidget * widget, DomWidget * ui_widget, DomWidget * ui_parentWidget )
- virtual DomResources * saveResources ()
- virtual DomTabStops * saveTabStops ()
- void saveTreeWidgetExtraInfo ( QTreeWidget * treeWidget, DomWidget * ui_widget, DomWidget * ui_parentWidget )
- void setupColorGroup ( QPalette & palette, DomColorGroup * group )
- QVariant toVariant ( const QMetaObject * meta, DomProperty * property )

### Static Protected Members

- QHash<QString, DomProperty *> propertyMap ( const QList<DomProperty *> & properties )
- bool toBool ( const QString & str )
- QString toString ( const DomString * str )

## Detailed Description

## Member Function Documentation

### QAbstractFormBuilder::QAbstractFormBuilder ()

### QAbstractFormBuilder::~QAbstractFormBuilder () `[virtual]`

### bool QAbstractFormBuilder::addItem ( DomLayoutItem * ui_item, QLayoutItem * item, QLayout * layout ) `[virtual protected]`

### bool QAbstractFormBuilder::addItem ( DomWidget * ui_widget, QWidget * widget, QWidget * parentWidget ) `[virtual protected]`

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

### void QAbstractFormBuilder::addMenuAction ( QAction * action ) `[virtual protected]`

### void QAbstractFormBuilder::applyProperties ( QObject * o, const QList<DomProperty *> & properties ) `[virtual protected]`

### void QAbstractFormBuilder::applyTabStops ( QWidget * widget, DomTabStops * tabStops ) `[virtual protected]`

### bool QAbstractFormBuilder::checkProperty ( QObject * obj, const QString & prop ) const `[virtual protected]`

### QList<DomProperty *> QAbstractFormBuilder::computeProperties ( QObject * obj ) `[virtual protected]`

### QWidget * QAbstractFormBuilder::create ( DomUI * ui, QWidget * parentWidget ) `[virtual protected]`

### QWidget * QAbstractFormBuilder::create ( DomWidget * ui_widget, QWidget * parentWidget ) `[virtual protected]`

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

### QLayout * QAbstractFormBuilder::create ( DomLayout * ui_layout, QLayout * layout, QWidget * parentWidget ) `[virtual protected]`

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

### QLayoutItem * QAbstractFormBuilder::create ( DomLayoutItem * ui_layoutItem, QLayout * layout, QWidget * parentWidget ) `[virtual protected]`

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

### QAction * QAbstractFormBuilder::create ( DomAction * ui_action, QObject * parent ) `[virtual protected]`

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

### QActionGroup * QAbstractFormBuilder::create ( DomActionGroup * ui_action_group, QObject * parent ) `[virtual protected]`

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

### QAction * QAbstractFormBuilder::createAction ( QObject * parent, const QString & name ) `[virtual protected]`

### QActionGroup * QAbstractFormBuilder::createActionGroup ( QObject * parent, const QString & name ) `[virtual protected]`

### DomActionRef * QAbstractFormBuilder::createActionRefDom ( QAction * action ) `[virtual protected]`

### void QAbstractFormBuilder::createConnections ( DomConnections *, QWidget * ) `[virtual protected]`

### void QAbstractFormBuilder::createCustomWidgets ( DomCustomWidgets * ) `[virtual protected]`

### DomWidget * QAbstractFormBuilder::createDom ( QWidget * widget, DomWidget * ui_parentWidget, bool recursive = true ) `[virtual protected]`

### DomLayout * QAbstractFormBuilder::createDom ( QLayout * layout, DomLayout * ui_layout, DomWidget * ui_parentWidget ) `[virtual protected]`

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

### DomLayoutItem * QAbstractFormBuilder::createDom ( QLayoutItem * item, DomLayout * ui_parentLayout, DomWidget * ui_parentWidget ) `[virtual protected]`

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

### DomSpacer * QAbstractFormBuilder::createDom ( QSpacerItem * spacer, DomLayout * ui_parentLayout, DomWidget * ui_parentWidget ) `[virtual protected]`

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

### DomAction * QAbstractFormBuilder::createDom ( QAction * action ) `[virtual protected]`

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

### DomActionGroup * QAbstractFormBuilder::createDom ( QActionGroup * actionGroup ) `[virtual protected]`

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

### QLayout * QAbstractFormBuilder::createLayout ( const QString & layoutName, QObject * parent, const QString & name ) `[virtual protected]`

### DomProperty * QAbstractFormBuilder::createProperty ( QObject * object, const QString & propertyName, const QVariant & value ) `[virtual protected]`

### void QAbstractFormBuilder::createResources ( DomResources * ) `[virtual protected]`

### QWidget * QAbstractFormBuilder::createWidget ( const QString & widgetName, QWidget * parentWidget, const QString & name ) `[virtual protected]`

### QString QAbstractFormBuilder::iconToFilePath ( const QIcon & pm ) const `[virtual protected]`

### QString QAbstractFormBuilder::iconToQrcPath ( const QIcon & pm ) const `[virtual protected]`

### void QAbstractFormBuilder::layoutInfo ( DomLayout * layout, QObject * parent, int * margin, int * spacing ) `[virtual protected]`

### QWidget * QAbstractFormBuilder::load ( QIODevice * dev, QWidget * parentWidget = 0 ) `[virtual]`

### void QAbstractFormBuilder::loadComboBoxExtraInfo ( DomWidget * ui_widget, QComboBox * comboBox, QWidget * parentWidget ) `[protected]`

### void QAbstractFormBuilder::loadExtraInfo ( DomWidget * ui_widget, QWidget * widget, QWidget * parentWidget ) `[virtual protected]`

### void QAbstractFormBuilder::loadListWidgetExtraInfo ( DomWidget * ui_widget, QListWidget * listWidget, QWidget * parentWidget ) `[protected]`

### void QAbstractFormBuilder::loadTreeWidgetExtraInfo ( DomWidget * ui_widget, QTreeWidget * treeWidget, QWidget * parentWidget ) `[protected]`

### QIcon QAbstractFormBuilder::nameToIcon ( const QString & filePath, const QString & qrcPath ) `[virtual protected]`

### QPixmap QAbstractFormBuilder::nameToPixmap ( const QString & filePath, const QString & qrcPath ) `[virtual protected]`

### QString QAbstractFormBuilder::pixmapToFilePath ( const QPixmap & pm ) const `[virtual protected]`

### QString QAbstractFormBuilder::pixmapToQrcPath ( const QPixmap & pm ) const `[virtual protected]`

### QHash<QString, DomProperty *> QAbstractFormBuilder::propertyMap ( const QList<DomProperty *> & properties ) `[static protected]`

### void QAbstractFormBuilder::reset () `[protected]`

### void QAbstractFormBuilder::save ( QIODevice * dev, QWidget * widget ) `[virtual]`

### DomColorGroup * QAbstractFormBuilder::saveColorGroup ( const QPalette & palette ) `[protected]`

### void QAbstractFormBuilder::saveComboBoxExtraInfo ( QComboBox * widget, DomWidget * ui_widget, DomWidget * ui_parentWidget ) `[protected]`

### DomConnections * QAbstractFormBuilder::saveConnections () `[virtual protected]`

### DomCustomWidgets * QAbstractFormBuilder::saveCustomWidgets () `[virtual protected]`

### void QAbstractFormBuilder::saveDom ( DomUI * ui, QWidget * widget ) `[virtual protected]`

### void QAbstractFormBuilder::saveExtraInfo ( QWidget * widget, DomWidget * ui_widget, DomWidget * ui_parentWidget ) `[virtual protected]`

### void QAbstractFormBuilder::saveListWidgetExtraInfo ( QListWidget * widget, DomWidget * ui_widget, DomWidget * ui_parentWidget ) `[protected]`

### DomResources * QAbstractFormBuilder::saveResources () `[virtual protected]`

### DomTabStops * QAbstractFormBuilder::saveTabStops () `[virtual protected]`

### void QAbstractFormBuilder::saveTreeWidgetExtraInfo ( QTreeWidget * treeWidget, DomWidget * ui_widget, DomWidget * ui_parentWidget ) `[protected]`

### void QAbstractFormBuilder::setWorkingDirectory ( const QDir & directory )

### void QAbstractFormBuilder::setupColorGroup ( QPalette & palette, DomColorGroup * group ) `[protected]`

### bool QAbstractFormBuilder::toBool ( const QString & str ) `[static protected]`

### QString QAbstractFormBuilder::toString ( const DomString * str ) `[static protected]`

### QVariant QAbstractFormBuilder::toVariant ( const QMetaObject * meta, DomProperty * property ) `[protected]`

### QDir QAbstractFormBuilder::workingDirectory () const