Qalculate

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

5
Score 63.3%
Description:

A calculator plasmoid that makes use of the Qalculate! library, which is needed to build this plasmoid (you can get it at http://qalculate.sourceforge.net).

You can use the comments to report bugs and suggest new features.

Application official website: http://wwwu.uni-klu.ac.at/magostin/qalculate.html

This applet is now in kdeplasma-addons on the KDE SVN repository. This means that it will be included in KDE 4.4. You can check out the code (and contribute if you wish :) at http://websvn.kde.org/trunk/KDE/kdeplasma-addons/applets/qalculate/
Last changelog:

10 years ago

- 0.7.2
Fixed a bug in focus handling
Fixed history navigation, now it should be working also when plasmoid is in panel

- 0.7.1
Improved focus handling
Added option to automatically give focus to the input line edit on plasmod activation

- 0.7
Various bugfixes
Proper stretch factor of the settings dialog

- 0.6.4
Async. and non-blocking download of exchange rates at startup
Hide tooltips when applet is placed on desktop
Display icon when no input is given

- 0.6.3
Fixed bug when both live evaluation and write results in input line are enabled

- 0.6.2
Fixed vertical panel issue
Added option to evaluate expression as you type

- 0.6.1
Clear button added
Applet is scaled down to a one-line calculator when the option "Write results in input line" is enabled
Applet is now respecting locale settings
Fixed a couple of memory leaks
Fixed some translations

- 0.6
Applet rewrite. Now using Plasma::PopupApplet
Improved panel support
Improved interface
Added support for Reverse Polish Notation
Added base conversion
Added various options

- 0.5.2
KDE Proxy settings applied when downloading exchange rates

- 0.5.1
Fixed update of exchange rates
Fixed input string conversion

- 0.5
Added button to copy results
Added option to write results in input line edit
Added notifications when applet is in panel
Better integration in panel
Various improvements

- 0.4
Plasmoid can be moved to panel
Added possibility to copy results to clipboard

- 0.3.1
Compatibility with KDE 4.2
Added icon

- 0.3
Added currency conversion
Changed aspect ratio
Minor changes

- 0.2
Improved formatting of the result
Added more options

- 0.1
Initial version

KjaB

7 years ago

I have the Qalculate plasmoid in my panel to have it easily accessible and have assigned a shortcut to quickly open it. When triggering the plasmoid by shortcut, however, the input field is not automatically focussed requiring the mouse to click it…

Report

9

Murz

8 years ago

How I can decrease height of plasmoid?
It eats much of space in vertical-aligned panel! See the screenshot: http://wstaw.org/m/2011/03/17/qalculate_plasmoid.png

It uses only one line for display result and one line for input, how I can remove wasted space from it?

Report

dovidhalevi

9 years ago

The latest qalculate on Debian Sid (unstable) breaks the applet. The applet apparently tests for its presence on startup and the new version is "not found."

Quick fix? New version?

BTW: The runner version still works OK.

Report

mikala

9 years ago

maybe you can try to rebuild it against the new lib?

Report

dovidhalevi

9 years ago

OK.

Source link is broken :-(

Report

C

matteo81

9 years ago

Download link is now fixed. Sorry for the late answer.

BTW, the applet is now included in KDE SC 4.4 (in kdeplasma-addons).

Report

px79

10 years ago

Another feature request:
It would be nice if there was an option to automatically clear the input line of previous inputs.

2 ideas:
- When setting focus to the input-field after activating via keyboard-shortcut or click an the widget area, you could select all the input. This way by typing a new formula, the old text will automatically be overwritten

- If used in a panel, you could add an option "erase input line, when widged closed/hidden"

I'm using widget version 0.7.2 with KDE 4.3.1.

Report

C

matteo81

10 years ago

Nice idea! I'll implement this when I have time.

Report

px79

10 years ago

I love the feature of sci-calculators/qalculate-kde, printing how Qalculate is interpreting my input.
Example:
I enter "5 + 3 * 16 ^ 2 + 7 / 9"
And Qalculate prints "5 + (3 * (16 ^ 2)) + (7 /9)" beneath

I would imagine that there is somewhere a function in sci-libs/libqalculate around returning this string. So implementing should not be a big problem.
Maybe an extra option in settings dialog "[ ] show interpreted input".

BTW: The package names are from gentoo portage.

Report

C

matteo81

10 years ago

I'll have a look at the API and see if this can be easily implemented. Thanks for the suggestion.

Report

Finswimmer

10 years ago

Hi,

I cannot execute the above term as I cannot type ^.
I tried it with a fresh user using DE Layout. ^ is working in konsole and any other KDE programs.

I switched to US Layout and it works.

Thanks!

Tobi

Report

C

matteo81

10 years ago

I cannot reproduce this. I tried also with a German keyboard and it works fine here.

What happens if you press the '^' key twice? Will the '^' sign appear? If that's the case, you might have to change some locale-related settings.

Report

Finswimmer

10 years ago

Hmm.
On KDE 4.3.73 it does not work.
On KDE 4.3.2 it works.

So, I guess it is ok, if it just works on stable branch...

Thank you

Report

Ekardnam

10 years ago

First of all, great plasmoid. Very useful.

It would be nice if the textbox got focus if you click anywhere on the widget. I implemented this for myself (for fun) a while ago, but I'm sure it's no problem for you to do it.

(1. I'm not sure I did it the right way. 2. I don't have access to that machine at the moment. Sorry about that, would be fun to send a patch otherwise. :P).

Report

nqn1976

10 years ago

I second the request. Also when opened via keyboard shortcut the input line should get focus, right now you need to click on it after it's opened

Report

C

matteo81

10 years ago

Feature added in v0.7.1. It can be disabled in the plasmoid settings, if wanted.

Report

px79

10 years ago

Works in "normal life", thx!

But the focus is not set to the input field (after activating via shortcut), if you used the plasmoid "show the desktop" to minimize all application windows. No idea, why!

Report

C

matteo81

10 years ago

Yes, I am aware of this but unfortunately I don't know how to solve it.

Report

px79

10 years ago

forgot to mention: I'm using qalculate plasmoid 0.7.2 with KDE 4.3.1

Report

C

matteo81

10 years ago

I agree with you that this would be a nice feature. At the moment I am quite busy, but I will implement it as soon as I get the chance. Thanks for the feedback!

Report

Ekardnam

10 years ago

Thank you for implementing this, keep on rocking!

Report

dplentini

10 years ago

Hi! I love this applet, but when I tried to compile 0.6.4 to upgrade from 0.4, I get the following:

david@DD:~/qalculate_applet-0.6.4/build$ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/david/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:6 (find_package)


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.6)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
david@DD:~/qalculate_applet-0.6.4/build$ make
make: *** No targets specified and no makefile found. Stop.

Report

C

matteo81

10 years ago

It looks like you are missing some development packages. Try installing kdelibs5-dev with: sudo apt-get install kdelibs5-dev. Then run cmake again.

Report

dplentini

10 years ago

Thanks! I added the library, and the applet compiled like a charm. :-)

