-
 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    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

AQI China

   1.2  

Plasmoid Script

Score 53%
AQI China
zoom


AQI China
zoom


Homepage:  Link
Downloads:  40
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  Content  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

-

 Re: Re: Re: Display number underneath icon without

 
 by librehat on: Nov 15 2014
 
Score 50%

Sorry for long-time absence. I just decided to postpone the update until plasma 5.2 is officially released.

Qt5 provides much more powerful Qt Quick 2.0 comparing to the Qt Quick 1.0 in KDE SC4. So the feature you've requested will be implemented in a brand new version. But I will only start the migration in February 2015. :-)


Reply to this

Add commentBack




-



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

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team