Today I did -:
- Solved bug related to ComboBox in code.
- Redefined the ParameterEntry class.
- Deleted redundant branches and files.
- Replaced ParameterEntryWidget with ParameterVirtualWidget( a virtual class )
- Added ComboBox and SpinBox to virtual class ParameterVirtualWidget
- Changed little UI.
I had re-factored the code know :
- There is parameterObject class which contain the info regarding a Parameter and is responsible for injecting and extracting the individual parameters in AST.
- Then there is parameterEnterWidget class which uses the info in ParameterObject’s instance to create UI for that parameter.
- Then there is ParameterExtractor class which is responsible for extracting and injecting all parameters and then send individual parameter to ParameterObject and store instance of all ParameterObject’s in a container.
- ParameterExtractor class is inherited By ParameterWidget class which is linked to main program. ParameterWidget class take individual ParmeterObject object from the container in which they were stored by ParameterExtractor class and sends it to ParameterEntryWidget class object and then add it to GUI interface . this is done for all ParameterObject Objects in container.