You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
544 B
26 lines
544 B
#include "climate.h"
|
|
#include "ui_climate.h"
|
|
#include <QDebug>
|
|
#include "weather.h"
|
|
|
|
climate::climate(QWidget *parent)
|
|
: QMainWindow(parent)
|
|
, ui(new Ui::climate)
|
|
{
|
|
ui->setupUi(this);
|
|
Weather = new weather(ui);
|
|
|
|
// quint16 c4[]={0x2103,0}; // Unicode温度符号
|
|
// 字体大小 30
|
|
// ui->label_2->setText("23"+QString::fromUtf16(c4));
|
|
// ui->label_3->setText("雷阵雨 23"+QString::fromUtf16(c4) + "/30"+QString::fromUtf16(c4));
|
|
Weather->http_sent();
|
|
|
|
}
|
|
|
|
climate::~climate()
|
|
{
|
|
delete ui;
|
|
}
|
|
|