Database properties application

The Gda control center application makes it easy to declare new data sources:

gdp2.png

Widgets from the UI extension

Login

The login widget lets the user enter information required to open a connection defined by a data source. The following screenshot shows the ldap data source selected.

login2.png

DSN specification

The DSN spec. widget lets the user enter information required to create a new data source (the actual type of information depends on the DBMS which will be used). The following screenshots shows this widget for a PostgreSQL and for a TDS data source.

dsn_spec.png dsn_spec2.png

Form widget

The form widget displays a row of a data model in a form and, if the data model allows it, lets the user modify data. The form comes as two flavors: one where only the form is present (and where the programmer must handle how and when the data model row changes), and one where navigation buttons are also present to let the user change the currently displayed row.

The screenshot below shows the two flavors of form, and also show that the form can use some optional plugin to display the data (here the picture plugin is used to display the contents of a blob as a picture).

form.png

Grid widget

The grid widget displays the contents of a data model in a tabular way and, if the data model allows it, lets the user modify data. For large data models (with large number of rows), the grid allows the programmer to specify that the data is displayed in "chunks" of rows (the number of rows in a chunk is specified).

As with the form, the grid comes as two flavors: one where only the grid is present, and one where navigation buttons (to change the current chunck of data) are also present.

The screenshot below shows the two flavors of grid, and also show that the grid can use some optional plugin to display the data (here the picture plugin is used to display the contents of a blob as a picture).

grid.png

ScreenShots (last edited 2011-06-04 12:43:48 by VivienMalerba)