#ifndef CLIMATE_H #define CLIMATE_H #include #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