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.

Public Functions

Additional Inherited Members


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.


Copyright © 2006 Trolltech Trademarks
QSA 1.2.2