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.
32 lines
564 B
32 lines
564 B
6 months ago
|
#ifndef CLIMATE_H
|
||
|
#define CLIMATE_H
|
||
|
|
||
|
#include <QMainWindow>
|
||
|
#include "weather.h"
|
||
|
#include "flyme/flyme.h"
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
namespace Ui { class climate; }
|
||
|
QT_END_NAMESPACE
|
||
|
class FloatingButton;
|
||
|
class weather;
|
||
|
|
||
|
class climate : public QMainWindow
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
climate(QWidget *parent = nullptr);
|
||
|
~climate();
|
||
|
Ui::climate *ui;
|
||
|
private:
|
||
|
/*天气相关的类*/
|
||
|
weather *Weather;
|
||
|
FloatingButton *floatingbutton;
|
||
|
/*悬浮球 */
|
||
|
void onButtonPressed();
|
||
|
signals:
|
||
|
void climate_close(bool t);
|
||
|
};
|
||
|
#endif // climate_H
|