- Timestamp:
-
09/16/13 23:48:33 (11 years ago)
- Author:
-
Shubhamsomani
- Comment:
-
/* Introduction */
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v28
|
v29
|
|
23 | 23 | solves the problem of keeping the GUI up-to-date with limited maintainer-hours. |
24 | 24 | |
25 | | Below is a list of requirements for the application GUI |
| 25 | The application GUI is |
26 | 26 | # Written in Python |
27 | 27 | # Allows the user to edit values |
28 | | # Recognize when one of the values is not set |
29 | | # Save its own version of user configuration, and |
30 | | # Generate a .c file which would be used in an application |
31 | | # Must not use "hot dog stand" colors; i.e. look professional |
| 28 | # Recognizes when one of the values is not in correct format |
| 29 | # Saves its own version of user configuration, and |
| 30 | # Generate a .h file which would be used in an application |
32 | 31 | # Automatically generated by running a command that uses textual substitution/parsing of http://git.rtems.org/rtems/tree/doc/user/conf.t |
| 32 | == ===================GUI DIRECTORY STRUCTURE================================ |
| 33 | |
| 34 | Controller.py -> Controller of the complete tool. |
| 35 | GUI.py -> File responsible for UI generation. |
| 36 | Generator.py -> File responsible for header file generation. |
| 37 | configuration.ini (present after you save values) -> responsible for storing saved values. |
| 38 | header.h -> The generated header to be used in Applications. |
| 39 | /text/text_parser.py -> The text parser module, which parses the conf.t and fetches neccesary information. |
| 40 | The Graphical User Interface is created on the MVC(Model View Controller) framework. |
| 41 | In the GUI ,the Model is the conf.t file where definitions of the macros are present. |
| 42 | The View is GUI.py file which handles with creating the GUI. |
| 43 | The Controller is the Controller.py file. |
33 | 44 | = Goal: = |
34 | 45 | |