aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-calculator/mainUI.cpp
Commit message (Collapse)AuthorAge
* add quit and clear shortcuts to calculatorq5sys2017-06-05
|
* Bump up the reported precision of the lumina-calculator result to a max of 7 ↵Ken Moore2016-12-19
| | | | digits before switching to exponential notation.
* Fix a recursive bug in the parenthesis matching/replacing routine within ↵Ken Moore2016-11-29
| | | | lumina-calculator.
* LARGE UPDATE:Ken Moore2016-11-07
| | | | | | | 1) Dismantle the Lumina library completely. 2) Setup lots of small subproject files (.pri) for the individual classes within the old library. 3) Move all the Lumina binaries to use the new subproject files 4) Split up the LuminaUtils class/files into LUtils and LDesktopUtils (generic utilities, and desktop-specific utilities)
* Add in a ton of scientific mathematical functions to the calculator.Ken Moore2016-11-01
|
* Another update to the calculator:Ken Moore2016-11-01
| | | | | | 1) Add buttons to clear/save the history (saves as plaintext to a file) 2) Tag each result with a number (#1), and allow the usage of #<number> to recall a history item 3) When recalling history, see if the result looks like it was rounded using the double->text routine for display. If so, substitute the equation, otherwise just use the result (tries to ensure no rounding error-continuity by using previous results).
* Fix up the double-precision calculation of equations within parentheses.Ken Moore2016-10-25
| | | | Now (3*(1/3)) properly equals 1 instead of 0.9999999
* Update lumina-calculator a bit:Ken Moore2016-10-21
| | | | | | 1) Re-arrange the buttons a tiny bit to match what a numpad looks like (based on user feedback) 2) To fill the empty spot in the corner, add a "percent" button and add handling for that within the solver. 3) Adjust all the button properties so that the window can be resized down to a much smaller footprint as desired.
* Setup the calculator to automatically load the last result if the first char ↵Ken Moore2016-10-20
| | | | is an operator.
* Oops, make sure the .desktop file actually gets installed.Ken Moore2016-10-20
|
* Finish cleaning up some of the calculator:Ken Moore2016-10-20
| | | | | | 1) Add an input validator to the line edit to ensure only valid characters get added 2) Add the ability to click a history item to copy that equation into the line edit. 3) Turn off some debugging messages.
* Add the ability to acknowledge the "power" symbol (^) within an equationKen Moore2016-10-20
|
* Fix up the parsing/usage of scientific notation within the equation (1e1 or ↵Ken Moore2016-10-20
| | | | | | 1E1 = 10) Similarly, skip any +/- at the beginning of a number/section with no context for operation purposes (is a modifier for the number, not an actual operation)
* Hook up the Lumina theme engine into lumina-calculator for icon changes, as ↵Ken Moore2016-10-20
| | | | well as the translation loading mechanisms.
* Comment out the "valid symbols" line in lumina-calculator.Ken Moore2016-10-17
|
* Add a title/icon for the lumina-calculator window.Ken Moore2016-10-13
|
* add buttonsJT Pennington2016-10-13
|
* Add a new Lumina project: desktop-utils/lumina-calculatorKen Moore2016-10-05
This is just a very basic calculator at the moment. It still need more buttons/icons/features/etc added to it, but the algorithm and mathematics are already functional for evaluation expressions containing: Addition/Subtraction (+/-) Multiplication/Division( * or x, and /) Order of operations when mixing operations, including expressions within parentheses
bgstack15