1 Star 0 Fork 1

Symeon Huang / AQI China

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.26 KB
一键复制 编辑 原始数据 按行查看 历史
Symeon Huang 提交于 2014-02-23 20:57 . readme tweaked.

介绍

这个小部件仅依赖于KDE桌面(Linux或BSD朋友们懂的)

KDE >= 4.10

使用纯QML开发,相关文档请移步Qt-projectKDE.org翻阅。

安装

plasmoid包安装

  1. KDE-Apps.org下载最新的plasmoid包。
  2. 首次安装在终端下运行plasmapkg -i aqi_china-<ver>.plasmoid即可。
  3. 后续升级在终端下运行plasmapkg -u aqi_china-<ver>.plasmoid即可。

Plasma百宝箱安装

直接通过Plasma Desktop的百宝箱(Get Hot New Stuff)搜索AQI China安装。

Desktop -> Add Widgets -> Get new widgets -> Download New Plasma Widgets

生成plasmoid包

终端下进入aqi_china目录运行mkplasmoid.sh即可

贡献您的代码

感谢所有提交commits的朋友,不过还请先自查代码风格是否一致,参考KDE Plasma/QMLStyle

使用JavaScript函数时请确保函数被ECMAscript标准化,例如String对象的函数应避免使用substr(),而改用slice().

鸣谢

感谢PM25.in提供免费的API和可靠的空气质量数据来源。

JavaScript
1
https://gitee.com/librehat/AQI-China.git
git@gitee.com:librehat/AQI-China.git
librehat
AQI-China
AQI China
master

搜索帮助