|Home | Tutorial | Classes | Functions | QSA Workbench | Language | Qt API | QSA Articles | Qt Script for Applications |

[Prev: Reference: Key Bindings] [Home] [Next: Reference: Toolbar Buttons]

## Reference: Menu Options

### Introduction

QSA Workbench provides menu options that invoke the actions necessary to create applications. Many menu options lead to dialog boxes that provide additional options and functionality. The most commonly used menu options also have corresponding toolbar buttons. This chapter explains each menu option and its use. For menu options that invoke a dialog box or which have a corresponding toolbar button, there is a cross-reference to the detailed explanation that appears in the relevant chapter.

### The File Menu

> The File Menu

This menu is invoked with Alt+F, and provides the following options:

- File|New Script
  Click this menu option (or press Ctrl+N) to invoke the New Script Dialog dialog.

- File|Import Script
  Click this menu option (or press Ctrl+I) to invoke the Import Script Dialog dialog.

- File|Export Script
  Click this menu option (or press Ctrl+E) to invoke the Export Script Dialog dialog.

- File|Rename Script
  Click this menu option (or press Ctrl+R) to rename script in the active editor. Object scripts cannot be renamed.

- File|Remove Script
  Click this menu option (or press Ctrl+D) to remove the script from the project.

- File|Close Tab
  Click this menu option (or press Ctrl+F4) to close the tab in the editor.

- File|Print
  Click this menu option (or press Ctrl+P) to print the contents of the current editor.

- File|Exit
  Click this menu option to exit QSA Workbench.

### The Edit Menu

> The Edit Menu

This menu is invoked with Alt+E, and provides the following options:

- Edit|Undo
  Click this menu option (or press Ctrl+Z) to undo an action. The name of the last action that was performed appears after the word 'Undo'.

- Edit|Redo
  Click this menu option (or press Ctrl+Y) to redo an action. The name of the last action that was performed appears after the word 'Redo'.

- Edit|Cut
  Click this menu option (or press Ctrl+X) to delete the selected item from the current form or file and copy it to the clipboard.

- Edit|Copy
  Click this menu option (or press Ctrl+C) to copy the selected item from the current form or file to the clipboard.

- Edit|Paste
  Click this menu option (or press Ctrl+V) to paste the clipboard item (if any) into the current form or file.

- Edit|Select All
  Click this menu option (or press Ctrl+A) to highlight all the text in the current editor.

- Edit|Preferences
  Click this menu option to invoke the Preferences Dialog dialog.

### The Search Menu

> The Search Menu

This menu is invoked with Alt+S, and provides the following options:

- Search|Find
  Click this menu option (or press Ctrl+F) to invoke the Find Text Dialog.

- Search|Find Next
  Click this menu option (or press F3) to find the next occurance of the last key word searched for. The Find Text Dialog is shown if this is the first search.

- Search|Find Previous
  Click this menu option (or press Shift+F3) to find the next occurance of the last key word searched for. The Find Text Dialog is shown if this is the first search.

- Search|Replace
  Click this menu option (or press Ctrl+R) to invoke the Replace Text Dialog to replace specific words or characters.

- Search|Goto line
  Click this menu option (or press Alt+G) to invoke the Goto Line Dialog to go to a specific line in the file.

### Project

> Project Menu

This menu is invoked with Alt+P, provides the following options:

- Project|Call Function
  Click this menu option (or press F5) to invoke the Call function dialog.

- Project|Call Function
  Click this menu option (or press F6) to call the last function specified in the Call Function dialog.

- Project|Evaluate
  Press this function to force evaluation of the files in the project.

### Window

> Window Menu, first submenu.

> Window Menu, second submenu.

This menu is invoked with Alt+W, provides the following options:

- Window|Views|Output
  Click this menu option to enable/disable the output window.

- Window|Views|Project Scripts
  Click this menu option to enable/disable the project scripts window.

- Window|Views|Line up
  Click this menu option to line up the dockable windows in the user interface.

- Window|Toolbars|File
  Click this menu option to enable/disable the file toolbar.

- Window|Toolbars|Edit
  Click this menu option to enable/disable the edit toolbar.

- Window|Toolbars|Project
  Click this menu option to enable/disable the project toolbar.

- Window|Toolbars|Line up
  Click this menu option to line up the dockable windows in the user interface.

### The Help Menu

> The Help Menu

This menu is invoked with Alt+H, and provides the following option:

- Help|About
  Click this menu option to invoke the About QSA Workbench dialog which gives the version number and some licensing information.

[Prev: Reference: Key Bindings] [Home] [Next: Reference: Toolbar Buttons]