2020-06-13 16:05:06 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-06-14 13:00:45 +00:00
|
|
|
#include "userhelper.h"
|
|
|
|
|
2020-06-13 16:05:06 +00:00
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
2020-06-14 13:10:06 +00:00
|
|
|
class AboutDialog;
|
2020-06-13 16:05:06 +00:00
|
|
|
}
|
|
|
|
|
2020-06-14 13:10:06 +00:00
|
|
|
class AboutDialog : public QDialog
|
2020-06-13 16:05:06 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2020-06-14 13:10:06 +00:00
|
|
|
explicit AboutDialog(QWidget *parent = nullptr);
|
|
|
|
~AboutDialog();
|
2020-06-13 16:05:06 +00:00
|
|
|
|
2020-06-14 13:00:45 +00:00
|
|
|
private slots:
|
|
|
|
void getUserCallback(const User &u);
|
|
|
|
|
2020-06-13 16:05:06 +00:00
|
|
|
private:
|
2020-06-14 12:44:32 +00:00
|
|
|
void onGotUserId(int userID);
|
|
|
|
|
|
|
|
// Class members
|
2020-06-14 13:10:06 +00:00
|
|
|
Ui::AboutDialog *ui;
|
2020-06-14 13:00:45 +00:00
|
|
|
UserHelper mUserHelper;
|
2020-06-13 16:05:06 +00:00
|
|
|
};
|
|
|
|
|