|  | Home · Tutorial · Classes · Functions · Language · QSA Workbench · Qt Documentation · www.trolltech.com |

# QSWorkbench Class Reference

The QSWorkbench class provides an interface to QSA Workbench, the QSA simple scripting environment. More...

        #include <QSWorkbench>

- List of all members, including inherited members

### Public Functions

- QSWorkbench ( QSProject * project, QWidget * parent = 0, const char * name = 0 )
- QSProject * project ()
- QWidget * widget ()

### Public Slots

- void close ()
- void open ()
- void showFunction ( QSScript * script, const QString & function )
- void showScript ( QSScript * script )

## Detailed Description

The QSWorkbench class provides an interface to QSA Workbench, the QSA simple scripting environment.

## Member Function Documentation

### QSWorkbench::QSWorkbench ( QSProject * project, QWidget * parent = 0, const char * name = 0 )

Creates the simple scripting environment for the project project, with parent parent and name name.

### void QSWorkbench::close () `[slot]`

Hides QSA Workbench. Hiding the Scripting environement does not trigger any change in the project.

### void QSWorkbench::open () `[slot]`

Opens QSA Workbench, the QSA simple scripting environment.

### QSProject * QSWorkbench::project ()

Returns the project edited in QSA Workbench.

### void QSWorkbench::showFunction ( QSScript * script, const QString & function ) `[slot]`

Makes script the current script in the editor and highlights the declaration of function, if found.

### void QSWorkbench::showScript ( QSScript * script ) `[slot]`

Makes script the current script in the editor.

### QWidget * QSWorkbench::widget ()

Returns the QSA Workbench main widget.