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.

34 lines
571 B

#ifndef TRENDS_H
#define TRENDS_H
#include <QWidget>
#include "userdata.h"
#include <QStandardItemModel>
namespace Ui {
class Trends;
}
class TrendWidget;
class Trends : public QWidget
{
Q_OBJECT
public:
explicit Trends(QWidget *parent = nullptr);
~Trends();
void SetUserInfo(UserInfo user);
void LoadTrendsData();
private slots:
void periodCombo_currentIndexChanged(int index);
private:
Ui::Trends *ui;
UserData* m_UserData;
UserInfo m_UserInfo;
QMap<QString,TrendWidget*> trendsMap;//<period,widget>
};
#endif // TRENDS_H