Ai
1 Star 8 Fork 6

Towel Roll/基于Arm和Qt的智能车载系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
weather.h 811 Bytes
一键复制 编辑 原始数据 按行查看 历史
Towel Roll 提交于 2023-07-09 12:49 +08:00 . V02.00.00.00.02
#ifndef WEATHER_H
#define WEATHER_H
#include <QWidget>
#include <QTimer>
#include <QDateTime>
#include <QDebug>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QJsonDocument>
#include <QJsonArray>
#include <QJsonObject>
#include <QJsonValue>
#include <QJsonParseError>
namespace Ui {
class Weather;
}
#define GD_WEATHER_KEY QString("****")
#define CITY QString("440100")
class Weather : public QWidget
{
Q_OBJECT
public:
explicit Weather(QWidget *parent = nullptr);
~Weather();
private slots:
void show_time();
void readdata(QNetworkReply *);
void wea_image(QString image);
void select_image(QString type);
private:
Ui::Weather *ui;
QTimer *time;
QNetworkAccessManager *Network;
QString weather_api;
};
#endif // WEATHER_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/towel-roll/SmartCarSystem.git
git@gitee.com:towel-roll/SmartCarSystem.git
towel-roll
SmartCarSystem
基于Arm和Qt的智能车载系统
V2.0

搜索帮助