Code Monkey home page Code Monkey logo

lookthesky's Introduction

LookTheSky

概览

LookTheSky 是一个基于QT 14.0 开发的天气查询应用,使用 sojson 免费天气 API 接口进行天气数据的获取,该应用能查询全国各个省市的天气情况和7天内的基本天气。

  • 打开应用直接查询天气

  • 可以根据下拉框选择对应的省市

  • 可以显示当天的天气信息与 7 天内的基本天气信息

  • 本应用可以记录用户上次查询的城市,并在下次开启应用时直接查询上次保存的城市

使用方法

点击省份下拉框选择省份

点击城市下拉框选择省份对于的城市

点击查询按钮进行天气信息的获取并显示到应用上

左上角第一个按钮为关闭应用按钮

点击按钮关闭应用

左上角第二按钮为最小化按钮

点击按钮将应用最小化到系统菜单栏

其它

关于 settings.json

在应用运行会生成一个 settings.json 的文件,用于保存最近查询的城市信息,下次启动应用时会从该文件读取相应的省市信息并进行查询

  • city 城市下拉框的序号

  • province 省份下拉框的序号

  • city_code 城市代码

关于作者

lookthesky's People

Contributors

luan-z avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.