Now if I can only figure out how RPN works on Qalculate. :-|

Report

C

matteo81

10 years ago

RPN is not exactly intuitive at the moment. To use it, you have to enter an expression like this: "123 98 +" ant then press ENTER.

If you have some ideas how to improve it, let me know :)

Report

10 years ago

- 0.7.2
Fixed a bug in focus handling
Fixed history navigation, now it should be working also when plasmoid is in panel

- 0.7.1
Improved focus handling
Added option to automatically give focus to the input line edit on plasmod activation

- 0.7
Various bugfixes
Proper stretch factor of the settings dialog

- 0.6.4
Async. and non-blocking download of exchange rates at startup
Hide tooltips when applet is placed on desktop
Display icon when no input is given

- 0.6.3
Fixed bug when both live evaluation and write results in input line are enabled

- 0.6.2
Fixed vertical panel issue
Added option to evaluate expression as you type

- 0.6.1
Clear button added
Applet is scaled down to a one-line calculator when the option "Write results in input line" is enabled
Applet is now respecting locale settings
Fixed a couple of memory leaks
Fixed some translations

- 0.6
Applet rewrite. Now using Plasma::PopupApplet
Improved panel support
Improved interface
Added support for Reverse Polish Notation
Added base conversion
Added various options

- 0.5.2
KDE Proxy settings applied when downloading exchange rates

- 0.5.1
Fixed update of exchange rates
Fixed input string conversion

- 0.5
Added button to copy results
Added option to write results in input line edit
Added notifications when applet is in panel
Better integration in panel
Various improvements

- 0.4
Plasmoid can be moved to panel
Added possibility to copy results to clipboard

- 0.3.1
Compatibility with KDE 4.2
Added icon

- 0.3
Added currency conversion
Changed aspect ratio
Minor changes

- 0.2
Improved formatting of the result
Added more options

- 0.1
Initial version

12345678910
2
product-maker Grindcore Jun 11 2011 9 excellent
product-maker Murz Mar 17 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
Murz
Mar 17 2011
Xenos
Sep 27 2009
t3ddy
Sep 22 2009
mikala
Sep 12 2009
siefkenj
Jun 10 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.7.2
updated Oct 22 2009
added Jul 05 2008
downloads 24h
0
pageviews 24h 2