# The Editor

The editor is based on &designer;, a tool for designing and implementing user interfaces created by Trolltech. We have modified &designer; in the following ways:

- Its interface is much simpler

- Built in our own widgets

- Added the ability to setup &kommander; Text

- Various other superficial changes

For those of you already familiar with using &designer;, using the &kmdr-editor; will be trivial.

## Main Window

1. Toolbars contain a number of buttons to provide quick access to number of functions.

2. The File Overview displays all of the files. Use the search field to rapidly switch between files.

3. The Object Explorer provides an overview of the relationships between the widgets in a form. It is useful for selecting widgets in a form with a complex layout.

4. The Property Editor is where the behavior and appearance of a widget is changed.

5. The Dialog Editor is where dialogs are created and edited.

## The File Menu

&Ctrl;N File New

- Creates a new dialog

&Ctrl;O File Open

- Search the file system to open an existing dialog

File Open Recent

- Quick list of the last several files you've opened. This list will change each time you open a file that is not on it with the oldest being bumped off first.

File Close

- Closes the active dialog

&Ctrl;S File Save

- Saves the active dialog

File Save As

- Saves the active dialog with another name

File Save All

- Saves all open dialogs

File Exit

- Quits &kommander;

## The Edit Menu

&Ctrl;Z Edit Undo

- Undo the last action performed.

&Ctrl;Y Edit Redo

- Redo the last action undone.

&Ctrl;X Edit Cut

- Cut the current item and place it content on the clipboard.

&Ctrl;C Edit Copy

- Copy the current item to the clipbard.

&Ctrl;V Edit Paste

- Paste the contents of the clipboard at the current cursor position.

&Ctrl;Z Edit Delete

- Delete the current item.

Del Edit Select All

- Select all of the items in the current dialog.

&Alt;R Edit Check Accelerators

- Verifies that all the accelerators are used only once.

Edit Connectors

- Displays the view and edit connections dialog.

Edit Form Setting

- Displays the form setting dialog.

Edit Preferences

- Displays the preferences dialog.

## The Tools Menu

F2 Tools Pointer

F3 Tools Connect Signal/Slots

F3 Tools Tab Order

Tools &kommander;

- Here there are listed all the &kommander; widgets. This widgets are guaranteed to be available on every system running the same (or higher) version of &kommander;.

Tools Custom

- The widgets provided by the plugins will be listed under this menu entry. The dialogs using these widgets will run only if the plugin that provides them is installed and configured.

## The Layout Menu

&Ctrl;J Layout Adjust Size

&Ctrl;H Layout Lay Out Horizontally

&Ctrl;L Layout Lay Out Vertically

&Ctrl;G Layout Lay Out in a Grid

Layout Lay Out Horizontally (in Splitter)

Layout Lay Out Vertically (in Splitter)

&Ctrl;B Layout Break Layout

Layout Add Spacer

## The Run Menu

&Ctrl;R Run Run Dialog

- Runs the current dialog.

## The Window Menu

&Ctrl;F4 Window Close

- Closes current dialog.

Window Close All

- Closes all dialogs.

&Ctrl;F6 Window Next

&Ctrl;&Shift;F6 Window Previous

Window Tile

Window Cascade

Window Views

- Window Views File Overview

Window Views Object Explorer

Window Views Property Editor/Signal Handlers

Window Views Line Up

Window Toolbars

- Window Toolbars File

Window Toolbars Edit

Window Layout File

Window Toolbars Tools

Window Toolbars &kommander;

Window Toolbars Custom

Window Toolbars Help

Window Toolbars Line Up

## The Settings Menu

Settings Configure Shortcuts

- See and modify the editor keyboard shortcuts.

Settings Configure Plugins

- Add or remove &kommander; plugins. The editor needs to be restarted after a new plugin is added.

Settings Configure Editor

- Configure the text editor used for modifying the Kommander text associated with widgets.

Settings Configure &kommander;

- Configure how the editor looks and works.

## The Help Menu

&help.menu.documentation;