-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (1) .- Knowledge Base  . 

One-Line Calculator

   0.3  

Plasmoid Binary

Score 82%
One-Line Calculator
zoom


One-Line Calculator
zoom


Minimum required   KDE 4.x
Downloads:  1127
Submitted:  Sep 17 2008
Updated:  Dec 29 2009

Description:

One-Line Calculator for KDE4 is my first plasma applet.

It's calculator, consisting of one lineedit widget: you enter expression, press enter and it calculates it.

Calculating implemented through QScriptEngine using ECMAScript.

You may find source code at github: http://github.com/alno/plasma-widget-onelinecalc/tree/master

PPA for Karmic available: https://launchpad.net/~alexey-noskov/+archive/kde




Changelog:

0.3
* Fixed KDE 4.2 installation

0.2
* Configuration dialog added with ability to define an initialization script.

It's used to define following functions:
abs, acos, asin, atan, atan2, ceil, cos, exp, floor, log, max, min, pow, random, round, sin, sqrt, tan

But using configuration dialog, you may define your own set of functions, using ECMAScript.

For example, see definition of cool function in configuration dialog.




LicenseGPL
Source(Source .tar.gz)
Send to a friend
Subscribe
Other  Artwork  from alno
Report inappropriate content



-

 Qalculate?

 
 by destroyer661 on: Sep 21 2008
 
Score 50%

I don't want to be negative about your app, because it may well be useful for some. I just want to know what separates (or makes it better/different) it from the qalculate plasmoid?


Reply to this

-
.

 Re: Qalculate?

 
 by alno on: Sep 22 2008
 
Score 50%

Ok, good question.

Some time before i tried to use a qualculate plasmoid. But i have some troubles:
1) I cann't select and copy result from Qalculate, because it draws result at background.
2) Big numbers are rendered in scientific notation, which isn't acceptable in some cases. For example, when i want to insert calculated number in code, or configuration file.
3) Big numbers are calculated not so preciously as i need. For example: try 12345678*12345 in Qalculate and my plasmoid.

These problems i tried to solve with my plasmoid.

And there is one another difference between Qualculate and One-Line Calculator:
4) One-Line Calculator is much simpler and doesn't depend on any third-party libraries.


Reply to this

-

 Re: Re: Qalculate?

 
 by destroyer661 on: Oct 4 2008
 
Score 50%

Thanks for replying! Those are very good reasons for switching, I'll be using yours from now on.


Reply to this

-

 Re: Re: Re: Qalculate?

 
 by matteo81 on: Jul 12 2009
 
Score 50%

Actually the Qalculate plasmoid yields exactly the same result if you switch to 'combined' or 'fractional' number format in the settings


Reply to this

-
.

 Catch ebuild!

 
 by devel0per on: Oct 8 2008
 
Score 50%

Thank you, tool is very usefull.

Ebuild for Gentoo users is here - http://sonylaptoptools.sourceforge.net/ebuilds/onelinecalc-0.1.ebuild

alno, whats about some a bit difficult fuctions, such as - sqrt, pow, etc..


Reply to this

-

 Re: Catch ebuild!

 
 by alno on: Oct 11 2008
 
Score 50%

Good idea! I try implement it very soon.


Reply to this

-
.

 Re: Catch ebuild!

 
 by alno on: Oct 12 2008
 
Score 50%

I made it, you may try new version.
And even more: now you can define your own functions in configuration dialog =)


Reply to this

-
.

 Re: Re: Catch ebuild!

 
 by devel0per on: Oct 12 2008
 
Score 50%

thank you mate!

new ebuild is here - http://sonylaptoptools.sourceforge.net/ebuilds/onelinecalc-0.2.ebuild

I'm fall in love because "random" function is build-in ! :))


Reply to this

-

 Gentoo ebuild with patch

 
 by devel0per on: Feb 17 2009
 
Score 50%

Ebuild with kde-4.2 build patch is pushed into gentoo overlay - kde-testing.

http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commitdiff;h=443a9e8a4ac9e6b917b6799840699da131abe711


Reply to this

-

 I have this erro when do CMAKE

 
 by lukeluke on: May 13 2009
 
Score 50%

Hello, i have Opensuse 11.0 con KDE 4.2, when i do:

cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`


This is the output:

-- Found Qt-Version 4.5.1 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.3.0
-- Found KDE 4.2 include dir: /usr/include
-- Found KDE 4.2 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
CMake Error at /usr/share/kde4/apps/cmake/modules/FindPlasma.cmake:13 (message):
FindPlasma.cmake is deprecated. Now with KDE 4.2 Plasma is part of kdelibs
and automatically found using find_package(KDE4) instead.

Replace the variables previously coming from FindPlasma.cmake as follows:

PLASMA_OPENGL_FOUND -> KDE4_PLASMA_OPENGL_FOUND

PLASMA_LIBS -> KDE4_PLASMA_LIBS

PLASMA_INCLUDE_DIR -> KDE4_INCLUDE_DIR or KDE4_INCLUDES, should be already
set anyway

PLASMA_FOUND -> nothing, it's always there if KDE4, version 4.2 or newer
has been found.

If you see this error message in a module within KDE/, update it from svn,
it has been fixed already.

Call Stack (most recent call first):
CMakeLists.txt:7 (find_package)


WATH CAN I DO ??? I LOVE THIS APPLET!!!

THANKS A LOT


Reply to this

-

 Re: I have this erro when do CMAKE

 
 by alno on: Jul 2 2009
 
Score 50%

Fixed in 0.3


Reply to this

-

 Fixed

 
 by alno on: Jul 2 2009
 
Score 50%

Fixed, see 0.3 version.


Reply to this

-

 Squished up onelinecalc on 4.3

 
 by ShadowKyogre on: Aug 10 2009
 
Score 50%

On KDE 4.3, the inputbox appears to be extremely squished.


Reply to this

Add commentBack






-

-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.