Wednesday, 12 February 2014

Work Summary 2.12

New functions that were added to the GUI program are:

1. Add a graph file

We have designed a button for this function before, now this function is realized. "Add a file" means importing a figure to the display window on the GUI. To meet the design requirement, the file format of the figure was confined to *.bmp only.The button of the function is shown as below.


To show the new character, we import a figure as an example.

For example, we add this figure into the GUI.


Just click the button and a dialog is displayed.


Choose it and then we can see that the figure is displayed.


2. Add data

This function enables us to put data contained in an Excel file into the GUI and display them in a table. First of all, we designed a table on the GUI.


By using the similar method as "Add a graph file", we realized this function. For example, we import an *.xslx file.



By clicking the button "Add data", a dialog is displayed.


Select file and then the data is displayed in the table.





No comments:

Post a Comment