Other functions: Configuring pgDesigner


The settings general pgDesigner are enclosed in a separate window, accessible via the main menu. Through this window, you can change both the look and feel of open and projects, both default parameters for new projects.

The window consists of a series of folders containing the general settings and current pgDesigner, observed by the general configuration file, which will be discussed in later chapters.

As you can see in the figure below, in the Miscellaneous folder, there are a variety of settings, defining both the overall look and feel of pgDesigner, the conditioning of some features of the background, or to configure the default values for new projects.





In the next folder, the second from the left, contains some settings that affect the visibility of objects inside of the projects. Specifically:



In the third folder, the file "Colors", there are three other folders in which you can define the colors of individual types of objects designed in the diagram. It should be borne in mind, and will be described later in later chapters, which pgDesigner inside defines three classes of objects, according to the approach and graphics from which it is put into the project generally objects (tables , etc..), relations, and texts; for the zones (an object purely chart), the color settings are included in the same customized and individually.

Each color folder contains within it a list of descriptions, references to many aspects graphics for the type of object that is gearing treating every reference to the right on a button, the color of which reflects the current setting of the property described. On the right of the window is a panel which, according to the type of object that is gearing setting, graphically shows an example of how this will be displayed in the diagram. To change a color simply press the button corresponding to the property to be amended, so as to open a dialog box, where you can define the new color, including through the establishment of RGB values. The amendment, once confirmed, will be shown in the example. At the end of configuration, and save the new settings will be presented with a confirmation message, which will be possible to determine whether the new approach will be applied to all projects open on only active project, or simply stored for the next new projects. It is considered that if the changes are confirmed and applied to the projects, they write above all customizations made on individual items, and will be saved with the project, otherwise any customization performed on individual objects, loading a project, they take precedence over the default settings.

In Folder "Objects" are the settings of color for all items, except relations, areas, and text. Apart from these particular groups of objects, everything else is graphically as a window: a title (the name of the object) in a rectangle similar to the title of a window on the desktop, and a light gray, contains details of the object (in the case of a table, the list of fields ...).



In the second folder "Colors", there are the color settings for the objects of type relation. Objects of type relation occur in the form of lines, whose continuity is conditioned by the type of relationship (mandatory, not mandatory, etc.) Between tables. The point of attack with the source table (Table father) is defined with a small square of full color, while the point of attack on the destination table (Table daughter) is designed as a bit of arrow always full of color; in exactly half this line is also a small rectangle full color, and if I check "Label" is enabled, next to it the name of the report. The color settings for both the points attache that the same line.



The last folder "Texts" can define colors of the objects of type text. As you can see from the figure, these objects are simple text charts contained in a small area of size-dependent text. In subsequent chapters this type of object will be described in more detail.