-
 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  .- Knowledge Base  . 

AQI China

   1.2  

Plasmoid Script

Score 53%
AQI China
zoom


AQI China
zoom


Homepage:  Link
Minimum required   KDE 4.x
Downloads:  27
Submitted:  Dec 15 2013
Updated:  Jan 16 2014

Description:

A simple plasma widget display city's air quality information in China written in QML.

Installation

I suggest you install it directly from Plasma Shell's Get New Hot Stuff tool. But you may still go the old way.

plasmapkg -i aqi_china-VER.plasmoid


For upgrade:

plasmapkg -u aqi_china-VER.plasmoid


Notice: VER is the version number.

Air information comes from http://www.PM25.in.

Information are in Chinese because the API returns Chinese data. :-)




Changelog:

For detailed commits, please visit https://git.oschina.net/librehat/AQI-China/commits/master

v1.2
* add rank tab
* improved translation

v1.1
* ui polishes & bug fixes
* allow customise font family
* details tab improved

v1.0
* first release




LicenseGPL
(plasmoid)
Send to a friend
Subscribe
Other  Artwork  from librehat
Report inappropriate content



-

 Getting errors

 
 by ludrayven on: May 15 2014
 
Score 50%

I've loaded the applet (I work in Beijing), and under the settings I tried both "Beijing" and the zip code "100085", but the result is "Error". I've attached a screenshot on your blog: http://en.librehat.com/blog/plasma-applet-about-china-air-quality/. Any ideas?


Reply to this

-
.

 Re: Getting errors

 
 by librehat on: May 15 2014
 
Score 50%

As I replied you in blog. You should try "beijing" (lowercase) or "010" (telephone area code instead of zip).

I'll work on the code someday to convert pinyin to lowercase before pass it to API. Thank you for reporting this.


Reply to this

-

 Re: Re: Getting errors

 
 by ludrayven on: May 16 2014
 
Score 50%

Works great! Nice widget =)

(Your blog didn't send me an email about your reply, so I'll just stick to this one).


Reply to this

-

 Display number underneath icon without clicking?

 
 by ludrayven on: May 16 2014
 
Score 50%

It would be nice if the AQI number (in small subscript) were displayed underneath the little "cloud" icon so the user can just "glance" at the screen to see the number rather than having to go click on it.


Reply to this

-

 Re: Display number underneath icon without clickin

 
 by librehat on: May 16 2014
 
Score 50%

it'd be possible to make it display in tooltip, which can be seen when mouse hover on it.

but I think to display it on the "cloud" icon is not easy to be done, at least not in KDE 4.x.


Reply to this

-

 Re: Re: Display number underneath icon without cli

 
 by ludrayven on: May 17 2014
 
Score 50%

OK, then how about an option to replace the cloud with the actual number altogether? A little checkbox or something in the preferences?


Reply to this

-

 Re: Re: Re: Display number underneath icon without

 
 by librehat on: May 17 2014
 
Score 50%

I'll look into this after my graduation next month. :-)


Reply to this

Add commentBack






-

-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

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.