Skip to content

QtCalculator 1.1.0

Latest
Compare
Choose a tag to compare
@ammelto ammelto released this 14 Jan 08:06

Changelog 1.1.0

Features

  • Added history window
    • history window will store up to 32 characters. After that, the window will be reset
  • Added chaining operations using the equals button
    • Pressing equals a second time will now perform the last operation selected on the current value in memory and the one in the number box (your input).

Technical

  • Fixed bug #1 that would cause numbers to appear incorrectly when the value in memory was less than 10.
  • Fixed bug #2 that caused issues when chaining the minus operation.
    • It is still not possible to chain the minus operation via equals, it is possible to use the minus operation consecutively though.
  • The calculator now detects new number input using a newIn flag rather than comparing to memory. This fixes several issues regarding memory management. The calculator should be more responsive now.

Future Development

For the most part, I'm finished with the calculator. There's still a few more bugs I could work out, but I plan on moving to another project soon. The main goal of this was to understand how to use Qt and C++, since I have a basic grasp on that I plan on moving to another project. As a result, this will probably be the final release. In the future, I probably won't use the ui designer in Qt Creator simply because it was difficult to work with. It seems like a lot of these bugs and issues I had stemmed from using the designer. The designer does not give me nearly as much control over my ui elements as I'd like.