Table

Edit Table

Figure 3-5. Edit Table Dialog

This dialog is used to set up the characteristics of a Table; it is not a value editor. The Edit Table dialog is used to specify how many columns and rows the table should have and to label the rows and columns. All these characteristics can be changed in code. The left hand part of the dialog shows a preview of the table, the right hand part contains two tabs, the Columns tab and the Rows tab. Columns are added by clicking the New Column button. A column may have a textual label entered in the Label line edit and a pixmap. The pixmap is inserted by clicking the ellipsis button and choosing the pixmap you want. You can delete the pixmap by clicking the scissors button. The columns can be reordered by clicking a column in the column list and then clicking the blue up and down arrow buttons. To delete a column click it in the column list then click Delete Column.

The Rows tab is used to add rows. It works in the same way as the columns tab. Click New Row to add a row and change its label in the Label line edit. Rows can also have a pixmap and may be reordered in exactly the same way as columns. The contents of cells must be inserted through code.