Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added History Button #40

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

HappyLife2
Copy link

Calculator History Feature Implementation

Enhanced the calculator project by introducing a Calculation History feature, allowing users to access and recall previous calculations.

Changes Made:

  1. History Initialization:

    • Added self.history variable to store calculation history.
  2. History Storage:

    • Modified _get_data_in_input method to save calculations in history.
  3. Show History Method:

    • Implemented show_history to display history in a dedicated window.
  4. Integration with UI:

    • Connected show_history method to a "Show History" button.

Summary:

Users can now review and recall their last 10 calculations using the "Show History" button, enhancing usability and overall user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant