| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
digits before switching to exponential notation.
|
|
|
|
| |
lumina-calculator.
|
|
|
|
| |
Also start pruning unneeded libLumina classes from the desktop utils.
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
Now (3*(1/3)) properly equals 1 instead of 0.9999999
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
is an operator.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
well as the translation loading mechanisms.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
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
|