Kexi/Handbook/Kexi Basics/The Kexi Main Window

From KDE UserBase Wiki
Revision as of 21:10, 6 September 2011 by Diggy (talk | contribs) (Initial)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Kexi Main Window

The Project Navigator and Properties Editor are shown in panes on each side of the child window. These can be resized or hidden as required. A pane can be hidden by clicking the small cross at the top of the pane (just below the toolbar).

Database objects (tables, queries, etc.) listed in the Project Navigator can opened by clicking (or double-clicking, depending upon your global KDE settings) on their names.

Main application elements

Main elements of Kexi application's window are:

  • Menubar

contains available commands for the application. You will find detailed description of any of the commands in the appendix.

  • Toolbar

contains most frequently used commands.

  • Project Navigator's pane

contains a list of any object (tables, queries, forms, ...) created within the currently opened database project. The navigator also contains small toolbar with most usable commands related to the database objects.

  • Opened database objects area

a central area of the application taking most of the screen space. For IDEAl user interface mode it contains switchable tabs with windows that are always maximized. For Childframe user interface mode it contains floating windows.

  • Properties pane

contains a list of properties of currently activated database object. For certain objects (e.g. form's widgets) it can have several tabs.

  • Taskbar

contains a list of currently opened windows with database objects. For IDEAl user interface mode, it is available as a number of tabs. For Childframe user interface mode, it is available as a number of buttons, behaving just like your operating system's taskbar.

Project Navigator pane

The Project Navigator pane is one of the most frequently used elements of the Kexi main window. The pane contains a list of all objects created within the currently opened Kexi database project. The objects are split into groups: tables, queries, forms.

The Project Navigator pane also contains a small toolbar for most frequently used commands (from left to right): Open selected object, Design selected object, Create a new object, and Delete selected object.

For each object on the list a context menu is available using the right mouse button. For example, this is context menu for the persons table.

Double clicking with the left mouse button on the object's name on the list allows to open the object in Data View. If the object's window was already opened, the action just activates the window without switching it's view mode.

Note that your operating system or window manager can be set up to handle single clicks instead of double clicks. In this case it is enough to single click on the object name to open its window.

Database object windows

Opening an object's window

  1. Select the object in the Project Navigator pane.
  2. Click the Open button on the Project Navigator pane's toolbar.

Commands related to object windows

  • Closing an object window

When the IDEAl user interface mode (the default) is used, each window has its own tab. Place the mouse pointer on the icon on the tab. A Close button will become visible. Click it to close the tab.

In the Childframe on the right hand of each opened window there are buttons you can use to control the window. Click the first one on the right hand to close the window.

Alternatively, regardless of the user interface mode you are using, you can select Window->Close from the Menubar.

  • Window buttons for Childframe user interface mode

The other buttons (from right to left) can be used to: maximize, minimize and undock the window.

There's a small icon on the left side of the title bar which can be clicked to show a context menu with commands related to the window.

Property Editor pane In the Property Editor pane you can change properties of the object displayed in the active window. Depending on the context, the pane is consisted of one or more tabs. The first, always visible tab, Properties, contains the list of available properties.

Rules for using the Property Editor:

  • Each row contains a single property.
  • You can use the mouse or the keyboard to change values of particular properties.
  • Most frequently used types of property values are:
    • a number; you can enter the value directly or increase or decrease its value by clicking with the left mouse button on the arrows.
    • text
    • drop down list of values
    • Yes/No; you can toggle the value by clicking on the button; Yes (true) means that the button is toggled on, >No (false) means that the button is toggled off.
  • There is no need to confirm a changed value: changes are visible immediately after moving to a different row of the Property Editor's list or by pressing the Enter key.
  • Names of the recently changed properties that not yet were stored in the database are marked with bold text.
  • After changing the value of a property, a special Undo changes button appears on the right side of the Property Editor's list. By clicking it you can revert the value of the property to the original value that was loaded from the database upon opening the database object. The button is only visible when the property is actually highlighted.

The Property Editor pane is empty if:

  • no single database object's window is opened, or
  • the active database object's window does not offer properties; it is usually the case when it is opened in Data View instead of Design View