Qt Script for Applications · Home · Tutorial · Classes · Functions · Language · QSA Workbench · Qt Documentation · www.trolltech.com

# QSInputDialogFactory Class Reference

The QSInputDialogFactory class extends QSA with a basic and easy-to-use input dialog framework. More...

    #include <QSInputDialogFactory>

Inherits QSObjectFactory.

- List of all members, including inherited members

### Public Functions

- QSInputDialogFactory ()

- 3 public functions inherited from QSObjectFactory

### Additional Inherited Members

- 1 protected function inherited from QSObjectFactory

## Detailed Description

The QSInputDialogFactory class extends QSA with a basic and easy-to-use input dialog framework.

To extend the interpreter with the Input Dialog Framework you need to create an instance of the QSInputDialogFactory and add it to the interpreter using the function QSInterpreter::addObjectFactory(). For example:

        QSProject proj;
        QSInterpreter *ip = proj->interpreter();
        ip->addObjectFactory(new QSInputDialogFactory);

The script extensions provided by the QSInputDialogFramework are described in detail in QSA Input Dialog Framework.

Note on threading; If the Input Dialog Factory is used with an interpreter running in the non GUI thread, all functionality is disabled.

## Member Function Documentation

### QSInputDialogFactory::QSInputDialogFactory ()

Creates the input dialog factory. Use the function QSInterpreter::addObjectFactory to make the objects this factory represents to an interpreter.