First, there will be two tables added to your database: <em>persons</em> and <em>phone_numbers</em>. These are exactly the same tables as described in chapter <ahref="01_02_00_db_spreadsheet.html">1.2. A database and a spreadsheet</a>. A tqlayout for <em>Persons</em> can be found in section <ahref="01_02_00_db_spreadsheet.html#data_integrity">Data integrity and validity</a> in that chapter.
First, there will be two tables added to your database: <em>persons</em> and <em>phone_numbers</em>. These are exactly the same tables as described in chapter <ahref="01_02_00_db_spreadsheet.html">1.2. A database and a spreadsheet</a>. A layout for <em>Persons</em> can be found in section <ahref="01_02_00_db_spreadsheet.html#data_integrity">Data integrity and validity</a> in that chapter.
@ -196,7 +196,7 @@ It is right moment for testing your form. Click the <nobr><img src="icons/state_
To make it easier for the form's user to identify meaning of every field widget, these should have added text labels with appropriate titles. To create text labels <nobr><imgsrc="icons/label.png"class="icon"><em>Label</em></nobr> widget is used.
</p>
<p>
Insert three text label widgets onto the form, placing them on the left hand of the text fields (or on the right hand if your operating system uses right-to-left tqlayout). On inserting every new label, a text cursor appears inside where you can enter desired title. Enter consecutively: <em>Name</em>, <em>Surname</em> and <em>Street</em>. Additionally, on the top of the form insert another label displaying name of the form, i.e. "Persons". Enlarge this label's size and set larger font using <ahref="aa_00_00_menu.html#menu_format_font">Format -> Font</a> menu command.
Insert three text label widgets onto the form, placing them on the left hand of the text fields (or on the right hand if your operating system uses right-to-left layout). On inserting every new label, a text cursor appears inside where you can enter desired title. Enter consecutively: <em>Name</em>, <em>Surname</em> and <em>Street</em>. Additionally, on the top of the form insert another label displaying name of the form, i.e. "Persons". Enlarge this label's size and set larger font using <ahref="aa_00_00_menu.html#menu_format_font">Format -> Font</a> menu command.
</p>
<p>
<br><imgsrc="img/05_04_06_form_with_labels.png">
@ -267,8 +267,8 @@ Using layout in this form improves alignment. Moreover, its space is better deve
<p>
There are two methods to create widget layout.
<ul>
<li>Select two or more widgets that should be placed in a common tqlayout, and select one of the tqlayout types from the context menu item <ahref="aa_00_00_menu.html#menu_format_layout">Layout Widgets</a>.</li>
<li>Click a <ahrf="widget_containers">container widget</a> (or a form surface itself), where widgets are inserted and select one of the tqlayout types from the context menu item <ahref="aa_00_00_menu.html#menu_format_layout">Layout Widgets</a>. All widgets existing within the container or within the form, being on the same level will be put into a single common tqlayout.</li>
<li>Select two or more widgets that should be placed in a common layout, and select one of the layout types from the context menu item <ahref="aa_00_00_menu.html#menu_format_layout">Layout Widgets</a>.</li>
<li>Click a <ahrf="widget_containers">container widget</a> (or a form surface itself), where widgets are inserted and select one of the layout types from the context menu item <ahref="aa_00_00_menu.html#menu_format_layout">Layout Widgets</a>. All widgets existing within the container or within the form, being on the same level will be put into a single common layout.</li>
</ul>
In each of these cases you can also use <em>Format -> Layout Widgets</em> menu.