Kexi/Handbook/Kexi Basics/The Kexi Main Window

From KDE UserBase Wiki
Revision as of 21:22, 21 December 2024 by Jstaniek (talk | contribs)
Other languages:

The KEXI Main Window

The main window of the KEXI application consists of rectangular elements. You can resize or hide some of them.

The Tabbed Toolbar on the top gives access to common actions and commands.

The Project Navigator and Property 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, reports.) listed in the Project Navigator can be opened by double-clicking on their names.

Main Application Elements

The main elements of KEXI application's window are:

  1. Menu bar. Contains global commands for the application. For a detailed description, refer to Appendix C: Menu Commands.
  1. KEXI tab. ...
  2. Global Search box. ...
  3. Tabbed toolbar. Contains available commands for the application. You will find a detailed description of any of the commands in Appendix C: Menu Commands.
  1. Project Navigator pane. Contains a list of any object (tables, queries, forms, ...) created within the currently opened database project. The navigator also contains a small toolbar with the most frequently used commands related to the database objects.
  1. Tabs of opened project objects. ...
  2. A mini toolbar of opened project object. ...
  3. Area with opened project object. A central area of the application utilising most of the screen space. In IDEAl user interface mode it contains switchable tabs with windows that are always maximized. In Childframe user interface mode it contains floating windows.
  1. Property Editor pane. Contains a list of properties of the currently selected database object. For certain objects (e.g. form widgets) it may have several tabs.

Tabbed Toolbar

File:Kexi TabbedToolbar.png

The toolbar is the place that gives you access to most KEXI commands and actions. Using the actions found in the different tabs on the toolbar you can:

  • Create / Open / Close Kexi projects
  • Create Database objects
  • Import / Export Data

Depending on the context, additional tabs may be visible:

  • Form Design tab is only visible if the Form Designer is actually in use.
  • Report Design tab is only visible if the Report Designer is actually in use.

Project Navigator Pane

File:Kexi ProjectNavigator.png

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, reports and scripts.

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

For each object on the list a context menu is available using the right mouse button.

Double clicking with the left mouse button on the object's name on the list opens 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

Even though your operating system or window manager may be set up to handle single clicks instead of double clicks, KEXI uses double clicks in Project Navigator to avoid accidentally opening large datasets or executing queries.


Opened Database Objects Area / Tabbed Windows

File:Kexi WindowTabs.png

Whenever you double click an object in the project navigator, it opens in the Opened database objects area. Each window has its own tab in KEXI.

You can rearrange the tabs by drag and drop, and close them using the button located on the right of each tab.

Note

Sometime later on there will be an option to detach tabs, creating somewhat something similar to an MDI interface. That could be useful for custom solutions or multiple displays.


Property Editor Pane

File:Kexi PropertyEditor.png

In the Property Editor pane you can change properties of the object displayed in the active window. Depending on the context, the pane consists 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 up/down arrows at the right of the value field.
    • text
    • a drop down list of values; click on the desired value to select
    • 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.

Note

* 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 Name. 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 Property Editor pane is not visible if:

  • no single database object's window is open, or
  • the active database object's window does not offer properties as is the case when open in Data View instead of Design View.