# The Editor

Tamara
King

    tik@acm.org

# 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 apperance 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 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 Recently Opened Files

  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 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.

&Alt;S Edit Script Objects

Edit Slots

  Displays window to edit and create slots and functions.

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
  Tools Kommander TextLabel

  Tools Kommander PixelmapLabel

  Tools Kommander ListView

  Tools Kommander ListBox

  Tools Kommander SubDialog

  Tools Kommander TabWidget

  Tools Kommander LineEdit

  Tools Kommander ExecButton

  Tools Kommander CloseButton

  Tools Kommander FileSelector

  Tools Kommander TextEdit

  Tools Kommander RadioButton

  Tools Kommander ButtonGroup

  Tools Kommander GroupBox

  Tools Kommander CheckBox

  Tools Kommander ComboBox

  Tools Kommander SpinBoxInt

  Tools Kommander RichTextEditor

  Tools Kommander TreeWidget

  Tools Kommander Unknown

  Tools Kommander Wizard

Tools Custom
  Tools Custom Edit Custom Widgets

## 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 Horzontially (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 Help Menu

&help.menu.documentation;