Notices


Reply
Thread Tools
erendorn's Avatar
Posts: 738 | Thanked: 983 times | Joined on Apr 2010 @ London
#1
Hello!
This is just a project I did to improve my knowledge of Qt, and try a bit of QML. So it's neither really a breakthrough (there are dozen of calculators out there), nor really finished (though if people want, I'll work a bit more on it).
But anyway, it works, so I'll share the debs and the code!
Code is shared on BitBucket

N9 version (ovi store)

N900 version (extra testing)


I have attached some screen shots (I haven't made two qml versions, which in retrospect is bad, but because of that the app has the same ugly look on both devices) too.
Attached Images
  

Last edited by erendorn; 2012-02-03 at 18:29.
 

The Following 8 Users Say Thank You to erendorn For This Useful Post:
Posts: 95 | Thanked: 196 times | Joined on Oct 2010
#2
Very nice!
tried it on my N900 and it looks like this is the calculator I will use most on it.

so far, this is the only calculator I know that has buttons in a size that I can easily press with my fingers (unlike "Almost TI85") but still has on very important button for me - the number Pi!

I need to calculate the area of a circle quite often, so this is great!

btw. (out of curiosity): how accurate (how many digits) does this calculator work in its calculations?
 
erendorn's Avatar
Posts: 738 | Thanked: 983 times | Joined on Apr 2010 @ London
#3
Originally Posted by Casanunda View Post
Very nice!
tried it on my N900 and it looks like this is the calculator I will use most on it.

so far, this is the only calculator I know that has buttons in a size that I can easily press with my fingers (unlike "Almost TI85") but still has on very important button for me - the number Pi!

I need to calculate the area of a circle quite often, so this is great!

btw. (out of curiosity): how accurate (how many digits) does this calculator work in its calculations?
Thanks. The calculator is implemented in c++ with double precision and the math.h functions, so calculations use roughly 15 digits.
Then, the results are displayed troncated at a hardcoded (sorry) 6 digits (same for what you get in the clipboard).
Note that the memory function (using "resX") stores the full digits results.
 
Posts: 258 | Thanked: 76 times | Joined on Sep 2010 @ Lima-Peru
#4
link doesnt work for n900.
__________________
I Luvvvv My N900!!

Have my N900 since 2010 and still is my main phone!

I'm Making money viewing Ads Here Now making money to donate to the forum
 
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#5
Thanks for providing a N900 version, will you upload it to repos?
 
erendorn's Avatar
Posts: 738 | Thanked: 983 times | Joined on Apr 2010 @ London
#6
Originally Posted by Shinigamijim View Post
link doesnt work for n900.
it should :/ works here. But it's a https page using a CA cert root certificate, so it may give you security warnings, or even stop you from downloading it until you add the certificate.
I'll try to set up my web server so that it has some non-secure http access too.

Originally Posted by ivgalvez View Post
Thanks for providing a N900 version, will you upload it to repos?
I've never uploaded anything to the repo, but I can give it a try.
 
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#7
It's not difficult at all, please take a look at this.

This way a lot more users will notice your application.
 

The Following User Says Thank You to ivgalvez For This Useful Post:
Posts: 95 | Thanked: 196 times | Joined on Oct 2010
#8
Sorry for asking stupid question, but what do the buttons "^C" and ^V" do?

(though if people want, I'll work a bit more on it)
I'd love a "LOG" and a "10^x" button...
 

The Following User Says Thank You to Casanunda For This Useful Post:
erendorn's Avatar
Posts: 738 | Thanked: 983 times | Joined on Apr 2010 @ London
#9
Originally Posted by Casanunda View Post
Sorry for asking stupid question, but what do the buttons "^C" and ^V" do?


I'd love a "LOG" and a "10^x" button...
it's the terminal way of writting "ctrl + c" and "ctrl + v". "^C" will copy the last result, "^V" will paste your clipboard in the input text area.

For the log, you can allready write "log" with your keyboard (case insensitive I think), and it should recognize it
If I have time, I'll add a menu that lists the availlable functions (currently only the 6 here plus log, but it's easy to add. same for the constants, they can be added easily, but I didn't know what was needed except pi)
for the 10^, i find it redundant with the "^" key.
 

The Following User Says Thank You to erendorn For This Useful Post:
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#10
Somehow it looks nicer on my N900 than on your screen shots It's a keeper.
__________________
All I want is 40 acres, a mule, and Xterm.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:36.