-
 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   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

WattRate

   0.2  

Plasmoid Script

Score 55%
WattRate
zoom


Minimum required   KDE 4.x
Downloads:  210
Submitted:  Jun 14 2011
Updated:  Sep 11 2011

Description:

Mostra l'Energy Rate attuale del laptop nel momento in cui si e' a batteria.

It shows energy rate's laptop when it works on battery mode.

For installation, read README file in the extracted download package.

HOW TO TRANSLATE WattRate INTO GERMA LANGUAGE:

SELECT
wattUsage = d->energyRate();

if( wattUsage > 0 && d->timeToEmpty() > 0 )
{
wattString = "Consumo attuale: " + QString::number( wattUsage , 'd' , 2 ) + "W\n" + "Carica rimanente: " + QString::number( d->percentage() , 'i', 0 ) + "%";
}
else
{
wattString = "Fonte AC in uso\nPercentuale ricarica: " + QString::number( d->percentage() , 'i' , 0 ) + "%";
}
update();

AND REPLACE WITH

wattUsage = d->energyRate();

if( wattUsage > 0 && d->timeToEmpty() > 0 )
{
wattString = \"aktueller Verbrauch: \" + QString::number( wattUsage , \'d\' , 2 ) + \"W\\n\"
+ \"Akku zu \" + QString::number( d->percentage() , \'i\', 0 ) + \"% voll\";
}
else
{
wattString = \"Akku zu \" + QString::number( d->percentage() , \'i\' , 0 ) + \"% aufgeladen,\\nam Netzteil angeschlossen\";
}

update();


19/06/2011: 0.2 version
---
0.1 version




LicenseCreative Commons by
Source(WattRate)
Donate
Send to a friend
Subscribe
Other  Apps  from souledge
Report inappropriate content



-
.

 instructions

 
 by AdaMin on: Jun 17 2011
 
Score 50%

Hi!

I would like to try the app, but i don't understand the building instructions.

cd /where/your/applet/is/installed


Reply to this

-

 Re: instructions

 
 by souledge on: Jun 17 2011
 
Score 50%

I mean the directory where you extract the package.
After this, just compile it following istructions :)

What distro do you use?


Reply to this

-

 Re: Re: instructions

 
 by AdaMin on: Jun 17 2011
 
Score 50%

Thanks!

I tried it, like you wrote, but it somehow doesn't work. I thougth, that i may misunderstood something.

I'll try it today again.

I use Gentoo.

Bye!


Reply to this

-

 Re: Re: Re: instructions

 
 by souledge on: Jun 17 2011
 
Score 50%

Try this:
- For each user: cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release ../

OR

- For your user: cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=release ../

Let me know if this will work


Reply to this

-
.

 Re: Re: Re: Re: instructions

 
 by AdaMin on: Jun 19 2011
 
Score 50%

It works fine now!

Thank you!


Reply to this

-
.

 Translation?

 
 by bitcrazy on: Jun 19 2011
 
Score 50%

Translation into english at least would be nice and the possibility to configure whether leading texts or not.
I've translated it in the source for now.
Nice plasmoid nevertheless.

monk


If men could get pregnant, abortion would be a sacrament.
Reply to this

-

 Re: Translation?

 
 by souledge on: Jun 19 2011
 
Score 50%

I could write an how-to to edit text into user's language but for adding a language choise I should add a config window...

It's easier to modify it in the source, they're two words ;)


Reply to this

-
.

 Re: Translation?

 
 by bitcrazy on: Jun 19 2011
 
Score 50%

That's right, but may you can spread the sourcw code with english texts for those not able or feared of editing the code. Config options would be fine for font size and background f.e.

m0nk


If men could get pregnant, abortion would be a sacrament.
Reply to this

-
.

 Plasma crashes

 
 by SWaN on: Sep 12 2011
 
Score 50%

It could be a really useful and nice plasmoid, if I only could run it :)
My plasma desktop crashes whenever I try to load it, and plasmoidviewer segfaults as well.
I built it with the cmake flags you suggest. KDE version is 4.7.1 on Arch Linux.

Besides, I agree with bitcrazy for the need of a more consistent way to add translations and edit config options. It could ease yours and other people's, willing to contribute, work.


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
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

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

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.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.