This pull request introduces several enhancements and refactoring to the pysnippets/GUIinPy module to improve the structure and functionality of the GUI components. The primary changes involve adding new GUI components, updating the test cases, and refactoring the code to modularize the components, menus, and dialogs.
Enhancements to GUI Components:
pysnippets/GUIinPy/Gui.py: Added new GUI components such as sliders, checkboxes, radiobuttons, textboxes, spinboxes, listboxes, and canvas to the main GUI window.
pysnippets/GUIinPy/components.py: Created a new module to define complex GUI components, including sliders, checkboxes, radiobuttons, textboxes, spinboxes, listboxes, and canvas.
Refactoring and Modularization:
pysnippets/GUIinPy/Gui.py: Refactored the code to import and use the newly created components, menus, and dialogs modules.
✅ Closes: #460
This pull request introduces several enhancements and refactoring to the
pysnippets/GUIinPy
module to improve the structure and functionality of the GUI components. The primary changes involve adding new GUI components, updating the test cases, and refactoring the code to modularize the components, menus, and dialogs.Enhancements to GUI Components:
pysnippets/GUIinPy/Gui.py
: Added new GUI components such as sliders, checkboxes, radiobuttons, textboxes, spinboxes, listboxes, and canvas to the main GUI window.pysnippets/GUIinPy/components.py
: Created a new module to define complex GUI components, including sliders, checkboxes, radiobuttons, textboxes, spinboxes, listboxes, and canvas.Refactoring and Modularization:
pysnippets/GUIinPy/Gui.py
: Refactored the code to import and use the newly created components, menus, and dialogs modules.pysnippets/GUIinPy/menus.py
: Added a new module to create and manage the application menu.pysnippets/GUIinPy/dialogs.py
: Added a new module to handle information and warning dialogs.Updates to Test Cases:
Tests/GUIinPy/testLogic.py
: Updated the test cases to reflect the changes in the GUI components and renamed the test class toTestGUIComponents
.TESTING
@UTSAVS26 Kindly review this PR. and give lvl 3